| {{ $item->name }} |
{{ $item->type }} |
{{ number_format($item->amount,2) }} |
{{ number_format($item->spent_amount,2) }} |
{{ number_format($item->remaining_amount,2) }} |
{{ $item->currency_rate }} |
{{ number_format($item->amount_in_base_currency,2) }} |
@php
$totalAmount += $item->amount;
$totalSpent += $item->spent_amount;
$totalRemaining += $item->remaining_amount;
$totalBase += $item->amount_in_base_currency;
@endphp
@endforeach
@if($items->count())
| Total {{ $category }} |
|
{{ number_format($totalAmount,2) }} |
{{ number_format($totalSpent,2) }} |
{{ number_format($totalRemaining,2) }} |
|
{{ number_format($totalBase,2) }} |
@endif