| {{__('Previous Balance')}} |
|
|
|
@if(empty($exist_report))
{{currencySymbol()}}
@else
@if($action == 'edit')
{{currencySymbol()}}
@else
{{ currencySymbol().$starting_balance = $exist_report->prev_balance}}
@endif
@endif
|
{{--get daily sales --}}
@foreach($daily_sales as $daily_sale)
@if($daily_sale->payment > '0.00' )
| Sales: {{$daily_sale->sale->customer->name}} |
|
{{currencySymbol().$daily_sale->payment}} |
|
|
@elseif($daily_sale->comments == 'REFUND')
| Refund Sales: {{$daily_sale->sale->customer->name}} |
|
{{currencySymbol().$daily_sale->payment}} |
|
|
@endif
@endforeach
{{--get daily payments for individual customer--}}
@foreach($customer_payments as $customer_payment)
@if($customer_payment->payment > '0.00')
| Customer:{{$customer_payment->customer->name}} |
|
{{currencySymbol().number_format($customer_payment->payment)}} |
|
|
@endif
@endforeach
{{--get daily receivings--}}
@foreach($receiving_payments as $receiving_payment)
@if($receiving_payment->payment > '0.00')
|
Purchases: {{$receiving_payment->receiving->supplier->name}} |
|
{{currencySymbol().number_format($receiving_payment->payment)}} |
|
@endif
@endforeach
{{--get supplier payment--}}
@foreach($supplier_payments as $supplier_payment)
@if($supplier_payment->payment > '0.00')
|
Suppliers: {{$supplier_payment->supplier->name}} |
|
{{currencySymbol().number_format($supplier_payment->payment)}} |
|
@endif
@endforeach
{{--get daily purchases for chicks--}}
@foreach($expenses as $expense)
@if($expense->payment > '0.00')
|
{{$expense->expense_category->name . " : " .$expense->description}} |
|
{{currencySymbol().number_format($expense->payment)}} |
|
@endif
@endforeach
| {{__('Total')}} |
|
{{currencySymbol().number_format( $total_credit, 2)}} |
{{currencySymbol().number_format($total_debit, 2)}} |
{{currencySymbol().number_format($starting_balance + $total_credit - $total_debit, 2)}}
|