From 7886355a50fb9959642142ec7d408556023f6c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Fri, 22 Jul 2022 01:27:25 +0300 Subject: [PATCH] styling transaction and transfer templates --- .../transactions/template/default.blade.php | 40 +++---- .../transfers/template/default.blade.php | 110 ++++++++++-------- .../transfers/template/second.blade.php | 28 ++--- .../transfers/template/third.blade.php | 28 ++--- 4 files changed, 111 insertions(+), 95 deletions(-) diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index bd94efb60..f5137ada9 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -72,10 +72,10 @@ @if (! $hideNumber) - {{ trans_choice($textNumber, 1) }}: + {{ trans_choice($textNumber, 1) }} - + {{ $transaction->number }} @@ -86,10 +86,10 @@ @if (! $hidePaidAt) - {{ trans($textPaidAt) }}: + {{ trans($textPaidAt) }} - + @date($transaction->paid_at) @@ -100,10 +100,10 @@ @if (! $hideAccount) - {{ trans_choice($textAccount, 1) }}: + {{ trans_choice($textAccount, 1) }} - + {{ $transaction->account->name }} @@ -114,10 +114,10 @@ @if (! $hideCategory) - {{ trans_choice($textCategory, 1) }}: + {{ trans_choice($textCategory, 1) }} - + {{ $transaction->category->name }} @@ -128,10 +128,10 @@ @if (! $hidePaymentMethods) - {{ trans_choice($textPaymentMethods, 1) }}: + {{ trans_choice($textPaymentMethods, 1) }} - + {{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }} @@ -142,10 +142,10 @@ @if (! $hideReference) - {{ trans($textReference) }}: + {{ trans($textReference) }} - + {{ $transaction->reference }} @@ -156,10 +156,10 @@ @if (! $hideDescription) - {{ trans($textDescription) }}: + {{ trans($textDescription) }} - +

{!! nl2br($transaction->description) !!}

@@ -196,7 +196,7 @@ {{ trans('general.name') }} - + {{ $transaction->contact->name }} @@ -210,7 +210,7 @@ {{ trans('general.address') }} - + {!! nl2br($transaction->contact->address) !!} @@ -224,7 +224,7 @@ {{ trans('general.tax_number') }} - + @if ($transaction->contact->tax_number) {{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }} @endif @@ -240,7 +240,7 @@ {{ trans('general.phone') }} - + @if ($transaction->contact->phone) {{ $transaction->contact->phone }} @endif @@ -256,7 +256,7 @@ {{ trans('general.email') }} - + {{ $transaction->contact->email }} @@ -369,7 +369,7 @@
- {{ trans($textAmount) }}: + {{ trans($textAmount) }} diff --git a/resources/views/components/transfers/template/default.blade.php b/resources/views/components/transfers/template/default.blade.php index 95e806a2e..fce23ca2c 100644 --- a/resources/views/components/transfers/template/default.blade.php +++ b/resources/views/components/transfers/template/default.blade.php @@ -1,5 +1,5 @@