updated blade components

This commit is contained in:
Denis Duliçi 2023-07-11 12:17:01 +03:00
parent bfb37c62c6
commit 49a04cd854
29 changed files with 63 additions and 63 deletions

View File

@ -97,7 +97,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 sm:w-3/12" kind="amount"> <x-table.td class="w-6/12 sm:w-3/12" kind="amount">
<x-money :amount="$item->balance" :currency="$item->currency_code" convert /> <x-money :amount="$item->balance" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">

View File

@ -178,7 +178,7 @@
</div> </div>
<span> <span>
<x-money :amount="$account->opening_balance" :currency="$account->currency_code" convert /> <x-money :amount="$account->opening_balance" :currency="$account->currency_code" />
</span> </span>
</div> </div>
@stack('opening_balance_input_end') @stack('opening_balance_input_end')
@ -323,7 +323,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 lg:w-3/12" kind="amount"> <x-table.td class="w-6/12 lg:w-3/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">
@ -429,10 +429,10 @@
<x-table.td class="w-6/12 sm:w-3/12" kind="amount"> <x-table.td class="w-6/12 sm:w-3/12" kind="amount">
<x-slot name="first"> <x-slot name="first">
<x-money :amount="$item->expense_transaction->amount" :currency="$item->expense_transaction->currency_code" convert /> <x-money :amount="$item->expense_transaction->amount" :currency="$item->expense_transaction->currency_code" />
</x-slot> </x-slot>
<x-slot name="second"> <x-slot name="second">
<x-money :amount="$item->income_transaction->amount" :currency="$item->income_transaction->currency_code" convert /> <x-money :amount="$item->income_transaction->amount" :currency="$item->income_transaction->currency_code" />
</x-slot> </x-slot>
</x-table.td> </x-table.td>

View File

@ -51,8 +51,8 @@
:currency="$currency" :currency="$currency"
/> />
<x-form.group.account <x-form.group.account
form-group-class="col-span-10 lg:col-span-5 xl:col-span-2 account-input" form-group-class="col-span-10 lg:col-span-5 xl:col-span-2 account-input"
selected="{{ request('account_id', setting('default.account')) }}" selected="{{ request('account_id', setting('default.account')) }}"
/> />
@ -130,7 +130,7 @@
@if ($item->isIncome()) @if ($item->isIncome())
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
@ -142,7 +142,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
@endif @endif
@ -174,7 +174,7 @@
<td id="closing-balance" class="w-3/12 ltr:text-right rtl:text-left"> <td id="closing-balance" class="w-3/12 ltr:text-right rtl:text-left">
<span class="w-auto pl-6 text-sm"> <span class="w-auto pl-6 text-sm">
<x-money :amount="$opening_balance" :currency="$account->currency_code" convert /> <x-money :amount="$opening_balance" :currency="$account->currency_code" />
</span> </span>
</td> </td>
</tr> </tr>

View File

@ -64,7 +64,7 @@
@if ($item->isIncome()) @if ($item->isIncome())
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" hidden-mobile :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" hidden-mobile :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
@ -76,7 +76,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> <x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
@endif @endif
@ -123,7 +123,7 @@
<td id="closing-balance" class="w-3/12 text-right"> <td id="closing-balance" class="w-3/12 text-right">
<span class="w-auto pl-6 text-sm"> <span class="w-auto pl-6 text-sm">
<x-money :amount="$opening_balance" :currency="$account->currency_code" convert /> <x-money :amount="$opening_balance" :currency="$account->currency_code" />
</span> </span>
</td> </td>
</tr> </tr>
@ -262,4 +262,4 @@
</x-slot> </x-slot>
<x-script folder="banking" file="reconciliations" /> <x-script folder="banking" file="reconciliations" />
</x-layouts.admin> </x-layouts.admin>

View File

@ -103,7 +103,7 @@
<x-table.td class="w-6/12 sm:w-3/12" kind="amount"> <x-table.td class="w-6/12 sm:w-3/12" kind="amount">
@if ($item->closing_balance) @if ($item->closing_balance)
<x-money :amount="$item->closing_balance" :currency="$item->account->currency_code" convert /> <x-money :amount="$item->closing_balance" :currency="$item->account->currency_code" />
@else @else
<x-empty-data /> <x-empty-data />
@endif @endif

View File

@ -121,7 +121,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-4/12 sm:w-2/12" kind="amount"> <x-table.td class="w-4/12 sm:w-2/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">

View File

@ -185,7 +185,7 @@
</x-table.td> </x-table.td>
<x-table.td class="relative w-4/12 sm:w-2/12" kind="amount"> <x-table.td class="relative w-4/12 sm:w-2/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">

View File

