@if ($treasury->type == 1)
@php
$type = __('basic.treasury');
$icon = "fas fa-wallet";
$icon_color = "prog-color-btn";
@endphp
@else
@php
$type = __('basic.bank');
$icon = "fas fa-university";
$icon_color = "active-color-btn";
@endphp
@endif
{{ __('basic.type') }}
{{ $type }}
@php
$icon = "";
$icon_color = "main-color";
$acc_color = "active-color-btn";
@endphp
{{ __('basic.main account') }}
@if($treasury->main_account == 1)
{{
__('basic.main') }}
@else
{{ __('basic.active') }}
@endif
{{ __('basic.account') }}
{{ $treasury->code }} {{ $treasury->name }}
{{ __('basic.current balance') }}
{{ $treasury->balance }}
{{ $system_currency->code }}
@foreach ($credit_stat as $item)
@php
$total_currency_amount = $item->debit - $item->credit;
@endphp
{{ $item->currency->name }}: {{
$total_currency_amount . " " . $item->currency->code }}
@endforeach