From b3e01f4b562b73f1ac1b8fb70cc9d73f8a360218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sun, 3 Jan 2021 18:25:31 +0300 Subject: [PATCH] fixed document show line discount text.. --- resources/views/components/documents/template/classic.blade.php | 2 +- resources/views/components/documents/template/default.blade.php | 2 +- resources/views/components/documents/template/modern.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/components/documents/template/classic.blade.php b/resources/views/components/documents/template/classic.blade.php index 72e62579f..8a2b82df8 100644 --- a/resources/views/components/documents/template/classic.blade.php +++ b/resources/views/components/documents/template/classic.blade.php @@ -186,7 +186,7 @@ @if (!$hideDiscount) @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) @stack('discount_td_start') - {{ $item->discount }} + {{ trans('invoices.discount') }} @stack('discount_td_end') @endif @endif diff --git a/resources/views/components/documents/template/default.blade.php b/resources/views/components/documents/template/default.blade.php index e8595606f..7fc4b023e 100644 --- a/resources/views/components/documents/template/default.blade.php +++ b/resources/views/components/documents/template/default.blade.php @@ -173,7 +173,7 @@ @if (!$hideDiscount) @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) @stack('discount_td_start') - {{ $item->discount }} + {{ trans('invoices.discount') }} @stack('discount_td_end') @endif @endif diff --git a/resources/views/components/documents/template/modern.blade.php b/resources/views/components/documents/template/modern.blade.php index a4e986657..8075ea7f4 100644 --- a/resources/views/components/documents/template/modern.blade.php +++ b/resources/views/components/documents/template/modern.blade.php @@ -161,7 +161,7 @@ @if (!$hideDiscount) @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) @stack('discount_td_start') - {{ $item->discount }} + {{ trans('invoices.discount') }} @stack('discount_td_end') @endif @endif