@ -136,10 +136,10 @@
<x-table.td class="w-4/12 sm:w-3/12" kind="amount"> <x-table.td class="w-4/12 sm:w-3/12" kind="amount">
<x-slot name="first"> <x-slot name="first">
<x-money :amount="$item->expense_transaction->amount" :currency="$item->expense_transaction->currency_code" convert /> <x-money :amount="$item->expense_transaction->amount" :currency="$item->expense_transaction->currency_code" />
</x-slot> </x-slot>
<x-slot name="second"> <x-slot name="second">
<x-money :amount="$item->income_transaction->amount" :currency="$item->income_transaction->currency_code" convert /> <x-money :amount="$item->income_transaction->amount" :currency="$item->income_transaction->currency_code" />
</x-slot> </x-slot>
</x-table.td> </x-table.td>

View File

@ -86,7 +86,7 @@
<x-table.td class="w-6/12 sm:w-4/12"> <x-table.td class="w-6/12 sm:w-4/12">
<x-slot name="first" class="flex font-bold" override="class"> <x-slot name="first" class="flex font-bold" override="class">
{{ $item->name }} {{ $item->name }}
@if (! $item->enabled) @if (! $item->enabled)
<x-index.disable text="{{ trans_choice('general.items', 1) }}" /> <x-index.disable text="{{ trans_choice('general.items', 1) }}" />
@endif @endif
@ -117,14 +117,14 @@
<x-table.td class="w-6/12 sm:w-3/12" kind="amount"> <x-table.td class="w-6/12 sm:w-3/12" kind="amount">
<x-slot name="first"> <x-slot name="first">
@if ($item->sale_price) @if ($item->sale_price)
<x-money :amount="$item->sale_price" :currency="default_currency()" convert /> <x-money :amount="$item->sale_price" />
@else @else
<x-empty-data /> <x-empty-data />
@endif @endif
</x-slot> </x-slot>
<x-slot name="second"> <x-slot name="second">
@if ($item->purchase_price) @if ($item->purchase_price)
<x-money :amount="$item->purchase_price" :currency="default_currency()" convert /> <x-money :amount="$item->purchase_price" />
@else @else
<x-empty-data /> <x-empty-data />
@endif @endif

View File

@ -221,7 +221,7 @@
@if (! $hideOpen) @if (! $hideOpen)
<x-slot name="first"> <x-slot name="first">
@if ($item->open) @if ($item->open)
<x-money :amount="$item->open" :currency="default_currency()" convert /> <x-money :amount="$item->open" />
@else @else
<x-empty-data /> <x-empty-data />
@endif @endif
@ -233,7 +233,7 @@
@if (! $hideOverdue) @if (! $hideOverdue)
<x-slot name="second"> <x-slot name="second">
@if ($item->overdue) @if ($item->overdue)
<x-money :amount="$item->overdue" :currency="default_currency()" convert /> <x-money :amount="$item->overdue" />
@else @else
<x-empty-data /> <x-empty-data />
@endif @endif

View File

@ -184,7 +184,7 @@
id="transactions" id="transactions"
name="{{ trans_choice('general.transactions', 2) }}" name="{{ trans_choice('general.transactions', 2) }}"
/> />
@stack('transactions_nav_end') @stack('transactions_nav_end')
</x-slot> </x-slot>
@ -261,7 +261,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-4/12 lg:w-3/12" kind="amount"> <x-table.td class="w-4/12 lg:w-3/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">
@ -359,7 +359,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-4/12 lg:w-3/12" kind="amount"> <x-table.td class="w-4/12 lg:w-3/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">

View File

@ -163,7 +163,7 @@
@if (! $hideAmount) @if (! $hideAmount)
<x-table.td class="{{ $classAmount }}" kind="amount"> <x-table.td class="{{ $classAmount }}" kind="amount">
@stack('amount_td_inside_start') @stack('amount_td_inside_start')
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
@stack('amount_td_inside_end') @stack('amount_td_inside_end')
</x-table.td> </x-table.td>

View File

@ -62,7 +62,7 @@
</div> </div>
<span class="font-normal"> <span class="font-normal">
<x-money :amount="$document_item->price" :currency="$document->currency_code" convert /> <x-money :amount="$document_item->price" :currency="$document->currency_code" />
</span> </span>
<div class="w-40 font-normal text-sm truncate"> <div class="w-40 font-normal text-sm truncate">
@ -100,7 +100,7 @@
@if ($document->paid) @if ($document->paid)
<span> <span>
<x-money :amount="$document->paid" :currency="$document->currency_code" convert /> <x-money :amount="$document->paid" :currency="$document->currency_code" />
</span> </span>
@endif @endif
</div> </div>
@ -111,7 +111,7 @@
</span> </span>
<span> <span>
<x-money :amount="$document->amount" :currency="$document->currency_code" convert /> <x-money :amount="$document->amount" :currency="$document->currency_code" />
</span> </span>
</div> </div>
</div> </div>

