@extends('layouts.main_without_top_button') @section('title') Creditors Reports @stop @section('navigation')
@stop @section('contentinner')
CREDITOR'S REPORT AS OF {{\Carbon\Carbon::parse($date)->toFormattedDateString()}} |
S/N | Name | 0 - 30 Days | 31 - 60 Days | 61 - 90 Days | 90+ Days | Total |
---|---|---|---|---|---|---|
{{++$index}} | {{$vendor->name}} | {{number_format($vendor->amount_between_0_to_30)}} | {{number_format($vendor->amount_between_31_to_60)}} | {{number_format($vendor->amount_between_61_to_90)}} | {{number_format($vendor->amount_above_90)}} | {{number_format($vendor->total_amount)}} | {{--*/ $total_amount +=$vendor->total_amount /*--}} {{--*/ $amount_between_0_to_30 +=$vendor->amount_between_0_to_30 /*--}} {{--*/ $amount_between_31_to_60 +=$vendor->amount_between_31_to_60 /*--}} {{--*/ $amount_between_61_to_90 +=$vendor->amount_between_61_to_90 /*--}} {{--*/ $amount_above_90 +=$vendor->amount_above_90 /*--}}
TOTAL | {{number_format($amount_between_0_to_30,2)}} | {{number_format($amount_between_31_to_60,2)}} | {{number_format($amount_between_61_to_90,2)}} | {{number_format($amount_above_90,2)}} | {{number_format($total_amount,2)}} |