# | {{--Income Head | --}}Name | Income Head | Invoice Number | Date | Amount | Documents | Description | Action |
---|---|---|---|---|---|---|---|---|---|
{{ $row->id }} | {{--{{ $row->incomeHead}} | --}}{{ $row->name }} | {{ $row->head->name ?? '' }} | {{ $row->invoice_number }} | {{ $row->date }} | {{ $row->amount }} |
@if (!empty($row->attach_document))
@php
$isS3 = checkSettings('store_image_to_s3') === 'enable';
$imgUrl = $isS3
? $row->attach_document // already full URL from S3
: asset('storage/attachDocument/' . $row->attach_document); // local path
@endphp
No File @endif |
{{ $row->description }} |
@if (!in_array($row->incomeHead, [1, 2, 3, 4, 5]))
@can('income-section')
@can('income-destroy')
|