From c1995160ecefc22f05519592b1092751ab602f91 Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Wed, 22 Jan 2020 23:21:55 +0300 Subject: [PATCH] print template styles updated --- public/css/print.css | 9 ++-- .../sales/invoices/print_classic.blade.php | 2 +- .../sales/invoices/print_default.blade.php | 42 +++++++++---------- .../sales/invoices/print_modern.blade.php | 11 +++-- 4 files changed, 30 insertions(+), 34 deletions(-) diff --git a/public/css/print.css b/public/css/print.css index e707250c1..32a762d13 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -133,6 +133,7 @@ th, td { .text { color: #3c3f72; + margin-top:10px; font-size: 16px; } @@ -212,7 +213,7 @@ th, td { */ .c-logo { - padding-top: 50px; + padding-top: 25px; } .c-note { @@ -234,7 +235,7 @@ th, td { .invoice-classic-inline-frame { margin: 0.3% 1% 0.3% 1%; - width: 95%; + width: 95 !important%; height: 59px; border: 3px solid #3c3f72; } @@ -289,7 +290,7 @@ th, td { */ .m-first-column { - padding-top: 35px; + padding-top: 15px; padding-bottom:48px; } @@ -304,7 +305,7 @@ th, td { .m-fc-right { padding-left: 170px; - margin-top: -40px; + margin-top: -70px; } .m-note { diff --git a/resources/views/sales/invoices/print_classic.blade.php b/resources/views/sales/invoices/print_classic.blade.php index 63d8eabfa..fc9882bd5 100644 --- a/resources/views/sales/invoices/print_classic.blade.php +++ b/resources/views/sales/invoices/print_classic.blade.php @@ -136,7 +136,7 @@ @stack('name_th_start') - {{ trans_choice($text_override['items'], 2) }} + {{ trans_choice($text_override['items'], 2) }} @stack('name_th_end') @stack('quantity_th_start') diff --git a/resources/views/sales/invoices/print_default.blade.php b/resources/views/sales/invoices/print_default.blade.php index 5b155cd7b..00716d635 100644 --- a/resources/views/sales/invoices/print_default.blade.php +++ b/resources/views/sales/invoices/print_default.blade.php @@ -3,35 +3,31 @@ @section('title', trans_choice('general.invoices', 1) . ': ' . $invoice->invoice_number) @section('content') -
+
-
-
- -
+
+
-
-
- {{ setting('company.name') }}
-

{!! nl2br(setting('company.address')) !!}

+
+ {{ setting('company.name') }}
+

{!! nl2br(setting('company.address')) !!}

-

- @if (setting('company.tax_number')) - {{ trans('general.tax_number') }}: {{ setting('company.tax_number') }} - @endif -

+

+ @if (setting('company.tax_number')) + {{ trans('general.tax_number') }}: {{ setting('company.tax_number') }} + @endif +

-

- @if (setting('company.phone')) - {{ setting('company.phone') }} - @endif -

+

+ @if (setting('company.phone')) + {{ setting('company.phone') }} + @endif +

-

{{ setting('company.email') }}

-
+

{{ setting('company.email') }}

@@ -115,11 +111,11 @@
@foreach($invoice as $item) - + @endforeach @stack('name_th_start') - + @stack('name_th_end') @stack('quantity_th_start') diff --git a/resources/views/sales/invoices/print_modern.blade.php b/resources/views/sales/invoices/print_modern.blade.php index 500041dc9..dc2537ac3 100644 --- a/resources/views/sales/invoices/print_modern.blade.php +++ b/resources/views/sales/invoices/print_modern.blade.php @@ -3,10 +3,9 @@ @section('title', trans_choice('general.invoices', 1) . ': ' . $invoice->invoice_number) @section('content') -
+
-
{{ setting('company.name') }} @@ -105,10 +104,10 @@
{{ trans_choice($text_override['items'], 2) }}{{ trans_choice($text_override['items'], 2) }}
- + @stack('name_th_start') - + @stack('name_th_end') @stack('quantity_th_start') @@ -194,8 +193,8 @@ @if ($invoice->footer)
-
-
+
+
{!! $invoice->footer !!}
{{ trans_choice($text_override['items'], 2) }}{{ trans_choice($text_override['items'], 2) }}