View File

@ -97,7 +97,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-4/12 sm:w-2/12" kind="amount"> <x-table.td class="w-4/12 sm:w-2/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
<x-table.td kind="action"> <x-table.td kind="action">

View File

@ -236,7 +236,7 @@
</span> </span>
<span class="float-right spacing"> <span class="float-right spacing">
<x-money :amount="$total->amount - $document->paid" :currency="$document->currency_code" convert /> <x-money :amount="$total->amount - $document->paid" :currency="$document->currency_code" />
</span> </span>
</p> </p>
@endif @endif
@ -353,7 +353,7 @@
</strong> </strong>
<span> <span>
<x-money :amount="$total->amount" :currency="$document->currency_code" convert /> <x-money :amount="$total->amount" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack($total->code . '_total_tr_end') @stack($total->code . '_total_tr_end')
@ -366,7 +366,7 @@
</span> </span>
<span> <span>
- <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> - <x-money :amount="$document->paid" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('paid_total_tr_end') @stack('paid_total_tr_end')
@ -379,7 +379,7 @@
</span> </span>
<span> <span>
<x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> <x-money :amount="$document->amount_due" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('grand_total_tr_end') @stack('grand_total_tr_end')

View File

@ -324,7 +324,7 @@
</span> </span>
<span> <span>
<x-money :amount="$total->amount" :currency="$document->currency_code" convert /> <x-money :amount="$total->amount" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack($total->code . '_total_tr_end') @stack($total->code . '_total_tr_end')
@ -337,7 +337,7 @@
</span> </span>
<span> <span>
- <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> - <x-money :amount="$document->paid" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('paid_total_tr_end') @stack('paid_total_tr_end')
@ -350,7 +350,7 @@
</span> </span>
<span> <span>
<x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> <x-money :amount="$document->amount_due" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('grand_total_tr_end') @stack('grand_total_tr_end')

View File

@ -31,7 +31,7 @@
@stack('price_td_start') @stack('price_td_start')
@if (! $hidePrice) @if (! $hidePrice)
<td class="price text text-alignment-right text-right"> <td class="price text text-alignment-right text-right">
<x-money :amount="$item->price" :currency="$document->currency_code" convert /> <x-money :amount="$item->price" :currency="$document->currency_code" />
</td> </td>
@endif @endif
@stack('price_td_end') @stack('price_td_end')
@ -59,7 +59,7 @@
</td> </td>
@else @else
<td class="discount text text-alignment-right text-right"> <td class="discount text text-alignment-right text-right">
<x-money :amount="$item->discount" :currency="$document->currency_code" convert /> <x-money :amount="$item->discount" :currency="$document->currency_code" />
</td> </td>
@endif @endif
@stack('discount_td_end') @stack('discount_td_end')
@ -69,7 +69,7 @@
@stack('total_td_start') @stack('total_td_start')
@if (! $hideAmount) @if (! $hideAmount)
<td class="total text text-alignment-right text-right"> <td class="total text text-alignment-right text-right">
<x-money :amount="$item->total" :currency="$document->currency_code" convert /> <x-money :amount="$item->total" :currency="$document->currency_code" />
</td> </td>
@endif @endif
@stack('total_td_end') @stack('total_td_end')

View File

@ -321,7 +321,7 @@
</span> </span>
<span> <span>
<x-money :amount="$total->amount" :currency="$document->currency_code" convert /> <x-money :amount="$total->amount" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack($total->code . '_total_tr_end') @stack($total->code . '_total_tr_end')
@ -334,7 +334,7 @@
</span> </span>
<span> <span>
- <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> - <x-money :amount="$document->paid" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('paid_total_tr_end') @stack('paid_total_tr_end')
@ -347,7 +347,7 @@
</span> </span>
<span> <span>
<x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> <x-money :amount="$document->amount_due" :currency="$document->currency_code" />
</span> </span>
</div> </div>
@stack('grand_total_tr_end') @stack('grand_total_tr_end')

View File

