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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user