refactor taxt report pdf

This commit is contained in:
Jay Makwana
2020-05-06 20:32:10 +05:30
parent c68fce19f9
commit c497b906df

View File

@ -13,25 +13,23 @@
padding: 0px; padding: 0px;
} */ } */
table {
border-collapse: collapse;
}
.main-container { .main-container {
/* padding: 30px 60px; */
} }
.sub-container{ .sub-container{
padding: 0px 20px; padding: 0px 20px;
} }
table {
border-collapse: collapse;
}
.header { .header {
width: 100%; width: 100%;
margin-bottom: 60px margin-bottom: 60px
} }
.heading-text { .heading-text {
font-style: normal;
font-weight: 600; font-weight: 600;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
@ -42,7 +40,6 @@
} }
.heading-date-range { .heading-date-range {
font-style: normal;
font-weight: 600; font-weight: 600;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
@ -53,31 +50,17 @@
} }
.sub-heading-text { .sub-heading-text {
font-style: normal;
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
/* line-height: 21px; */
color: #595959; color: #595959;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
margin-top: 6px; margin-top: 6px;
} }
.types-title { .tax-types-title {
margin-top: 20px; margin-top: 20px;
padding-left: 3px; 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; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #040405; color: #040405;
@ -95,18 +78,14 @@
.tax-title { .tax-title {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
font-style: normal;
font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
} }
.tax-money { .tax-amount {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
font-style: normal;
font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -129,7 +108,6 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-style: normal;
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
@ -137,7 +115,7 @@
color: #040405; color: #040405;
} }
.total-tax-table { .total-tax-indicator-table {
width: 100%; width: 100%;
margin-top: 40px; margin-top: 40px;
padding: 15px 20px; padding: 15px 20px;
@ -149,18 +127,16 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-style: normal;
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
} }
.total-tax-money { .total-tax-amount {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-style: normal;
font-weight: 500; font-weight: 500;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
@ -190,7 +166,7 @@
</td> </td>
</tr> </tr>
</table> </table>
<p class="types-title">Tax Types</p> <p class="tax-types-title">Tax Types</p>
<div class="tax-table-container"> <div class="tax-table-container">
<table class="tax-table"> <table class="tax-table">
@foreach ($taxTypes as $tax) @foreach ($taxTypes as $tax)
@ -201,7 +177,7 @@
</p> </p>
</td> </td>
<td> <td>
<p class="tax-money"> <p class="tax-amount">
{!! format_money_pdf($tax->total_tax_amount) !!} {!! format_money_pdf($tax->total_tax_amount) !!}
</p> </p>
</td> </td>
@ -221,13 +197,13 @@
</td> </td>
</tr> </tr>
</table> </table>
<table class="total-tax-table"> <table class="total-tax-indicator-table">
<tr> <tr>
<td> <td>
<p class="total-tax-title">TOTAL TAX</p> <p class="total-tax-title">TOTAL TAX</p>
</td> </td>
<td> <td>
<p class="total-tax-money"> <p class="total-tax-amount">
{!! format_money_pdf($totalTaxAmount) !!} {!! format_money_pdf($totalTaxAmount) !!}
</p> </p>
</td> </td>