Merge pull request #306 from edevrob/master

PDF templates fix
This commit is contained in:
Mohit Panjwani
2020-12-11 20:11:25 +05:30
committed by GitHub
9 changed files with 41 additions and 37 deletions

View File

@ -354,7 +354,7 @@
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1> <h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
@endif @endif
</td> </td>
<td width="50%" class="company-address-container company-address"> <td width="50%" class="company-address-container company-address text-right">
{!! $company_address !!} {!! $company_address !!}
</td> </td>
</tr> </tr>

View File

@ -273,7 +273,7 @@
} }
.total-table-attribute-value { .total-table-attribute-value {
font-weight: 500; font-weight: bold;
text-align: right; text-align: right;
font-size: 12px; font-size: 12px;
color: #040405; color: #040405;

View File

@ -314,7 +314,7 @@
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1> <h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
@endif @endif
</td> </td>
<td width="50%" class="company-address-container company-address"> <td width="50%" class="company-address-container company-address text-right">
{!! $company_address !!} {!! $company_address !!}
</td> </td>
</tr> </tr>

View File

@ -65,6 +65,10 @@
float: right; float: right;
} */ } */
.header-section-right {
text-align: right;
}
.header { .header {
font-size: 20px; font-size: 20px;
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
@ -226,7 +230,7 @@
} }
.content-heading span { .content-heading span {
font-weight: 400; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 25px; line-height: 25px;
padding-bottom: 5px; padding-bottom: 5px;
@ -248,7 +252,7 @@
.total-display-label { .total-display-label {
display: inline; display: inline;
font-weight: 600; font-weight: bold;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -256,7 +260,7 @@
.total-display-box span { .total-display-box span {
float: right; float: right;
font-weight: 500; font-weight: bold;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;

View File

@ -20,7 +20,7 @@
} }
.heading-text { .heading-text {
font-weight: 600; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
width: 100%; width: 100%;
@ -30,7 +30,7 @@
} }
.heading-date-range { .heading-date-range {
font-weight: 600; font-weight: normal;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
width: 100%; width: 100%;
@ -40,7 +40,7 @@
} }
.sub-heading-text { .sub-heading-text {
font-weight: 600; font-weight: normal;
font-size: 16px; font-size: 16px;
color: #595959; color: #595959;
padding: 0px; padding: 0px;
@ -98,7 +98,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -117,7 +117,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -127,7 +127,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
color: #5851D8; color: #5851D8;

View File

@ -20,7 +20,7 @@
} }
.heading-text { .heading-text {
font-weight: 600; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
width: 100%; width: 100%;
@ -30,7 +30,7 @@
} }
.heading-date-range { .heading-date-range {
font-weight: 600; font-weight: normal;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
width: 100%; width: 100%;
@ -40,7 +40,7 @@
} }
.sub-heading-text { .sub-heading-text {
font-weight: 600; font-weight: normal;
font-size: 16px; font-size: 16px;
color: #595959; color: #595959;
padding: 0px; padding: 0px;
@ -65,7 +65,7 @@
.income-amount { .income-amount {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -123,7 +123,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -142,7 +142,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -152,7 +152,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
color: #5851D8; color: #5851D8;

View File

@ -20,7 +20,7 @@
} }
.heading-text { .heading-text {
font-weight: 600; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
width: 100%; width: 100%;
@ -30,7 +30,7 @@
} }
.heading-date-range { .heading-date-range {
font-weight: 600; font-weight: normal;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
width: 100%; width: 100%;
@ -40,7 +40,7 @@
} }
.sub-heading-text { .sub-heading-text {
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -98,7 +98,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -117,7 +117,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -127,7 +127,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
color: #5851D8; color: #5851D8;

View File

@ -20,7 +20,7 @@
} }
.heading-text { .heading-text {
font-weight: 600; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
width: 100%; width: 100%;
@ -30,7 +30,7 @@
} }
.heading-date-range { .heading-date-range {
font-weight: 600; font-weight: normal;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
width: 100%; width: 100%;
@ -40,7 +40,7 @@
} }
.sub-heading-text { .sub-heading-text {
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -98,7 +98,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -117,7 +117,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -127,7 +127,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
color: #5851D8; color: #5851D8;

View File

@ -21,7 +21,7 @@
} }
.heading-text { .heading-text {
font-weight: 600; font-weight: bold;
font-size: 24px; font-size: 24px;
color: #5851D8; color: #5851D8;
width: 100%; width: 100%;
@ -31,7 +31,7 @@
} }
.heading-date-range { .heading-date-range {
font-weight: 600; font-weight: normal;
font-size: 15px; font-size: 15px;
color: #A5ACC1; color: #A5ACC1;
width: 100%; width: 100%;
@ -41,7 +41,7 @@
} }
.sub-heading-text { .sub-heading-text {
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
color: #595959; color: #595959;
padding: 0px; padding: 0px;
@ -99,7 +99,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
text-align: right; text-align: right;
@ -118,7 +118,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: left; text-align: left;
font-weight: 600; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 21px; line-height: 21px;
color: #595959; color: #595959;
@ -128,7 +128,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
text-align: right; text-align: right;
font-weight: 500; font-weight: bold;
font-size: 20px; font-size: 20px;
line-height: 21px; line-height: 21px;
color: #5851D8; color: #5851D8;