From 8e08f15f20bb9ad3c0a1324832e4ca0cea093493 Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Sat, 1 Feb 2020 15:26:53 +0300 Subject: [PATCH 1/3] net profit print view updated --- public/css/print.css | 19 ++++++++++++++++++- .../profit_loss/content/footer.blade.php | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/public/css/print.css b/public/css/print.css index 22d1fb26e..204fa41e1 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -146,6 +146,10 @@ th, td { font-size: 16px; } +.text-nowrap { + white-space: nowrap; +} + .text-left { text-align: left; } @@ -244,7 +248,7 @@ th, td { .invoice-classic-inline-frame { margin: 0.3% 1% 0.3% 1%; - width: 95 !important%; + width: 95 !important; height: 59px; border: 3px solid #3c3f72; } @@ -381,6 +385,19 @@ th, td { float: right; } +.report-column { + max-width: 100px; + width: 160px !important; +} + +.rp-value-left--48 { + padding-left:-48px; +} + +.rp-value-left-48 { + padding-left:48px; +} + /*! ========================================================= diff --git a/resources/views/reports/profit_loss/content/footer.blade.php b/resources/views/reports/profit_loss/content/footer.blade.php index 8f96b92a7..713c2f314 100644 --- a/resources/views/reports/profit_loss/content/footer.blade.php +++ b/resources/views/reports/profit_loss/content/footer.blade.php @@ -2,7 +2,7 @@ - + @foreach($class->net_profit as $profit) @endforeach From d8ebf472108a6567018003330b86b691d0ca0517 Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Sat, 1 Feb 2020 15:28:55 +0300 Subject: [PATCH 2/3] useless classes deleted print --- public/css/print.css | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/css/print.css b/public/css/print.css index 204fa41e1..f38fd41ee 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -390,14 +390,6 @@ th, td { width: 160px !important; } -.rp-value-left--48 { - padding-left:-48px; -} - -.rp-value-left-48 { - padding-left:48px; -} - /*! ========================================================= From 62343119c2a3c987717cb09fc7257810275b883a Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Sat, 1 Feb 2020 15:32:53 +0300 Subject: [PATCH 3/3] forgotten extra class deleted --- public/css/print.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/public/css/print.css b/public/css/print.css index f38fd41ee..4ccf74b59 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -385,11 +385,6 @@ th, td { float: right; } -.report-column { - max-width: 100px; - width: 160px !important; -} - /*! =========================================================
{{ trans('reports.net_profit') }}{{ trans('reports.net_profit') }}@money($profit, setting('default.currency'), true)