diff --git a/resources/views/components/documents/template/classic.blade.php b/resources/views/components/documents/template/classic.blade.php index af012dcea..ff7973b73 100644 --- a/resources/views/components/documents/template/classic.blade.php +++ b/resources/views/components/documents/template/classic.blade.php @@ -221,7 +221,7 @@ - @money($total->amount - $document->paid, $document->currency_code, true) +

@endif @@ -338,7 +338,7 @@ - @money($total->amount, $document->currency_code, true) + @stack($total->code . '_total_tr_end') @@ -351,7 +351,7 @@ - - @money($document->paid, $document->currency_code, true) + - @stack('paid_total_tr_end') @@ -364,7 +364,7 @@ - @money($document->amount_due, $document->currency_code, true) + @stack('grand_total_tr_end') diff --git a/resources/views/components/documents/template/default.blade.php b/resources/views/components/documents/template/default.blade.php index 705645817..df97780ed 100644 --- a/resources/views/components/documents/template/default.blade.php +++ b/resources/views/components/documents/template/default.blade.php @@ -307,7 +307,7 @@ - @money($total->amount, $document->currency_code, true) + @stack($total->code . '_total_tr_end') @@ -320,7 +320,7 @@ - - @money($document->paid, $document->currency_code, true) + - @stack('paid_total_tr_end') @@ -333,7 +333,7 @@ - @money($document->amount_due, $document->currency_code, true) + @stack('grand_total_tr_end') diff --git a/resources/views/components/documents/template/line-item.blade.php b/resources/views/components/documents/template/line-item.blade.php index b42074c42..8c2f9e1e8 100644 --- a/resources/views/components/documents/template/line-item.blade.php +++ b/resources/views/components/documents/template/line-item.blade.php @@ -22,13 +22,17 @@ @stack('quantity_td_start') @if (! $hideQuantity) - {{ $item->quantity }} + + {{ $item->quantity }} + @endif @stack('quantity_td_end') @stack('price_td_start') @if (! $hidePrice) - @money($item->price, $document->currency_code, true) + + + @endif @stack('price_td_end') @@ -54,7 +58,9 @@ {{ $text_discount }} @else - @money($item->discount, $document->currency_code, true) + + + @endif @stack('discount_td_end') @endif @@ -62,7 +68,9 @@ @stack('total_td_start') @if (! $hideAmount) - @money($item->total, $document->currency_code, true) + + + @endif @stack('total_td_end') diff --git a/resources/views/components/documents/template/modern.blade.php b/resources/views/components/documents/template/modern.blade.php index 7345a4fe2..304a0f668 100644 --- a/resources/views/components/documents/template/modern.blade.php +++ b/resources/views/components/documents/template/modern.blade.php @@ -308,7 +308,7 @@ - @money($total->amount, $document->currency_code, true) + @stack($total->code . '_total_tr_end') @@ -321,7 +321,7 @@ - - @money($document->paid, $document->currency_code, true) + - @stack('paid_total_tr_end') @@ -334,7 +334,7 @@ - @money($document->amount_due, $document->currency_code, true) + @stack('grand_total_tr_end') diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index 5fb7659fb..8017c885f 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -347,12 +347,12 @@ @if (! $hideRelatedDocumentAmount) - @money($transaction->document->amount, $transaction->document->currency_code, true)
+
@endif @if (! $hideRelatedAmount) - @money($transaction->amount, $transaction->currency_code, true) + @endif @@ -369,8 +369,10 @@
- {{ trans($textAmount) }} - @money($transaction->amount, $transaction->currency_code, true) + + {{ trans($textAmount) }} + +