updated blade components
This commit is contained in:
		| @@ -97,7 +97,7 @@ | ||||
|                             </x-table.td> | ||||
|  | ||||
|                             <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 kind="action"> | ||||
|   | ||||
| @@ -178,7 +178,7 @@ | ||||
|                         </div> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$account->opening_balance" :currency="$account->currency_code" convert /> | ||||
|                             <x-money :amount="$account->opening_balance" :currency="$account->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack('opening_balance_input_end') | ||||
| @@ -323,7 +323,7 @@ | ||||
|                                                     </x-table.td> | ||||
|  | ||||
|                                                     <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 kind="action"> | ||||
| @@ -429,10 +429,10 @@ | ||||
|  | ||||
|                                                     <x-table.td class="w-6/12 sm:w-3/12" kind="amount"> | ||||
|                                                         <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 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-table.td> | ||||
|  | ||||
|   | ||||
| @@ -51,8 +51,8 @@ | ||||
|                             :currency="$currency" | ||||
|                         /> | ||||
|  | ||||
|                         <x-form.group.account  | ||||
|                             form-group-class="col-span-10 lg:col-span-5 xl:col-span-2 account-input"  | ||||
|                         <x-form.group.account | ||||
|                             form-group-class="col-span-10 lg:col-span-5 xl:col-span-2 account-input" | ||||
|                             selected="{{ request('account_id', setting('default.account')) }}" | ||||
|                         /> | ||||
|  | ||||
| @@ -130,7 +130,7 @@ | ||||
|  | ||||
|                                 @if ($item->isIncome()) | ||||
|                                     <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 class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> | ||||
| @@ -142,7 +142,7 @@ | ||||
|                                     </x-table.td> | ||||
|  | ||||
|                                     <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> | ||||
|                                 @endif | ||||
|  | ||||
| @@ -174,7 +174,7 @@ | ||||
|  | ||||
|                                     <td id="closing-balance" class="w-3/12 ltr:text-right rtl:text-left"> | ||||
|                                         <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> | ||||
|                                     </td> | ||||
|                                 </tr> | ||||
|   | ||||
| @@ -64,7 +64,7 @@ | ||||
|  | ||||
|                                 @if ($item->isIncome()) | ||||
|                                     <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 class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none"> | ||||
| @@ -76,7 +76,7 @@ | ||||
|                                     </x-table.td> | ||||
|  | ||||
|                                     <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> | ||||
|                                 @endif | ||||
|  | ||||
| @@ -123,7 +123,7 @@ | ||||
|  | ||||
|                                 <td id="closing-balance" class="w-3/12 text-right"> | ||||
|                                     <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> | ||||
|                                 </td> | ||||
|                             </tr> | ||||
| @@ -262,4 +262,4 @@ | ||||
|     </x-slot> | ||||
|  | ||||
|     <x-script folder="banking" file="reconciliations" /> | ||||
| </x-layouts.admin> | ||||
| </x-layouts.admin> | ||||
|   | ||||
| @@ -103,7 +103,7 @@ | ||||
|  | ||||
|                                 <x-table.td class="w-6/12 sm:w-3/12" kind="amount"> | ||||
|                                     @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 | ||||
|                                         <x-empty-data /> | ||||
|                                     @endif | ||||
|   | ||||
| @@ -121,7 +121,7 @@ | ||||
|                                             </x-table.td> | ||||
|  | ||||
|                                             <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 kind="action"> | ||||
|   | ||||
| @@ -185,7 +185,7 @@ | ||||
|                                             </x-table.td> | ||||
|  | ||||
|                                             <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 kind="action"> | ||||
|   | ||||
| @@ -136,10 +136,10 @@ | ||||
|  | ||||
|                                 <x-table.td class="w-4/12 sm:w-3/12" kind="amount"> | ||||
|                                     <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 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-table.td> | ||||
|  | ||||
|   | ||||
| @@ -86,7 +86,7 @@ | ||||
|                                 <x-table.td class="w-6/12 sm:w-4/12"> | ||||
|                                     <x-slot name="first" class="flex font-bold" override="class"> | ||||
|                                         {{ $item->name }} | ||||
|                                          | ||||
|  | ||||
|                                         @if (! $item->enabled) | ||||
|                                             <x-index.disable text="{{ trans_choice('general.items', 1) }}" /> | ||||
|                                         @endif | ||||
| @@ -117,14 +117,14 @@ | ||||
|                                 <x-table.td class="w-6/12 sm:w-3/12" kind="amount"> | ||||
|                                     <x-slot name="first"> | ||||
|                                         @if ($item->sale_price) | ||||
|                                             <x-money :amount="$item->sale_price" :currency="default_currency()" convert /> | ||||
|                                             <x-money :amount="$item->sale_price" /> | ||||
|                                         @else | ||||
|                                             <x-empty-data /> | ||||
|                                         @endif | ||||
|                                     </x-slot> | ||||
|                                     <x-slot name="second"> | ||||
|                                         @if ($item->purchase_price) | ||||
|                                             <x-money :amount="$item->purchase_price" :currency="default_currency()" convert /> | ||||
|                                             <x-money :amount="$item->purchase_price" /> | ||||
|                                         @else | ||||
|                                             <x-empty-data /> | ||||
|                                         @endif | ||||
|   | ||||
| @@ -221,7 +221,7 @@ | ||||
|                             @if (! $hideOpen) | ||||
|                             <x-slot name="first"> | ||||
|                                 @if ($item->open) | ||||
|                                     <x-money :amount="$item->open" :currency="default_currency()" convert /> | ||||
|                                     <x-money :amount="$item->open" /> | ||||
|                                 @else | ||||
|                                     <x-empty-data /> | ||||
|                                 @endif | ||||
| @@ -233,7 +233,7 @@ | ||||
|                             @if (! $hideOverdue) | ||||
|                             <x-slot name="second"> | ||||
|                                 @if ($item->overdue) | ||||
|                                     <x-money :amount="$item->overdue" :currency="default_currency()" convert /> | ||||
|                                     <x-money :amount="$item->overdue" /> | ||||
|                                 @else | ||||
|                                     <x-empty-data /> | ||||
|                                 @endif | ||||
|   | ||||
| @@ -184,7 +184,7 @@ | ||||
|                         id="transactions" | ||||
|                         name="{{ trans_choice('general.transactions', 2) }}" | ||||
|                     /> | ||||
|                      | ||||
|  | ||||
|                     @stack('transactions_nav_end') | ||||
|                 </x-slot> | ||||
|  | ||||
| @@ -261,7 +261,7 @@ | ||||
|                                             </x-table.td> | ||||
|  | ||||
|                                             <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 kind="action"> | ||||
| @@ -359,7 +359,7 @@ | ||||
|                                             </x-table.td> | ||||
|  | ||||
|                                             <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 kind="action"> | ||||
|   | ||||
| @@ -163,7 +163,7 @@ | ||||
|                 @if (! $hideAmount) | ||||
|                 <x-table.td class="{{ $classAmount }}" kind="amount"> | ||||
|                     @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') | ||||
|                 </x-table.td> | ||||
|  | ||||
|   | ||||
| @@ -62,7 +62,7 @@ | ||||
|                         </div> | ||||
|  | ||||
|                         <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> | ||||
|  | ||||
|                         <div class="w-40 font-normal text-sm truncate"> | ||||
| @@ -100,7 +100,7 @@ | ||||
|  | ||||
|                     @if ($document->paid) | ||||
|                         <span> | ||||
|                             <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$document->paid" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     @endif | ||||
|                 </div> | ||||
| @@ -111,7 +111,7 @@ | ||||
|                     </span> | ||||
|  | ||||
|                     <span> | ||||
|                         <x-money :amount="$document->amount" :currency="$document->currency_code" convert /> | ||||
|                         <x-money :amount="$document->amount" :currency="$document->currency_code" /> | ||||
|                     </span> | ||||
|                 </div> | ||||
|             </div> | ||||
|   | ||||
| @@ -97,7 +97,7 @@ | ||||
|                 </x-table.td> | ||||
|  | ||||
|                 <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 kind="action"> | ||||
|   | ||||
| @@ -236,7 +236,7 @@ | ||||
|                             </span> | ||||
|  | ||||
|                             <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> | ||||
|                         </p> | ||||
|                     @endif | ||||
| @@ -353,7 +353,7 @@ | ||||
|                         </strong> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack($total->code . '_total_tr_end') | ||||
| @@ -366,7 +366,7 @@ | ||||
|                             </span> | ||||
|  | ||||
|                             <span> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" /> | ||||
|                             </span> | ||||
|                         </div> | ||||
|                         @stack('paid_total_tr_end') | ||||
| @@ -379,7 +379,7 @@ | ||||
|                         </span> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$document->amount_due" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack('grand_total_tr_end') | ||||
|   | ||||
| @@ -324,7 +324,7 @@ | ||||
|                         </span> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack($total->code . '_total_tr_end') | ||||
| @@ -337,7 +337,7 @@ | ||||
|                             </span> | ||||
|  | ||||
|                             <span> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" /> | ||||
|                             </span> | ||||
|                         </div> | ||||
|                         @stack('paid_total_tr_end') | ||||
| @@ -350,7 +350,7 @@ | ||||
|                         </span> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$document->amount_due" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack('grand_total_tr_end') | ||||
|   | ||||
| @@ -31,7 +31,7 @@ | ||||
|     @stack('price_td_start') | ||||
|         @if (! $hidePrice) | ||||
|             <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> | ||||
|         @endif | ||||
|     @stack('price_td_end') | ||||
| @@ -59,7 +59,7 @@ | ||||
|                     </td> | ||||
|                 @else | ||||
|                     <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> | ||||
|                 @endif | ||||
|             @stack('discount_td_end') | ||||
| @@ -69,7 +69,7 @@ | ||||
|     @stack('total_td_start') | ||||
|         @if (! $hideAmount) | ||||
|             <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> | ||||
|         @endif | ||||
|     @stack('total_td_end') | ||||
|   | ||||
| @@ -321,7 +321,7 @@ | ||||
|                         </span> | ||||
|  | ||||
|                         <span> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" convert /> | ||||
|                             <x-money :amount="$total->amount" :currency="$document->currency_code" /> | ||||
|                         </span> | ||||
|                     </div> | ||||
|                     @stack($total->code . '_total_tr_end') | ||||
| @@ -334,7 +334,7 @@ | ||||
|                             </span> | ||||
|  | ||||
|                             <span> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" convert /> | ||||
|                                 - <x-money :amount="$document->paid" :currency="$document->currency_code" /> | ||||
|                             </span> | ||||
|                         </div> | ||||
|                         @stack('paid_total_tr_end') | ||||
| @@ -347,7 +347,7 @@ | ||||
|                             </span> | ||||
|  | ||||
|                             <span> | ||||
|                                 <x-money :amount="$document->amount_due" :currency="$document->currency_code" convert /> | ||||
|                                 <x-money :amount="$document->amount_due" :currency="$document->currency_code" /> | ||||
|                             </span> | ||||
|                         </div> | ||||
|                     @stack('grand_total_tr_end') | ||||
|   | ||||
| @@ -354,12 +354,12 @@ | ||||
|  | ||||
|                         <td class="price text-alignment-right text-right" style="color:#424242; font-size:12px; padding-right:0;"> | ||||
|                             @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 | ||||
|  | ||||
|                             @if (! $hideRelatedAmount) | ||||
|                                 <span style="color: #6E6E6E"> | ||||
|                                     <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" convert /> | ||||
|                                     <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" /> | ||||
|                                 </span> | ||||
|                             @endif | ||||
|                         </td> | ||||
| @@ -379,7 +379,7 @@ | ||||
|                                 <span class="ml-2 font-semibold"> | ||||
|                                     {{ trans($textAmount) }} | ||||
|                                 </span> | ||||
|                                 <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" convert /> | ||||
|                                 <x-money :amount="$transaction->amount" :currency="$transaction->currency_code" /> | ||||
|                             </td> | ||||
|                         </tr> | ||||
|                     </table> | ||||
|   | ||||
| @@ -253,7 +253,7 @@ | ||||
|     </table> | ||||
|     @stack('details_end') | ||||
|  | ||||
|      | ||||
|  | ||||
|     <table style="text-align: right; margin-top:55px;"> | ||||
|         <tr> | ||||
|             <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') }} | ||||
|                             </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> | ||||
|                     </tr> | ||||
|                 </table> | ||||
|   | ||||
| @@ -259,7 +259,7 @@ | ||||
|                                 {{ trans('general.amount') }} | ||||
|                             </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> | ||||
|                     </tr> | ||||
|                 </table> | ||||
|   | ||||
| @@ -273,7 +273,7 @@ | ||||
|                                 {{ trans('general.amount') }} | ||||
|                             </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> | ||||
|                     </tr> | ||||
|                 </table> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|         </span> | ||||
|  | ||||
|         <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> | ||||
|     @else | ||||
|         <span class="text-xs"> | ||||
|   | ||||
| @@ -10,9 +10,9 @@ | ||||
|  | ||||
|         <div class="flex flex-col items-start my-3"> | ||||
|             <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> | ||||
|      | ||||
|  | ||||
|             <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') }} | ||||
|             </x-link> | ||||
|   | ||||
| @@ -137,7 +137,7 @@ | ||||
|                                 <x-table.td class="w-6/12 sm:w-2/12" kind="amount"> | ||||
|                                     @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') | ||||
|                                 </x-table.td> | ||||
|   | ||||
| @@ -49,7 +49,7 @@ | ||||
|                                 </x-table.td> | ||||
|  | ||||
|                                 <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.tr> | ||||
|                         @endforeach | ||||
|   | ||||
| @@ -8,12 +8,12 @@ | ||||
|  | ||||
|                 @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"> | ||||
|                     <x-money :amount="$profit" :currency="default_currency()" convert /> | ||||
|                     <x-money :amount="$profit" /> | ||||
|                 </td> | ||||
|                 @endforeach | ||||
|  | ||||
|                 <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> | ||||
|             </tr> | ||||
|         </tbody> | ||||
|   | ||||
| @@ -8,12 +8,12 @@ | ||||
|  | ||||
|         @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"> | ||||
|             <x-money :amount="$total" :currency="default_currency()" convert /> | ||||
|             <x-money :amount="$total" /> | ||||
|         </td> | ||||
|         @endforeach | ||||
|  | ||||
|         <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> | ||||
|     </tr> | ||||
| </tfoot> | ||||
|   | ||||
| @@ -8,12 +8,12 @@ | ||||
|  | ||||
|         @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"> | ||||
|             <x-money :amount="$total" :currency="default_currency()" convert /> | ||||
|             <x-money :amount="$total" /> | ||||
|         </td> | ||||
|         @endforeach | ||||
|  | ||||
|         <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> | ||||
|     </tr> | ||||
| </tfoot> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user