@ -354,12 +354,12 @@
<td class="price text-alignment-right text-right" style="color:#424242; font-size:12px; padding-right:0;"> <td class="price text-alignment-right text-right" style="color:#424242; font-size:12px; padding-right:0;">
@if (! $hideRelatedDocumentAmount) @if (! $hideRelatedDocumentAmount)
<x-money :amount="$transaction->document->amount" :currency="$transaction->document->currency_code" convert /> <br /> <x-money :amount="$transaction->document->amount" :currency="$transaction->document->currency_code" /> <br />
@endif @endif
@if (! $hideRelatedAmount) @if (! $hideRelatedAmount)
<span style="color: #6E6E6E"> <span style="color: #6E6E6E">
<x-money :amount="$transaction->amount" :currency="$transaction->currency_code" convert /> <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" />
</span> </span>
@endif @endif
</td> </td>
@ -379,7 +379,7 @@
<span class="ml-2 font-semibold"> <span class="ml-2 font-semibold">
{{ trans($textAmount) }} {{ trans($textAmount) }}
</span> </span>
<x-money :amount="$transaction->amount" :currency="$transaction->currency_code" convert /> <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -253,7 +253,7 @@
</table> </table>
@stack('details_end') @stack('details_end')
<table style="text-align: right; margin-top:55px;"> <table style="text-align: right; margin-top:55px;">
<tr> <tr>
<td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;"> <td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;">
@ -264,7 +264,7 @@
{{ trans('general.amount') }} {{ trans('general.amount') }}
</span> </span>
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert /> <x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -259,7 +259,7 @@
{{ trans('general.amount') }} {{ trans('general.amount') }}
</span> </span>
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert /> <x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -273,7 +273,7 @@
{{ trans('general.amount') }} {{ trans('general.amount') }}
</span> </span>
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert /> <x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -9,7 +9,7 @@
</span> </span>
<span class="text-xl text-black my-3"> <span class="text-xl text-black my-3">
<x-money :amount="$payment->amount" :currency="$payment->currency_code" convert /> <x-money :amount="$payment->amount" :currency="$payment->currency_code" />
</span> </span>
@else @else
<span class="text-xs"> <span class="text-xs">

View File

@ -10,9 +10,9 @@
<div class="flex flex-col items-start my-3"> <div class="flex flex-col items-start my-3">
<span class="text-xl text-black"> <span class="text-xl text-black">
<x-money :amount="$contact->overdue" :currency="$contact->currency_code" convert /> <x-money :amount="$contact->overdue" :currency="$contact->currency_code" />
</span> </span>
<x-link href="{{ route('portal.invoices.index') }}" class="px-2 py-1 my-3 rounded-lg text-xs leading-6 bg-green text-white hover:bg-green-700 disabled:bg-green-100" override="class"> <x-link href="{{ route('portal.invoices.index') }}" class="px-2 py-1 my-3 rounded-lg text-xs leading-6 bg-green text-white hover:bg-green-700 disabled:bg-green-100" override="class">
{{ trans('bills.make_payment') }} {{ trans('bills.make_payment') }}
</x-link> </x-link>

View File

@ -137,7 +137,7 @@
<x-table.td class="w-6/12 sm:w-2/12" kind="amount"> <x-table.td class="w-6/12 sm:w-2/12" kind="amount">
@stack('amount_td_inside_start') @stack('amount_td_inside_start')
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
@stack('amount_td_inside_end') @stack('amount_td_inside_end')
</x-table.td> </x-table.td>

View File

@ -49,7 +49,7 @@
</x-table.td> </x-table.td>
<x-table.td class="w-3/12" kind="amount"> <x-table.td class="w-3/12" kind="amount">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert /> <x-money :amount="$item->amount" :currency="$item->currency_code" />
</x-table.td> </x-table.td>
</x-table.tr> </x-table.tr>
@endforeach @endforeach

View File

@ -8,12 +8,12 @@
@foreach($class->net_profit as $profit) @foreach($class->net_profit as $profit)
<td class="{{ $class->column_value_width }} ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_value_width }} ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="$profit" :currency="default_currency()" convert /> <x-money :amount="$profit" />
</td> </td>
@endforeach @endforeach
<td class="{{ $class->column_name_width }} ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_name_width }} ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="array_sum($class->net_profit)" :currency="default_currency()" convert /> <x-money :amount="array_sum($class->net_profit)" />
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -8,12 +8,12 @@
@foreach($class->footer_totals[$table_key] as $total) @foreach($class->footer_totals[$table_key] as $total)
<td class="{{ $class->column_value_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_value_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="$total" :currency="default_currency()" convert /> <x-money :amount="$total" />
</td> </td>
@endforeach @endforeach
<td class="{{ $class->column_name_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_name_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="$grand_total" :currency="default_currency()" convert /> <x-money :amount="$grand_total" />
</td> </td>
</tr> </tr>
</tfoot> </tfoot>

View File

@ -8,12 +8,12 @@
@foreach($class->footer_totals[$table_key] as $total) @foreach($class->footer_totals[$table_key] as $total)
<td class="{{ $class->column_value_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_value_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="$total" :currency="default_currency()" convert /> <x-money :amount="$total" />
</td> </td>
@endforeach @endforeach
<td class="{{ $class->column_name_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment"> <td class="{{ $class->column_name_width }} py-4 ltr:text-right rtl:text-left text-black-400 font-medium text-xs print-alignment">
<x-money :amount="$grand_total" :currency="default_currency()" convert /> <x-money :amount="$grand_total" />
</td> </td>
</tr> </tr>
</tfoot> </tfoot>