@extends('layouts.app') @section('title') Aging Report @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')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 : '' }} | @if ($statement->inventory) @if ($statement->inventory->floor) {{ $statement->inventory->floor->unitBlock ? $statement->inventory->floor->unitBlock->name : '' }} @endif @endif | {{ number_format($first_tenure[$statement->id]) }} @if ($totalAmount > 0) ({{ round(($first_tenure[$statement->id] / $totalAmount) * 100) }} %) @endif | {{ number_format($second_tenure[$statement->id]) }} @if ($totalAmount > 0) ({{ round(($second_tenure[$statement->id] / $totalAmount) * 100) }} %) @endif | {{ number_format($third_tenure[$statement->id]) }} @if ($totalAmount > 0) ({{ round($third_tenure[$statement->id] / $totalAmount) * 100 }} %) @endif | {{ number_format($fourth_tenure[$statement->id]) }} @if ($totalAmount > 0) ({{ round(($fourth_tenure[$statement->id] / $totalAmount) * 100) }} %) @endif | {{ 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) }} |