@extends('admin.layouts.app') @section('title',get_setting('site_name').' Expense Report') @section('content')
{{ __('Expense Report') }}
@if($expenses!=null)
Expense Report On {{$start}} to {{$end}}
@php $total=0; @endphp @foreach($expenses as $key => $bank) @php $total+=$bank->amount @endphp @endforeach
{{__('Date & Time')}} {{__('Description')}} {{__('Branch')}} {{__('Payment By')}} {{__('Bank Account')}} {{__('Amount')}}
{{date('F d, Y , h:i:s A',strtotime($bank->created_at))}} {{$bank->description}} @if($bank->warehouse!=null) {{$bank->warehouse->name}} @endif {{$bank->payment_method}} @if($bank->bank!=null) {{$bank->bank->name}}{{'('.$bank->bank->account_no.')'}} @endif {{$bank->amount}}
Total {{$total}}
{{__('In words: ')}}{{Inwords($total)}}{{__(' Taka Only')}}
@endif
@endsection