mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
update templates
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Estimate</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
@ -19,7 +20,7 @@
|
||||
}
|
||||
|
||||
.header-line {
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
left: 0px;
|
||||
@ -28,7 +29,7 @@
|
||||
|
||||
hr {
|
||||
margin: 0 30px 0 30px;
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
@ -51,37 +52,16 @@
|
||||
color: #817AE3;
|
||||
}
|
||||
|
||||
.inv-flex{
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.inv-data{
|
||||
text-align:right;
|
||||
margin-right:120px;
|
||||
}
|
||||
.inv-value{
|
||||
text-align:left;
|
||||
margin-left:160px;
|
||||
}
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: block;
|
||||
margin-top: 0px;
|
||||
padding-top: 16px;
|
||||
padding-bottom: 20px;
|
||||
display: block;
|
||||
margin-top: 0px;
|
||||
padding-top: 16px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
@ -93,9 +73,7 @@
|
||||
float: left;
|
||||
padding-left: 30px;
|
||||
font-weight: normal;
|
||||
display: inline;
|
||||
float:left;
|
||||
width:30%;
|
||||
width: 30%;
|
||||
text-transform: capitalize;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
@ -109,7 +87,7 @@
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address {
|
||||
margin-top: 2px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -124,19 +102,12 @@
|
||||
float: right;
|
||||
padding: 10px 30px 0 0;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
@ -144,15 +115,16 @@
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.bill-add {
|
||||
width:45%;
|
||||
width: 45%;
|
||||
padding: 0px 0 0 0px;
|
||||
}
|
||||
|
||||
@ -175,14 +147,14 @@
|
||||
}
|
||||
|
||||
.ship-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.ship-user-address {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -193,6 +165,7 @@
|
||||
margin: 0px;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.ship-user-phone {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -222,8 +195,7 @@
|
||||
}
|
||||
|
||||
.bill-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
@ -260,10 +232,10 @@
|
||||
}
|
||||
|
||||
.table2 hr {
|
||||
height:0.1px;
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
@ -271,7 +243,7 @@
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
tr.main-table-header th {
|
||||
tr.item-table-heading-row th {
|
||||
border-bottom: 0.620315px solid #E8E8E8;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -279,18 +251,18 @@
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.main-table-header {
|
||||
.item-table-heading-row {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
tr.item-details td {
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -307,6 +279,7 @@
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.table3 {
|
||||
border-top: none;
|
||||
box-sizing: border-box;
|
||||
@ -318,18 +291,20 @@
|
||||
}
|
||||
|
||||
.total-border-left {
|
||||
border: 1px solid #E8E8E8!important;
|
||||
border: 1px solid #E8E8E8 !important;
|
||||
border-right: 0px !important;
|
||||
padding-top: 0px;
|
||||
padding:8px !important;
|
||||
padding: 8px !important;
|
||||
}
|
||||
|
||||
.total-border-right {
|
||||
border: 1px solid #E8E8E8!important;
|
||||
border: 1px solid #E8E8E8 !important;
|
||||
border-left: 0px !important;
|
||||
padding-top: 0px;
|
||||
padding:8px !important;
|
||||
padding: 8px !important;
|
||||
|
||||
}
|
||||
|
||||
.inv-item {
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
@ -338,14 +313,6 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.notes {
|
||||
font-style: normal;
|
||||
@ -370,20 +337,20 @@
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="header-center">
|
||||
@if($logo)
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
@if($estimate->user->company)
|
||||
<h2 class="header-logo"> {{$estimate->user->company->name}} </h2>
|
||||
@endif
|
||||
@if($estimate->user->company)
|
||||
<h2 class="header-logo"> {{$estimate->user->company->name}} </h2>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@ -398,16 +365,16 @@
|
||||
<div class="job-add">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||
<td class="textStyle2"> {{$estimate->estimate_number}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||
<td class="attribute-value"> {{$estimate->estimate_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||
<td class="textStyle2"> {{$estimate->formattedEstimateDate}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||
<td class="attribute-value"> {{$estimate->formattedEstimateDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||
<td class="textStyle2"> {{$estimate->formattedExpiryDate}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||
<td class="attribute-value"> {{$estimate->formattedExpiryDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@ -418,18 +385,19 @@
|
||||
@include('app.pdf.estimate.partials.billing-address')
|
||||
</div>
|
||||
@if($estimate->user->billingaddress)
|
||||
<div class="ship-address-container">
|
||||
@else
|
||||
<div class="ship-address-container">
|
||||
@else
|
||||
<div class="ship-address-container " style="float:left;padding-left:0px;">
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.shipping-address')
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.shipping-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
<div style="position:relative">
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
</div>
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
<div style="position:relative">
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
</div>
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@ -1,8 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Estimate</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: "DejaVu Sans";
|
||||
@ -12,6 +13,7 @@
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
@ -20,12 +22,14 @@
|
||||
padding-top: 45px;
|
||||
padding-bottom: 45px;
|
||||
padding-left: 30px;
|
||||
display:inline-block;
|
||||
width:30%;
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.header-table {
|
||||
background: #817AE3;
|
||||
position: absolute;
|
||||
@ -34,57 +38,45 @@
|
||||
left: 0px;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
text-transform: capitalize;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
display:inline-block;
|
||||
width:35%;
|
||||
float:right;
|
||||
display: inline-block;
|
||||
width: 35%;
|
||||
float: right;
|
||||
padding: 20px 30px 20px 0px;
|
||||
text-align: right;
|
||||
color:white;
|
||||
color: white;
|
||||
|
||||
}
|
||||
.inv-flex{
|
||||
display:flex;
|
||||
}
|
||||
.inv-data{
|
||||
text-align:right;
|
||||
margin-right:120px;
|
||||
}
|
||||
.inv-value{
|
||||
text-align:left;
|
||||
margin-left:160px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: block;
|
||||
margin-top: 60px;
|
||||
padding-bottom: 20px;
|
||||
display: block;
|
||||
margin-top: 60px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.company {
|
||||
padding: 0 0 0 30px;
|
||||
display: inline;
|
||||
float:left;
|
||||
width:30%;
|
||||
float: left;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.company h1 {
|
||||
@ -96,7 +88,7 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address{
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
@ -110,7 +102,7 @@
|
||||
.bill-address-container {
|
||||
display: block;
|
||||
/* position: absolute; */
|
||||
float:right;
|
||||
float: right;
|
||||
padding: 0 40px 0 0;
|
||||
}
|
||||
|
||||
@ -124,8 +116,7 @@
|
||||
}
|
||||
|
||||
.bill-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
@ -144,6 +135,7 @@
|
||||
margin: 0px;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
.bill-user-phone {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -158,7 +150,7 @@
|
||||
/* shipping style */
|
||||
.ship-address-container {
|
||||
display: block;
|
||||
float:right;
|
||||
float: right;
|
||||
padding: 0 30px 0 0;
|
||||
}
|
||||
|
||||
@ -172,8 +164,7 @@
|
||||
}
|
||||
|
||||
.ship-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
@ -206,40 +197,32 @@
|
||||
.job-add {
|
||||
display: inline;
|
||||
float: right;
|
||||
width:40%;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-size: 12;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
line-height: 22px;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-size: 12;
|
||||
line-height:22px;
|
||||
line-height: 22px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.main-table-header td {
|
||||
.item-table-heading-row td {
|
||||
padding: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.main-table-header {
|
||||
.item-table-heading-row {
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
|
||||
@ -252,22 +235,22 @@
|
||||
|
||||
hr {
|
||||
margin: 0 30px 0 30px;
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
.table2 hr {
|
||||
height:0.1px;
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
tr.main-table-header th {
|
||||
tr.item-table-heading-row th {
|
||||
border-bottom: 0.620315px solid #E8E8E8;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -275,14 +258,14 @@
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
tr.item-details td {
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -339,22 +322,13 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.company-details{
|
||||
.company-details {
|
||||
text-align: center;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.company-details h1 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 24px;
|
||||
@ -363,7 +337,7 @@
|
||||
}
|
||||
|
||||
.company-details h4 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
@ -372,8 +346,8 @@
|
||||
}
|
||||
|
||||
.company-details h3 {
|
||||
margin-bottom:1px;
|
||||
margin-top:0;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.notes {
|
||||
@ -399,22 +373,22 @@
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
@if($logo)
|
||||
<td width="60%" class="header-left">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
<td width="60%" class="header-left" style="padding-top: 0px;">
|
||||
@if($estimate->user->company)
|
||||
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
|
||||
@endif
|
||||
@endif
|
||||
<td width="60%" class="header-left">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
<td width="60%" class="header-left" style="padding-top: 0px;">
|
||||
@if($estimate->user->company)
|
||||
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td width="40%" class="header-right company-details">
|
||||
<h1>Estimate</h1>
|
||||
@ -434,16 +408,17 @@
|
||||
@include('app.pdf.estimate.partials.shipping-address')
|
||||
</div>
|
||||
@if($estimate->user->shippingaddress)
|
||||
<div class="bill-address-container">
|
||||
@else
|
||||
<div class="bill-address-container">
|
||||
@else
|
||||
<div class="bill-address-container" style="float:right;padding-right:0px;">
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.billing-address')
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.billing-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@ -1,8 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Estimate</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
@ -13,12 +14,13 @@
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.header-line {
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
left: 0px;
|
||||
@ -27,11 +29,11 @@
|
||||
}
|
||||
|
||||
hr {
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
.items-table-hr{
|
||||
.items-table-hr {
|
||||
margin: 0 30px 0 30px;
|
||||
}
|
||||
|
||||
@ -39,8 +41,8 @@
|
||||
padding-top: 45px;
|
||||
padding-bottom: 45px;
|
||||
padding-left: 30px;
|
||||
display:inline-block;
|
||||
width:30%;
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.header-table {
|
||||
@ -50,48 +52,32 @@
|
||||
left: 0px;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
text-transform: capitalize;
|
||||
color: #817AE3;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
display:inline-block;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right:0;
|
||||
right: 0;
|
||||
padding: 15px 30px 15px 0px;
|
||||
float: right;
|
||||
}
|
||||
.inv-flex{
|
||||
display:flex;
|
||||
}
|
||||
.inv-data{
|
||||
text-align:right;
|
||||
margin-right:120px;
|
||||
}
|
||||
.inv-value{
|
||||
text-align:left;
|
||||
margin-left:160px;
|
||||
}
|
||||
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: block;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
display: block;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
@ -101,15 +87,16 @@
|
||||
|
||||
.bill-add {
|
||||
display: inline;
|
||||
float:left;
|
||||
width:40%;
|
||||
float: left;
|
||||
width: 40%;
|
||||
padding: 0 0 0 30px;
|
||||
}
|
||||
|
||||
.company {
|
||||
padding-left: 30px;
|
||||
display: inline;
|
||||
float:left;
|
||||
width:30%;
|
||||
float: left;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.company h1 {
|
||||
@ -120,7 +107,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address{
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -130,7 +117,7 @@
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -------------------------- */
|
||||
/* -------------------------- */
|
||||
/* shipping style */
|
||||
.ship-to {
|
||||
padding-top: 5px;
|
||||
@ -169,7 +156,7 @@
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -------------------------- */
|
||||
/* -------------------------- */
|
||||
/* billing style */
|
||||
.bill-to {
|
||||
padding-top: 5px;
|
||||
@ -214,50 +201,48 @@
|
||||
float: right;
|
||||
padding: 20px 30px 0 0;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: right;
|
||||
}
|
||||
.main-table-header td {
|
||||
|
||||
.item-table-heading-row td {
|
||||
padding: 10px;
|
||||
}
|
||||
.main-table-header {
|
||||
|
||||
.item-table-heading-row {
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
tr.main-table-header th {
|
||||
|
||||
tr.item-table-heading-row th {
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
tr.item-details td {
|
||||
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.table2 {
|
||||
padding: 0px 30px 10px 30px;
|
||||
page-break-before: avoid;
|
||||
@ -265,17 +250,17 @@
|
||||
}
|
||||
|
||||
.table2 hr {
|
||||
height:0.1px;
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -303,8 +288,8 @@
|
||||
}
|
||||
|
||||
.table3 {
|
||||
border: 1px solid #EAF1FB;
|
||||
border-top: none;
|
||||
border: 1px solid #EAF1FB;
|
||||
border-top: none;
|
||||
box-sizing: border-box;
|
||||
width: 630px;
|
||||
page-break-inside: avoid;
|
||||
@ -313,26 +298,26 @@
|
||||
}
|
||||
|
||||
td.estimate-total1 {
|
||||
text-align:left;
|
||||
text-align: left;
|
||||
padding: 15px 0 15px 10px;
|
||||
font-size:12px;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
color: #55547A;
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-left:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
border-left: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
td.estimate-total2 {
|
||||
font-weight: 500;
|
||||
text-align: right;
|
||||
font-size:12px;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
padding: 15px 10px 15px 0;
|
||||
color: #5851DB;
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-right:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
border-right: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
.inv-item {
|
||||
@ -342,16 +327,9 @@
|
||||
.no-border {
|
||||
border: none;
|
||||
}
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.company-details h1 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
@ -360,21 +338,24 @@
|
||||
text-align: left;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.company-details h4 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.company-details h3 {
|
||||
margin-bottom:1px;
|
||||
margin-top:0;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
tr.total td {
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
.notes {
|
||||
@ -400,22 +381,22 @@
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
@if($logo)
|
||||
<td class="header-left">
|
||||
<td class="header-left">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
@else
|
||||
@if($estimate->user->company)
|
||||
<td class="header-left" style="padding-top:0px;">
|
||||
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
|
||||
<td class="header-left" style="padding-top:0px;">
|
||||
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td class="header-right company-details">
|
||||
@include('app.pdf.estimate.partials.company-address')
|
||||
@ -432,36 +413,37 @@
|
||||
<div style="float:left;">
|
||||
@include('app.pdf.estimate.partials.billing-address')
|
||||
</div>
|
||||
@if($estimate->user->billingaddress)
|
||||
<div style="float:right;">
|
||||
@else
|
||||
@if($estimate->user->billingaddress)
|
||||
<div style="float:right;">
|
||||
@else
|
||||
<div style="float:left;">
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.shipping-address')
|
||||
@endif
|
||||
@include('app.pdf.estimate.partials.shipping-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
|
||||
<div class="job-add">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||
<td class="attribute-value"> {{$estimate->estimate_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||
<td class="attribute-value"> {{$estimate->formattedEstimateDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||
<td class="attribute-value"> {{$estimate->formattedExpiryDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
|
||||
<div class="job-add">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||
<td class="textStyle2"> {{$estimate->estimate_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||
<td class="textStyle2"> {{$estimate->formattedEstimateDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||
<td class="textStyle2"> {{$estimate->formattedExpiryDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
@include('app.pdf.estimate.partials.table')
|
||||
@include('app.pdf.estimate.partials.notes')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@ -1,27 +1,27 @@
|
||||
<table width="100%" class="table2" cellspacing="0" border="0">
|
||||
<tr class="main-table-header">
|
||||
<th width="2%" class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
||||
<th width="40%" class="ItemTableHeader" style="text-align: left; color: #55547A; padding-left: 0px">Items</th>
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">Quantity</th>
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||
<tr class="item-table-heading-row">
|
||||
<th width="2%" class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
||||
<th width="40%" class="item-table-heading" style="text-align: left; color: #55547A; padding-left: 0px">Items</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Quantity</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||
@if($estimate->discount_per_item === 'YES')
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-left: 10px">Discount</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-left: 10px">Discount</th>
|
||||
@endif
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A;">Amount</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A;">Amount</th>
|
||||
</tr>
|
||||
@php
|
||||
$index = 1
|
||||
@endphp
|
||||
@foreach ($estimate->items as $item)
|
||||
<tr class="item-details">
|
||||
<tr class="item-row">
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
||||
>
|
||||
{{$index}}
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: left; color: #040405;padding-left: 0px"
|
||||
>
|
||||
<span>{{ $item->name }}</span><br>
|
||||
@ -32,19 +32,19 @@
|
||||
</span>
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px"
|
||||
>
|
||||
{{$item->quantity}}
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px"
|
||||
>
|
||||
{!! format_money_pdf($item->price, $estimate->user->currency) !!}
|
||||
</td>
|
||||
@if($estimate->discount_per_item === 'YES')
|
||||
<td class="inv-item items" style="text-align: right; color: #040405; padding-left: 10px">
|
||||
<td class="inv-item item-cell" style="text-align: right; color: #040405; padding-left: 10px">
|
||||
@if($item->discount_type === 'fixed')
|
||||
{!! format_money_pdf($item->discount_val, $estimate->user->currency) !!}
|
||||
@endif
|
||||
@ -53,7 +53,7 @@
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
<td class="inv-item items" style="text-align: right; color: #040405;">
|
||||
<td class="inv-item item-cell" style="text-align: right; color: #040405;">
|
||||
{!! format_money_pdf($item->total, $estimate->user->currency) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@ -68,7 +68,7 @@
|
||||
<table width="100%" cellspacing="0px" style="margin-left:420px;margin-top: 10px" border="0" class="table3 @if(count($estimate->items) > 12) page-break @endif">
|
||||
<tr>
|
||||
<td class="no-borde" style="color: #55547A; padding-left:10px; font-size:12px;">Subtotal</td>
|
||||
<td class="no-border items"
|
||||
<td class="no-border item-cell"
|
||||
style="padding-right:10px; text-align: right; font-size:12px; color: #040405; font-weight: 500;">{!! format_money_pdf($estimate->sub_total, $estimate->user->currency) !!}</td>
|
||||
</tr>
|
||||
|
||||
@ -78,7 +78,7 @@
|
||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||
{{$labels[$i]}}
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
{!! format_money_pdf($taxes[$i], $estimate->user->currency) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@ -89,7 +89,7 @@
|
||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||
{{$tax->name.' ('.$tax->percent.'%)'}}
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
{!! format_money_pdf($tax->amount, $estimate->user->currency) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@ -106,7 +106,7 @@
|
||||
Discount ({{$estimate->discount}}%)
|
||||
@endif
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
@if($estimate->discount_type === 'fixed')
|
||||
{!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!}
|
||||
@endif
|
||||
@ -127,7 +127,7 @@
|
||||
<label class="total-bottom"> Total </label>
|
||||
</td>
|
||||
<td
|
||||
class="no-border total-border-right items padd8"
|
||||
class="no-border total-border-right item-cell padd8"
|
||||
style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; padding-top:20px; color: #5851DB"
|
||||
>
|
||||
{!! format_money_pdf($estimate->total, $estimate->user->currency)!!}
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
/* -- Base -- */
|
||||
body {
|
||||
font-family: "DejaVu Sans";
|
||||
}
|
||||
@ -16,16 +17,8 @@
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.header-line {
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
.text-center {
|
||||
text-align: center
|
||||
}
|
||||
|
||||
hr {
|
||||
@ -34,11 +27,17 @@
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
.header-center {
|
||||
text-align: center
|
||||
/* -- Header -- */
|
||||
|
||||
.header-bottom-divider {
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.header-table {
|
||||
.header-container {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
@ -53,66 +52,38 @@
|
||||
color: #817AE3;
|
||||
}
|
||||
|
||||
.inv-flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.inv-data {
|
||||
text-align: right;
|
||||
margin-right: 120px;
|
||||
}
|
||||
|
||||
.inv-value {
|
||||
text-align: left;
|
||||
margin-left: 160px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
.content-wrapper {
|
||||
display: block;
|
||||
margin-top: 0px;
|
||||
padding-top: 16px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
/* display: inline-block; */
|
||||
padding-top: 30px
|
||||
}
|
||||
|
||||
.company {
|
||||
.company-address-container {
|
||||
padding-left: 30px;
|
||||
font-weight: normal;
|
||||
display: inline;
|
||||
float: left;
|
||||
width: 30%;
|
||||
text-transform: capitalize;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.company h1 {
|
||||
.company-address-container h1 {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address {
|
||||
margin-top: 2px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -122,25 +93,11 @@
|
||||
color: #595959;
|
||||
}
|
||||
|
||||
.job-add {
|
||||
/* display: inline; */
|
||||
float: right;
|
||||
padding: 10px 30px 0 0;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
@ -148,7 +105,7 @@
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
@ -156,13 +113,7 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.bill-add {
|
||||
width: 45%;
|
||||
padding: 0px 0 0 0px;
|
||||
}
|
||||
|
||||
/* -------------------------- */
|
||||
/* shipping style */
|
||||
/* -- Shipping -- */
|
||||
|
||||
.ship-address-container {
|
||||
float: right;
|
||||
@ -170,8 +121,6 @@
|
||||
}
|
||||
|
||||
.ship-to {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
padding: 0px;
|
||||
@ -180,8 +129,7 @@
|
||||
}
|
||||
|
||||
.ship-user-name {
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
max-width: 250px;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
padding: 0px;
|
||||
@ -200,8 +148,6 @@
|
||||
}
|
||||
|
||||
.ship-user-phone {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
line-height: 15px;
|
||||
color: #595959;
|
||||
@ -218,8 +164,6 @@
|
||||
}
|
||||
|
||||
.bill-to {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
padding: 0px;
|
||||
@ -228,8 +172,7 @@
|
||||
}
|
||||
|
||||
.bill-user-name {
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
max-width: 250px;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
padding: 0px;
|
||||
@ -237,8 +180,6 @@
|
||||
}
|
||||
|
||||
.bill-user-address {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
line-height: 15px;
|
||||
color: #595959;
|
||||
@ -248,8 +189,6 @@
|
||||
}
|
||||
|
||||
.bill-user-phone {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
line-height: 15px;
|
||||
color: #595959;
|
||||
@ -269,14 +208,14 @@
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
tr.main-table-header th {
|
||||
tr.item-table-heading-row th {
|
||||
border-bottom: 0.620315px solid #E8E8E8;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -284,14 +223,14 @@
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
tr.item-details td {
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -345,18 +284,7 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 7px;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.notes {
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 12px;
|
||||
color: #595959;
|
||||
margin-top: 15px;
|
||||
@ -367,8 +295,6 @@
|
||||
}
|
||||
|
||||
.notes-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
letter-spacing: 0.05em;
|
||||
@ -381,63 +307,58 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<div class="header-container">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="header-center">
|
||||
<td class="text-center">
|
||||
@if($logo)
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
@if($invoice->user->company)
|
||||
<h2 class="header-logo"> {{$invoice->user->company->name}} </h2>
|
||||
@endif
|
||||
@if($invoice->user->company)
|
||||
<h2 class="header-logo"> {{$invoice->user->company->name}} </h2>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr class="header-line" style="border: 0.620315px solid #E8E8E8;" />
|
||||
<hr class="header-bottom-divider" style="border: 0.620315px solid #E8E8E8;" />
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<div class="address">
|
||||
<div class="company">
|
||||
<div class="content-wrapper">
|
||||
<div style="padding-top: 30px">
|
||||
<div class="company-address-container">
|
||||
@include('app.pdf.invoice.partials.company-address')
|
||||
</div>
|
||||
<div class="job-add">
|
||||
<div style="float: right; padding: 10px 30px 0 0;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||
<td class="textStyle2"> {{$invoice->invoice_number}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||
<td class="attribute-value"> {{$invoice->invoice_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||
<td class="textStyle2"> {{$invoice->formattedInvoiceDate}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||
<td class="attribute-value"> {{$invoice->formattedInvoiceDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Due date</td>
|
||||
<td class="textStyle2"> {{$invoice->formattedDueDate}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Due date</td>
|
||||
<td class="attribute-value"> {{$invoice->formattedDueDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div class="bill-add">
|
||||
<div class="bill-address-container">
|
||||
@include('app.pdf.invoice.partials.billing-address')
|
||||
</div>
|
||||
@if($invoice->user->billingaddress)
|
||||
<div class="ship-address-container">
|
||||
@else
|
||||
<div class="ship-address-container " style="float:left;padding-left:0px;">
|
||||
@endif
|
||||
@include('app.pdf.invoice.partials.shipping-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div style="position:relative">
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
</div>
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
|
||||
<div class="bill-address-container">
|
||||
@include('app.pdf.invoice.partials.billing-address')
|
||||
</div>
|
||||
|
||||
<div class="ship-address-container" @if($invoice->user->billingaddress) style="float:left;" @endif>
|
||||
@include('app.pdf.invoice.partials.shipping-address')
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div style="position: relative; clear: both;">
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
</div>
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Invoice</title>
|
||||
{{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: "DejaVu Sans";
|
||||
@ -13,6 +13,7 @@
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
@ -21,12 +22,14 @@
|
||||
padding-top: 45px;
|
||||
padding-bottom: 45px;
|
||||
padding-left: 30px;
|
||||
display:inline-block;
|
||||
width:30%;
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.header-table {
|
||||
background: #817AE3;
|
||||
position: absolute;
|
||||
@ -35,57 +38,45 @@
|
||||
left: 0px;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
text-transform: capitalize;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
display:inline-block;
|
||||
width:35%;
|
||||
float:right;
|
||||
display: inline-block;
|
||||
width: 35%;
|
||||
float: right;
|
||||
padding: 20px 30px 20px 0px;
|
||||
text-align: right;
|
||||
color:white;
|
||||
color: white;
|
||||
|
||||
}
|
||||
.inv-flex{
|
||||
display:flex;
|
||||
}
|
||||
.inv-data{
|
||||
text-align:right;
|
||||
margin-right:120px;
|
||||
}
|
||||
.inv-value{
|
||||
text-align:left;
|
||||
margin-left:160px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: block;
|
||||
margin-top: 60px;
|
||||
padding-bottom: 20px;
|
||||
display: block;
|
||||
margin-top: 60px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.company {
|
||||
padding: 0 0 0 30px;
|
||||
display: inline;
|
||||
float:left;
|
||||
width:30%;
|
||||
float: left;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.company h1 {
|
||||
@ -97,7 +88,7 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address{
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
@ -111,7 +102,7 @@
|
||||
.bill-address-container {
|
||||
display: block;
|
||||
/* position: absolute; */
|
||||
float:right;
|
||||
float: right;
|
||||
padding: 0 40px 0 0;
|
||||
}
|
||||
|
||||
@ -125,8 +116,7 @@
|
||||
}
|
||||
|
||||
.bill-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
@ -145,6 +135,7 @@
|
||||
margin: 0px;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
.bill-user-phone {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -159,7 +150,7 @@
|
||||
/* shipping style */
|
||||
.ship-address-container {
|
||||
display: block;
|
||||
float:right;
|
||||
float: right;
|
||||
padding: 0 30px 0 0;
|
||||
}
|
||||
|
||||
@ -173,8 +164,7 @@
|
||||
}
|
||||
|
||||
.ship-user-name {
|
||||
max-width: 250px
|
||||
font-style: normal;
|
||||
max-width: 250px font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
@ -207,40 +197,32 @@
|
||||
.job-add {
|
||||
display: inline;
|
||||
float: right;
|
||||
width:40%;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-size: 12;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
line-height: 22px;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-size: 12;
|
||||
line-height:22px;
|
||||
line-height: 22px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.main-table-header td {
|
||||
.item-table-heading-row td {
|
||||
padding: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.main-table-header {
|
||||
.item-table-heading-row {
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
|
||||
@ -253,22 +235,22 @@
|
||||
|
||||
hr {
|
||||
margin: 0 30px 0 30px;
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
.table2 hr {
|
||||
height:0.1px;
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
tr.main-table-header th {
|
||||
tr.item-table-heading-row th {
|
||||
border-bottom: 0.620315px solid #E8E8E8;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -276,14 +258,14 @@
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
tr.item-details td {
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -340,22 +322,13 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.company-details{
|
||||
.company-details {
|
||||
text-align: center;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.company-details h1 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 24px;
|
||||
@ -364,7 +337,7 @@
|
||||
}
|
||||
|
||||
.company-details h4 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
@ -373,8 +346,8 @@
|
||||
}
|
||||
|
||||
.company-details h3 {
|
||||
margin-bottom:1px;
|
||||
margin-top:0;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.notes {
|
||||
@ -400,22 +373,22 @@
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
@if($logo)
|
||||
<td width="60%" class="header-left">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
<td width="60%" class="header-left" style="padding-top: 0px;">
|
||||
@if($invoice->user->company)
|
||||
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
||||
@endif
|
||||
@endif
|
||||
<td width="60%" class="header-left">
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
<td width="60%" class="header-left" style="padding-top: 0px;">
|
||||
@if($invoice->user->company)
|
||||
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
<td width="40%" class="header-right company-details">
|
||||
<h1>Invoice</h1>
|
||||
@ -435,16 +408,17 @@
|
||||
@include('app.pdf.invoice.partials.shipping-address')
|
||||
</div>
|
||||
@if($invoice->user->shippingaddress)
|
||||
<div class="bill-address-container">
|
||||
@else
|
||||
<div class="bill-address-container">
|
||||
@else
|
||||
<div class="bill-address-container" style="float:right;padding-right:0px;">
|
||||
@endif
|
||||
@include('app.pdf.invoice.partials.billing-address')
|
||||
@endif
|
||||
@include('app.pdf.invoice.partials.billing-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
</div>
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Invoice</title>
|
||||
{{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
@ -14,12 +14,13 @@
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.header-line {
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
left: 0px;
|
||||
@ -28,11 +29,11 @@
|
||||
}
|
||||
|
||||
hr {
|
||||
color:rgba(0, 0, 0, 0.2);
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
border: 0.5px solid #EAF1FB;
|
||||
}
|
||||
|
||||
.items-table-hr{
|
||||
.items-table-hr {
|
||||
margin: 0 30px 0 30px;
|
||||
}
|
||||
|
||||
@ -41,9 +42,10 @@
|
||||
padding-top: 45px;
|
||||
padding-bottom: 45px;
|
||||
padding-left: 30px;
|
||||
display:inline-block;
|
||||
width:30%;
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.header-table {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
@ -51,47 +53,35 @@
|
||||
left: 0px;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
text-transform: capitalize;
|
||||
color: #817AE3;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
display:inline-block;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right:0;
|
||||
right: 0;
|
||||
padding: 15px 30px 15px 0px;
|
||||
float: right;
|
||||
}
|
||||
.inv-flex{
|
||||
display:flex;
|
||||
}
|
||||
.inv-data{
|
||||
text-align:right;
|
||||
margin-right:120px;
|
||||
}
|
||||
.inv-value{
|
||||
text-align:left;
|
||||
margin-left:160px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: block;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
display: block;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.address {
|
||||
@ -101,15 +91,16 @@
|
||||
|
||||
.bill-add {
|
||||
display: block;
|
||||
float:left;
|
||||
width:40%;
|
||||
float: left;
|
||||
width: 40%;
|
||||
padding: 0 0 0 30px;
|
||||
}
|
||||
|
||||
.company {
|
||||
padding-left: 30px;
|
||||
display: inline;
|
||||
float:left;
|
||||
width:30%;
|
||||
float: left;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.company h1 {
|
||||
@ -120,7 +111,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address{
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -130,7 +121,7 @@
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -------------------------- */
|
||||
/* -------------------------- */
|
||||
/* shipping style */
|
||||
.ship-to {
|
||||
padding-top: 5px;
|
||||
@ -169,7 +160,7 @@
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* -------------------------- */
|
||||
/* -------------------------- */
|
||||
/* billing style */
|
||||
.bill-to {
|
||||
padding-top: 5px;
|
||||
@ -195,7 +186,7 @@
|
||||
font-size: 10px;
|
||||
line-height: 15px;
|
||||
color: #595959;
|
||||
margin:0px;
|
||||
margin: 0px;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
@ -209,55 +200,53 @@
|
||||
}
|
||||
|
||||
|
||||
.job-add {
|
||||
.invoice-attributes {
|
||||
display: block;
|
||||
float: right;
|
||||
padding: 20px 30px 0 0;
|
||||
}
|
||||
|
||||
.amount-due {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: right;
|
||||
}
|
||||
.main-table-header td {
|
||||
|
||||
.item-table-heading-row td {
|
||||
padding: 10px;
|
||||
}
|
||||
.main-table-header {
|
||||
|
||||
.item-table-heading-row {
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
tr.main-table-header th {
|
||||
|
||||
tr.item-table-heading-row th {
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
tr.item-details td {
|
||||
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.table2 {
|
||||
padding: 0px 30px 10px 30px;
|
||||
page-break-before: avoid;
|
||||
@ -265,17 +254,17 @@
|
||||
}
|
||||
|
||||
.table2 hr {
|
||||
height:0.1px;
|
||||
height: 0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -324,26 +313,26 @@
|
||||
}
|
||||
|
||||
td.invoice-total1 {
|
||||
text-align:left;
|
||||
text-align: left;
|
||||
padding: 15px 0 15px 10px;
|
||||
font-size:12px;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
color: #55547A;
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-left:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
border-left: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
td.invoice-total2 {
|
||||
font-weight: 500;
|
||||
text-align: right;
|
||||
font-size:12px;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
padding: 15px 10px 15px 0;
|
||||
color: #5851DB;
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-right:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
border-right: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
.inv-item {
|
||||
@ -353,16 +342,9 @@
|
||||
.no-border {
|
||||
border: none;
|
||||
}
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.company-details h1 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
@ -371,21 +353,24 @@
|
||||
text-align: left;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.company-details h4 {
|
||||
margin:0;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.company-details h3 {
|
||||
margin-bottom:1px;
|
||||
margin-top:0;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
tr.total td {
|
||||
border-bottom:1px solid #E8E8E8;
|
||||
border-top:1px solid #E8E8E8;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-top: 1px solid #E8E8E8;
|
||||
}
|
||||
|
||||
.notes {
|
||||
@ -411,21 +396,18 @@
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header-table">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
@if($logo)
|
||||
<td class="header-left">
|
||||
<td class="header-left">
|
||||
@if($logo)
|
||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||
@else
|
||||
@if($invoice->user->company)
|
||||
<td class="header-left" style="padding-top:0px;">
|
||||
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
||||
@endif
|
||||
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
||||
@endif
|
||||
</td>
|
||||
<td class="header-right company-details">
|
||||
@ -444,35 +426,36 @@
|
||||
@include('app.pdf.invoice.partials.billing-address')
|
||||
</div>
|
||||
@if($invoice->user->billingaddress)
|
||||
<div style="float:right;">
|
||||
@else
|
||||
<div style="float:right;">
|
||||
@else
|
||||
<div style="float:left;">
|
||||
@endif
|
||||
@include('app.pdf.invoice.partials.shipping-address')
|
||||
@endif
|
||||
@include('app.pdf.invoice.partials.shipping-address')
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
|
||||
<div style="display: block;float: right;padding: 20px 30px 0 0;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||
<td class="attribute-value"> {{$invoice->invoice_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||
<td class="attribute-value"> {{$invoice->formattedInvoiceDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Due date</td>
|
||||
<td class="attribute-value"> {{$invoice->formattedDueDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
|
||||
<div class="job-add">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||
<td class="textStyle2"> {{$invoice->invoice_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||
<td class="textStyle2"> {{$invoice->formattedInvoiceDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Due date</td>
|
||||
<td class="textStyle2"> {{$invoice->formattedDueDate}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
</div>
|
||||
@include('app.pdf.invoice.partials.table')
|
||||
@include('app.pdf.invoice.partials.notes')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@ -3,7 +3,7 @@
|
||||
@endif
|
||||
|
||||
@if($company_address)
|
||||
<p class="company-add">
|
||||
<p class="company-address">
|
||||
@if($company_address->addresses[0]['address_street_1'])
|
||||
{!! nl2br(htmlspecialchars($company_address->addresses[0]['address_street_1'])) !!} <br>
|
||||
@endif
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
{{$invoice->user->shippingaddress->country->name}}<br>
|
||||
@endif
|
||||
|
||||
@if($invoice->user->phone)
|
||||
@if($invoice->user->shippingaddress->phone)
|
||||
<p class="ship-user-phone">
|
||||
Phone :{{$invoice->user->shippingaddress->phone}}
|
||||
</p>
|
||||
|
||||
@ -1,46 +1,46 @@
|
||||
<table width="100%" class="table2" cellspacing="0" border="0">
|
||||
<tr class="main-table-header">
|
||||
<th width="2%" class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
||||
<th width="40%" class="ItemTableHeader" style="text-align: left; color: #55547A; padding-left: 0px">Items</th>
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">Quantity</th>
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||
<tr class="item-table-heading-row">
|
||||
<th width="2%" class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
||||
<th width="40%" class="item-table-heading" style="text-align: left; color: #55547A; padding-left: 0px">Items</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Quantity</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||
@if($invoice->discount_per_item === 'YES')
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A; padding-left: 10px">Discount</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-left: 10px">Discount</th>
|
||||
@endif
|
||||
<th class="ItemTableHeader" style="text-align: right; color: #55547A;">Amount</th>
|
||||
<th class="item-table-heading" style="text-align: right; color: #55547A;">Amount</th>
|
||||
</tr>
|
||||
@php
|
||||
$index = 1
|
||||
@endphp
|
||||
@foreach ($invoice->items as $item)
|
||||
<tr class="item-details">
|
||||
<tr class="item-row">
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
||||
>
|
||||
{{$index}}
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: left; color: #040405;padding-left: 0px"
|
||||
>
|
||||
<span>{{ $item->name }}</span><br>
|
||||
<span style="text-align: left; color: #595959; font-size: 9px; font-weight:300; line-height: 12px;">{!! nl2br(htmlspecialchars($item->description)) !!}</span>
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px"
|
||||
>
|
||||
{{$item->quantity}}
|
||||
</td>
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405; padding-right: 20px"
|
||||
>
|
||||
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
||||
</td>
|
||||
@if($invoice->discount_per_item === 'YES')
|
||||
<td class="inv-item items" style="text-align: right; color: #040405; padding-left: 10px">
|
||||
<td class="inv-item item-cell" style="text-align: right; color: #040405; padding-left: 10px">
|
||||
@if($item->discount_type === 'fixed')
|
||||
{!! format_money_pdf($item->discount_val, $invoice->user->currency) !!}
|
||||
@endif
|
||||
@ -50,7 +50,7 @@
|
||||
</td>
|
||||
@endif
|
||||
<td
|
||||
class="inv-item items"
|
||||
class="inv-item item-cell"
|
||||
style="text-align: right; color: #040405;"
|
||||
>
|
||||
{!! format_money_pdf($item->total, $invoice->user->currency) !!}
|
||||
@ -62,12 +62,12 @@
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
<hr class="items-table-hr">
|
||||
<hr class="item-cell-table-hr">
|
||||
|
||||
<table width="100%" cellspacing="0px" style="margin-left:420px; margin-top: 10px" border="0" class="table3 @if(count($invoice->items) > 12) page-break @endif">
|
||||
<tr>
|
||||
<td class="no-border" style="color: #55547A; padding-left:10px; font-size:12px;">Subtotal</td>
|
||||
<td class="no-border items padd2"
|
||||
<td class="no-border item-cell padd2"
|
||||
style="padding-right:10px; text-align: right; font-size:12px; color: #040405; font-weight: 500;">{!! format_money_pdf($invoice->sub_total, $invoice->user->currency) !!}</td>
|
||||
</tr>
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||
{{$labels[$i]}}
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
{!! format_money_pdf($taxes[$i], $invoice->user->currency) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@ -88,7 +88,7 @@
|
||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||
{{$tax->name.' ('.$tax->percent.'%)'}}
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
{!! format_money_pdf($tax->amount, $invoice->user->currency) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@ -105,7 +105,7 @@
|
||||
Discount ({{$invoice->discount}}%)
|
||||
@endif
|
||||
</td>
|
||||
<td class="no-border items padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
<td class="no-border item-cell padd2" style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; color: #040405">
|
||||
@if($invoice->discount_type === 'fixed')
|
||||
{!! format_money_pdf($invoice->discount_val, $invoice->user->currency) !!}
|
||||
@endif
|
||||
@ -126,7 +126,7 @@
|
||||
<label class="total-bottom"> Total </label>
|
||||
</td>
|
||||
<td
|
||||
class="no-border total-border-right items padd8"
|
||||
class="no-border total-border-right item-cell padd8"
|
||||
style="padding-right:10px; font-weight: 500; text-align: right; font-size:12px; padding-top:20px; color: #5851DB"
|
||||
>
|
||||
{!! format_money_pdf($invoice->total, $invoice->user->currency)!!}
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Invoice</title>
|
||||
{{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<style type="text/css">
|
||||
@ -70,11 +69,6 @@
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.TextColor1 {
|
||||
font-size: 16px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-top: 60px !important;
|
||||
}
|
||||
@ -109,7 +103,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.company-add {
|
||||
.company-address{
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@ -212,41 +206,33 @@
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.textRight {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.textLeft {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.textStyle1 {
|
||||
.attribute-label {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.textStyle2 {
|
||||
.attribute-value {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
text-align: right;
|
||||
}
|
||||
.main-table-header td {
|
||||
.item-table-heading-row td {
|
||||
padding: 10px;
|
||||
}
|
||||
.main-table-header {
|
||||
.item-table-heading-row {
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
tr.main-table-header th {
|
||||
tr.item-table-heading-row th {
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
tr.item-details td {
|
||||
tr.item-row td {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
@ -264,14 +250,14 @@
|
||||
height:0.1px;
|
||||
}
|
||||
|
||||
.ItemTableHeader {
|
||||
.item-table-heading {
|
||||
font-size: 13.5;
|
||||
text-align: center;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.items {
|
||||
.item-cell {
|
||||
font-size: 13;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
text-align: center;
|
||||
@ -349,14 +335,7 @@
|
||||
.no-border {
|
||||
border: none;
|
||||
}
|
||||
.desc {
|
||||
font-weight: 100;
|
||||
text-align: justify;
|
||||
font-size: 10px;
|
||||
margin-bottom: 15px;
|
||||
margin-top:7px;
|
||||
color:rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.company-details h1 {
|
||||
margin:0;
|
||||
font-style: normal;
|
||||
@ -494,21 +473,21 @@
|
||||
<div class="job-add">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Date</td>
|
||||
<td class="textStyle2"> {{$payment->formattedPaymentDate}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Date</td>
|
||||
<td class="attribute-value"> {{$payment->formattedPaymentDate}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Number</td>
|
||||
<td class="textStyle2"> {{$payment->payment_number}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Number</td>
|
||||
<td class="attribute-value"> {{$payment->payment_number}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Mode</td>
|
||||
<td class="textStyle2"> {{$payment->paymentMethod ? $payment->paymentMethod->name : '-'}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Mode</td>
|
||||
<td class="attribute-value"> {{$payment->paymentMethod ? $payment->paymentMethod->name : '-'}}</td>
|
||||
</tr>
|
||||
@if ($payment->invoice && $payment->invoice->invoice_number)
|
||||
<tr>
|
||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice</td>
|
||||
<td class="textStyle2"> {{$payment->invoice->invoice_number}}</td>
|
||||
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice</td>
|
||||
<td class="attribute-value"> {{$payment->invoice->invoice_number}}</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user