@extends('master.app') @section('title', 'Edit Debitor Journal') @section('body') Edit Debitor Entry Update entry Back @include('general.valert') @csrf @method('PUT') Title Income Fill only Income OR Outgoing. Outgoing Choose Debitor @foreach($debitors as $d) debitor_id)==$d->id)>{{ $d->name }} @endforeach Choose Currency @foreach($currencies as $c) currency_id)==$c->id)>{{ $c->title_en ?? $c->title_ps }} @endforeach Exchange Rate Date @php $cashChecked = old('cash_id'); if($cashChecked === null){ $cashChecked = (property_exists($journal,'c_target') && $journal->c_target==1) ? 1 : 0; } @endphp No Cash Target Yes (Post to Cash Journal) {{ old('details', $journal->details) }} Details Update Cancel {{-- Delete --}} @csrf @method('DELETE') Delete @endsection @section('pageJs') @endsection