@extends('master.app') @section('title', 'Edit Bank Journal') @section('body') Edit Bank/Sarafi Entry Update entry Back @include('general.valert') @csrf @method('PUT') Title Deposit (Income) Withdraw (Outgoing) Choose Bank/Sarafi @foreach($bankers as $b) banker_id)==$b->id)> {{ $b->name }} @endforeach Choose Currency @foreach($currency 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 @endsection @section('pageJs') @endsection