diff --git a/resources/views/portal/invoices/show.blade.php b/resources/views/portal/invoices/show.blade.php
index caac50192..45b7ec490 100644
--- a/resources/views/portal/invoices/show.blade.php
+++ b/resources/views/portal/invoices/show.blade.php
@@ -180,22 +180,27 @@
{{ trans('invoices.total') }} |
@stack('total_th_end')
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
@stack('name_td_start')
- {{ $item->name }} |
+
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
+ @endif
+ |
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $invoice_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $invoice->currency_code, true) |
+ @money($invoice_item->price, $invoice->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/portal/invoices/signed.blade.php b/resources/views/portal/invoices/signed.blade.php
index d6ba1abae..af1164640 100644
--- a/resources/views/portal/invoices/signed.blade.php
+++ b/resources/views/portal/invoices/signed.blade.php
@@ -150,12 +150,17 @@
{{ trans('invoices.price') }} |
{{ trans('invoices.total') }} |
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
- {{ $item->name }} |
- {{ $item->quantity }} |
- @money($item->price, $invoice->currency_code, true) |
- @money($item->total, $invoice->currency_code, true) |
+
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
+ @endif
+ |
+ {{ $invoice_item->quantity }} |
+ @money($invoice_item->price, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@endforeach
diff --git a/resources/views/purchases/bills/print.blade.php b/resources/views/purchases/bills/print.blade.php
index 41ad8271d..f59269197 100644
--- a/resources/views/purchases/bills/print.blade.php
+++ b/resources/views/purchases/bills/print.blade.php
@@ -178,22 +178,27 @@
- @foreach($bill->items as $item)
+ @foreach($bill->items as $bill_item)
@stack('name_td_start')
- {{ $item->name }} |
+
+ {{ $bill_item->name }}
+ @if (!empty($bill_item->item->description))
+ {!! \Illuminate\Support\Str::limit($bill_item->item->description, 500) !!}
+ @endif
+ |
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $bill_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $bill->currency_code, true) |
+ @money($bill_item->price, $bill->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $bill->currency_code, true) |
+ @money($bill_item->total, $bill->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/purchases/bills/show.blade.php b/resources/views/purchases/bills/show.blade.php
index d49b7fc71..7fc7f921b 100644
--- a/resources/views/purchases/bills/show.blade.php
+++ b/resources/views/purchases/bills/show.blade.php
@@ -327,22 +327,27 @@
{{ trans('bills.total') }} |
@stack('total_th_end')
- @foreach($bill->items as $item)
+ @foreach($bill->items as $bill_item)
@stack('name_td_start')
- {{ $item->name }} |
+
+ {{ $bill_item->name }}
+ @if (!empty($bill_item->item->description))
+ {!! \Illuminate\Support\Str::limit($bill_item->item->description, 500) !!}
+ @endif
+ |
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $bill_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $bill->currency_code, true) |
+ @money($bill_item->price, $bill->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $bill->currency_code, true) |
+ @money($bill_item->total, $bill->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/sales/invoices/print_classic.blade.php b/resources/views/sales/invoices/print_classic.blade.php
index 27371fff1..63d8eabfa 100644
--- a/resources/views/sales/invoices/print_classic.blade.php
+++ b/resources/views/sales/invoices/print_classic.blade.php
@@ -153,27 +153,27 @@
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
@stack('name_td_start')
- {{ $item->name }}
- @if ($item->desc)
- {!! $item->desc !!}
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
@endif
|
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $invoice_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $invoice->currency_code, true) |
+ @money($invoice_item->price, $invoice->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/sales/invoices/print_default.blade.php b/resources/views/sales/invoices/print_default.blade.php
index 96a47ce31..5b155cd7b 100644
--- a/resources/views/sales/invoices/print_default.blade.php
+++ b/resources/views/sales/invoices/print_default.blade.php
@@ -136,27 +136,27 @@
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
@stack('name_td_start')
- {{ $item->name }}
- @if ($item->desc)
- {!! $item->desc !!}
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
@endif
|
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $invoice_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $invoice->currency_code, true) |
+ @money($invoice_item->price, $invoice->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/sales/invoices/print_modern.blade.php b/resources/views/sales/invoices/print_modern.blade.php
index 2890521d9..500041dc9 100644
--- a/resources/views/sales/invoices/print_modern.blade.php
+++ b/resources/views/sales/invoices/print_modern.blade.php
@@ -125,27 +125,27 @@
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
@stack('name_td_start')
- {{ $item->name }}
- @if ($item->desc)
- {!! $item->desc !!}
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
@endif
|
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $invoice_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $invoice->currency_code, true) |
+ @money($invoice_item->price, $invoice->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@stack('total_td_end')
@endforeach
diff --git a/resources/views/sales/invoices/show.blade.php b/resources/views/sales/invoices/show.blade.php
index bdcb01599..fdb3a5a1a 100644
--- a/resources/views/sales/invoices/show.blade.php
+++ b/resources/views/sales/invoices/show.blade.php
@@ -350,22 +350,27 @@
{{ trans('invoices.total') }} |
@stack('total_th_end')
- @foreach($invoice->items as $item)
+ @foreach($invoice->items as $invoice_item)
@stack('name_td_start')
- {{ $item->name }} |
+
+ {{ $invoice_item->name }}
+ @if (!empty($invoice_item->item->description))
+ {!! \Illuminate\Support\Str::limit($invoice_item->item->description, 500) !!}
+ @endif
+ |
@stack('name_td_end')
@stack('quantity_td_start')
- {{ $item->quantity }} |
+ {{ $invoice_item->quantity }} |
@stack('quantity_td_end')
@stack('price_td_start')
- @money($item->price, $invoice->currency_code, true) |
+ @money($invoice_item->price, $invoice->currency_code, true) |
@stack('price_td_end')
@stack('total_td_start')
- @money($item->total, $invoice->currency_code, true) |
+ @money($invoice_item->total, $invoice->currency_code, true) |
@stack('total_td_end')
@endforeach