@extends('layouts.template') @section('template')

INCOME REPORT

{!! csrf_field() !!}


@if(isset($start_date)) Print/Download as PDF @endif
@if(isset($date_to_date_incomes))
List Income
@php $total = 0; @endphp @foreach($date_to_date_incomes as $key => $data) @php $total += $data->amount; @endphp @endforeach
Sl Date Voucher Ref Head Particulars Amount
{{ ++$key }} {{ $data->date }} {{ $data->voucher_ref }} {{ $data->income_head }} {{ $data->description }} {{ $data->amount }}
TOTAL {{ number_format($total,2) }}
@endif
@endsection