@extends('layouts.app') @section('title') Aging Report @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

{{env('APP_NAME')}}

A/R Aging Report

Date: {{date('d-m-Y')}}
User ID:   {{Auth::user()->name}}
@foreach($allDueStatements as $statement) @if ( ($filter_type == 'filter' && $block > 0 && $block == $statement->inventory->floor->unitBlock->id) || $filter_type == 'all' ) @endif @endforeach()
Client Unit No. Unit Floor. Unit Block. 0 - 30 Days 31 - 60 Days 61 - 90 Days 90+ Days Total
{{$statement->customer->name }} {{$statement->inventory ? $statement->inventory->unit_number : '' }} {{$statement->inventory->floor ? $statement->inventory->floor->name : '' }} {{$statement->inventory ? $statement->inventory->floor->unitBlock->name : '' }} {{number_format($first_tenure[$statement->id])}} ({{round(($first_tenure[$statement->id] / $totalAmount ) * 100) }} %) {{number_format($second_tenure[$statement->id])}} ({{round(($second_tenure[$statement->id] / $totalAmount) * 100) }} %) {{number_format($third_tenure[$statement->id])}} ({{(round($third_tenure[$statement->id] / $totalAmount) * 100) }} %) {{number_format($fourth_tenure[$statement->id])}} ({{round(($fourth_tenure[$statement->id] / $totalAmount) * 100) }} %) {{number_format($first_tenure[$statement->id] + $second_tenure[$statement->id] + $third_tenure[$statement->id] + $fourth_tenure[$statement->id])}}
Summary {{number_format($first)}} {{number_format($second)}} {{number_format($third)}} {{number_format($fourth)}} {{number_format($total)}}
@stop @section('js') @stop