@extends('master.app') @section('title', 'Edit Investor Journal') @section('body') Edit Investor Entry Update entry Back @include('general.valert') @csrf @method('PUT') Title Income Fill only Income OR Outgoing. Outgoing Choose Investor @foreach ($investors as $i) investor_id) == $i->id)>{{ $i->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($data, 'c_target') && $data->c_target == 1 ? 1 : 0; } @endphp No Cash Target Yes (Post to Cash Journal) {{ old('details', $data->details) }} Details Update Cancel @csrf @method('DELETE') Delete @endsection @section('pageJs') @endsection