@extends('layout.app') @section('css') @endsection @section('content')
{{-- --}} @foreach ($incomes as $row) {{-- --}} @endforeach
#Income HeadName 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)) {{-- --}} @else

No File

@endif
{{ $row->description }} @if (!in_array($row->incomeHead, [1, 2, 3, 4, 5])) @can('income-section') @can('income-destroy')
@csrf @method('DELETE')
@endcan @endcan @endif
@endsection @section('js') @endsection @push('script') @endpush