From c497b906dff63b1473644480ec3664fb5279d74d Mon Sep 17 00:00:00 2001 From: Jay Makwana Date: Wed, 6 May 2020 20:32:10 +0530 Subject: [PATCH] refactor taxt report pdf --- .../app/pdf/reports/tax-summary.blade.php | 48 +++++-------------- 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a/resources/views/app/pdf/reports/tax-summary.blade.php b/resources/views/app/pdf/reports/tax-summary.blade.php index 33931627..f96c692c 100644 --- a/resources/views/app/pdf/reports/tax-summary.blade.php +++ b/resources/views/app/pdf/reports/tax-summary.blade.php @@ -13,25 +13,23 @@ padding: 0px; } */ - table { - border-collapse: collapse; - } - .main-container { - /* padding: 30px 60px; */ } .sub-container{ padding: 0px 20px; } + table { + border-collapse: collapse; + } + .header { width: 100%; margin-bottom: 60px } .heading-text { - font-style: normal; font-weight: 600; font-size: 24px; color: #5851D8; @@ -42,7 +40,6 @@ } .heading-date-range { - font-style: normal; font-weight: 600; font-size: 15px; color: #A5ACC1; @@ -53,31 +50,17 @@ } .sub-heading-text { - font-style: normal; font-weight: 600; font-size: 16px; - /* line-height: 21px; */ color: #595959; padding: 0px; margin: 0px; margin-top: 6px; } - .types-title { + .tax-types-title { margin-top: 20px; padding-left: 3px; - font-style: normal; - font-weight: normal; - font-size: 16px; - line-height: 21px; - color: #040405; - } - - .tax-title { - margin-top: 60px; - padding-left: 3px; - font-style: normal; - font-weight: normal; font-size: 16px; line-height: 21px; color: #040405; @@ -95,18 +78,14 @@ .tax-title { padding: 0px; margin: 0px; - font-style: normal; - font-weight: normal; font-size: 14px; line-height: 21px; color: #595959; } - .tax-money { + .tax-amount { padding: 0px; margin: 0px; - font-style: normal; - font-weight: normal; font-size: 14px; line-height: 21px; text-align: right; @@ -129,7 +108,6 @@ padding: 0px; margin: 0px; text-align: right; - font-style: normal; font-weight: 500; font-size: 16px; line-height: 21px; @@ -137,7 +115,7 @@ color: #040405; } - .total-tax-table { + .total-tax-indicator-table { width: 100%; margin-top: 40px; padding: 15px 20px; @@ -149,18 +127,16 @@ padding: 0px; margin: 0px; text-align: left; - font-style: normal; font-weight: 600; font-size: 16px; line-height: 21px; color: #595959; } - .total-tax-money { + .total-tax-amount { padding: 0px; margin: 0px; text-align: right; - font-style: normal; font-weight: 500; font-size: 20px; line-height: 21px; @@ -190,7 +166,7 @@ -

Tax Types

+

Tax Types

@foreach ($taxTypes as $tax) @@ -201,7 +177,7 @@

@@ -221,13 +197,13 @@
-

+

{!! format_money_pdf($tax->total_tax_amount) !!}

- +

TOTAL TAX

-

+

{!! format_money_pdf($totalTaxAmount) !!}