@extends('layout.app') @section('content') Edit Income See List {{-- 'model'=> $model --}} @method('put') @csrf Name* Income Head* Select One @foreach ($incomeHead as $item) {{ $item->name }} @endforeach Invoice Number* Date* Amount* @if (checkSettings('bank_account_deposit_from_payment') == 'enable') Bank Account (Optional) Select Bank Account (Leave empty for Cash) @if(isset($bankAccounts) && $bankAccounts->count() > 0) @foreach ($bankAccounts as $bankAccount) bank_account_id == $bankAccount->id ? 'selected' : '' }}>{{ $bankAccount->account_name }} -- {{ $bankAccount->bank_name }} @endforeach @endif If selected, income will be deposited to this bank account. @endif Upload Documents @if ($model->attach_document != null) @if (!empty($model->attach_document)) @php $isS3 = checkSettings('store_image_to_s3') === 'enable'; $imgUrl = $isS3 ? $model->attach_document // already full URL from S3 : asset('storage/attachDocument/' . $model->attach_document); // local path @endphp @else No File @endif @else @endif Description* {{ $model->description }} Update @endsection @push('script-bottom') @endpush
No File