{{--

Income Statement {{ $basis_type }} Summary

--}} {{--

Income Statement

--}}

{{$company_name}}

@foreach($filter_data as $filter) @endforeach
Date Range: {{date('M d, Y', strtotime($from))}} - {{date('M d, Y', strtotime($to))}}
Report Type: {{$basis_type}}
{{$filter['label']}} : {{$filter['value']}}
{{$subtitle_name}}
{{--
--}} @php $tables = []; @endphp @if ($data['with_breakdown'] == 1) @php $tables = $data['data']; @endphp @else @php $tables = [ [ 'name' => null, 'data' => $data['data'], 'total' => $data['total'] ] ]; @endphp @endif @foreach ($tables as $table) @if ($table['name'])

{{$table['name']}}

@endif @forelse ($table['data'] as $item) @if ($item['type'] == 'return') @else @endif @empty @endforelse
Payment Date Order Number Payment Method Amount
{{ date('m/d/Y', strtotime($item['payment_date'])) }} {{ $item['order_no'] }} {{ $item['payment_method'] }} ${{ number_format($item['amount'],2) }}
No Data
Total ${{number_format($table['total'],2)}}
@endforeach