{{ $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]) }}
|
@endif
@endif
@endif
@endforeach()
Summary |
{{ number_format($first) }} |
{{ number_format($second) }} |
{{ number_format($third) }} |
{{ number_format($fourth) }} |
{{ number_format($total) }} |