mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
update templates
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Estimate</title>
|
<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" />
|
||||||
@ -51,32 +52,11 @@
|
|||||||
color: #817AE3;
|
color: #817AE3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-flex{
|
|
||||||
display:flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inv-data{
|
|
||||||
text-align:right;
|
|
||||||
margin-right:120px;
|
|
||||||
}
|
|
||||||
.inv-value{
|
|
||||||
text-align:left;
|
|
||||||
margin-left:160px;
|
|
||||||
}
|
|
||||||
.header {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
|
||||||
margin-top: 60px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
@ -93,8 +73,6 @@
|
|||||||
float: left;
|
float: left;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
display: inline;
|
|
||||||
float:left;
|
|
||||||
width: 30%;
|
width: 30%;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
@ -109,7 +87,7 @@
|
|||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -124,19 +102,12 @@
|
|||||||
float: right;
|
float: right;
|
||||||
padding: 10px 30px 0 0;
|
padding: 10px 30px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.amount-due {
|
.amount-due {
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -144,13 +115,14 @@
|
|||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bill-add {
|
.bill-add {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
padding: 0px 0 0 0px;
|
padding: 0px 0 0 0px;
|
||||||
@ -175,14 +147,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-name {
|
.ship-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-address {
|
.ship-user-address {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -193,6 +165,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-phone {
|
.ship-user-phone {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -222,8 +195,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-name {
|
.bill-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@ -263,7 +235,7 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
@ -271,7 +243,7 @@
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.main-table-header th {
|
tr.item-table-heading-row th {
|
||||||
border-bottom: 0.620315px solid #E8E8E8;
|
border-bottom: 0.620315px solid #E8E8E8;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -279,18 +251,18 @@
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-table-header {
|
.item-table-heading-row {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.item-details td {
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -307,6 +279,7 @@
|
|||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table3 {
|
.table3 {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -323,6 +296,7 @@
|
|||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding: 8px !important;
|
padding: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.total-border-right {
|
.total-border-right {
|
||||||
border: 1px solid #E8E8E8 !important;
|
border: 1px solid #E8E8E8 !important;
|
||||||
border-left: 0px !important;
|
border-left: 0px !important;
|
||||||
@ -330,6 +304,7 @@
|
|||||||
padding: 8px !important;
|
padding: 8px !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-item {
|
.inv-item {
|
||||||
border-color: #d9d9d9;
|
border-color: #d9d9d9;
|
||||||
}
|
}
|
||||||
@ -338,14 +313,6 @@
|
|||||||
border: none;
|
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 {
|
.notes {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -370,9 +337,9 @@
|
|||||||
height: 19.87px;
|
height: 19.87px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-table">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
@ -398,16 +365,16 @@
|
|||||||
<div class="job-add">
|
<div class="job-add">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Number</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||||
<td class="textStyle2"> {{$estimate->estimate_number}}</td>
|
<td class="attribute-value"> {{$estimate->estimate_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Date </td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||||
<td class="textStyle2"> {{$estimate->formattedEstimateDate}}</td>
|
<td class="attribute-value"> {{$estimate->formattedEstimateDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Expiry Date</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||||
<td class="textStyle2"> {{$estimate->formattedExpiryDate}}</td>
|
<td class="attribute-value"> {{$estimate->formattedExpiryDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -432,4 +399,5 @@
|
|||||||
@include('app.pdf.estimate.partials.notes')
|
@include('app.pdf.estimate.partials.notes')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Estimate</title>
|
<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" />
|
||||||
@ -12,6 +13,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
@ -23,9 +25,11 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
margin-top: 60px !important;
|
margin-top: 60px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-table {
|
.header-table {
|
||||||
background: #817AE3;
|
background: #817AE3;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -34,12 +38,14 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
top: -60px;
|
top: -60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-logo {
|
.header-logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
.header-right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 35%;
|
width: 35%;
|
||||||
@ -49,27 +55,12 @@
|
|||||||
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 {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
@ -80,6 +71,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company {
|
.company {
|
||||||
padding: 0 0 0 30px;
|
padding: 0 0 0 30px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -96,7 +88,7 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address{
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
@ -124,8 +116,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-name {
|
.bill-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@ -144,6 +135,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-phone {
|
.bill-user-phone {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -172,8 +164,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-name {
|
.ship-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@ -213,33 +204,25 @@
|
|||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-size: 12;
|
font-size: 12;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color: rgba(0, 0, 0, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-size: 12;
|
font-size: 12;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-table-header td {
|
.item-table-heading-row td {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-table-header {
|
.item-table-heading-row {
|
||||||
border-bottom: 1px solid red;
|
border-bottom: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -260,14 +243,14 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.main-table-header th {
|
tr.item-table-heading-row th {
|
||||||
border-bottom: 0.620315px solid #E8E8E8;
|
border-bottom: 0.620315px solid #E8E8E8;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -275,14 +258,14 @@
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.item-details td {
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -339,15 +322,6 @@
|
|||||||
border: none;
|
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;
|
text-align: center;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
@ -399,9 +373,9 @@
|
|||||||
height: 19.87px;
|
height: 19.87px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-table">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
@ -446,4 +420,5 @@
|
|||||||
@include('app.pdf.estimate.partials.notes')
|
@include('app.pdf.estimate.partials.notes')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Estimate</title>
|
<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" />
|
||||||
@ -13,6 +14,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
@ -50,12 +52,14 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
top: -60px;
|
top: -60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-logo {
|
.header-logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
color: #817AE3;
|
color: #817AE3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
.header-right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -63,31 +67,13 @@
|
|||||||
padding: 15px 30px 15px 0px;
|
padding: 15px 30px 15px 0px;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
.inv-flex{
|
|
||||||
display:flex;
|
|
||||||
}
|
|
||||||
.inv-data{
|
|
||||||
text-align:right;
|
|
||||||
margin-right:120px;
|
|
||||||
}
|
|
||||||
.inv-value{
|
|
||||||
text-align:left;
|
|
||||||
margin-left:160px;
|
|
||||||
}
|
|
||||||
.header {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
|
||||||
margin-top: 60px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
@ -105,6 +91,7 @@
|
|||||||
width: 40%;
|
width: 40%;
|
||||||
padding: 0 0 0 30px;
|
padding: 0 0 0 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company {
|
.company {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -120,7 +107,7 @@
|
|||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -214,50 +201,48 @@
|
|||||||
float: right;
|
float: right;
|
||||||
padding: 20px 30px 0 0;
|
padding: 20px 30px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.amount-due {
|
.amount-due {
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.main-table-header td {
|
|
||||||
|
.item-table-heading-row td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.main-table-header {
|
|
||||||
|
.item-table-heading-row {
|
||||||
border-bottom: 1px solid red;
|
border-bottom: 1px solid red;
|
||||||
}
|
}
|
||||||
tr.main-table-header th {
|
|
||||||
|
tr.item-table-heading-row th {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
tr.item-details td {
|
|
||||||
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table2 {
|
.table2 {
|
||||||
padding: 0px 30px 10px 30px;
|
padding: 0px 30px 10px 30px;
|
||||||
page-break-before: avoid;
|
page-break-before: avoid;
|
||||||
@ -268,14 +253,14 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -342,14 +327,7 @@
|
|||||||
.no-border {
|
.no-border {
|
||||||
border: none;
|
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 {
|
.company-details h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -360,6 +338,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
max-width: 220px;
|
max-width: 220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-details h4 {
|
.company-details h4 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -368,10 +347,12 @@
|
|||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-details h3 {
|
.company-details h3 {
|
||||||
margin-bottom: 1px;
|
margin-bottom: 1px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.total td {
|
tr.total td {
|
||||||
border-bottom: 1px solid #E8E8E8;
|
border-bottom: 1px solid #E8E8E8;
|
||||||
border-top: 1px solid #E8E8E8;
|
border-top: 1px solid #E8E8E8;
|
||||||
@ -400,9 +381,9 @@
|
|||||||
height: 19.87px;
|
height: 19.87px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-table">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
@ -445,16 +426,16 @@
|
|||||||
<div class="job-add">
|
<div class="job-add">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Number</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Number</td>
|
||||||
<td class="textStyle2"> {{$estimate->estimate_number}}</td>
|
<td class="attribute-value"> {{$estimate->estimate_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Estimate Date </td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Estimate Date </td>
|
||||||
<td class="textStyle2"> {{$estimate->formattedEstimateDate}}</td>
|
<td class="attribute-value"> {{$estimate->formattedEstimateDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Expiry Date</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Expiry Date</td>
|
||||||
<td class="textStyle2"> {{$estimate->formattedExpiryDate}}</td>
|
<td class="attribute-value"> {{$estimate->formattedExpiryDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -464,4 +445,5 @@
|
|||||||
@include('app.pdf.estimate.partials.notes')
|
@include('app.pdf.estimate.partials.notes')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,27 +1,27 @@
|
|||||||
<table width="100%" class="table2" cellspacing="0" border="0">
|
<table width="100%" class="table2" cellspacing="0" border="0">
|
||||||
<tr class="main-table-header">
|
<tr class="item-table-heading-row">
|
||||||
<th width="2%" class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
<th width="2%" class="item-table-heading" 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 width="40%" class="item-table-heading" 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="item-table-heading" 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>
|
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||||
@if($estimate->discount_per_item === 'YES')
|
@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
|
@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>
|
</tr>
|
||||||
@php
|
@php
|
||||||
$index = 1
|
$index = 1
|
||||||
@endphp
|
@endphp
|
||||||
@foreach ($estimate->items as $item)
|
@foreach ($estimate->items as $item)
|
||||||
<tr class="item-details">
|
<tr class="item-row">
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
||||||
>
|
>
|
||||||
{{$index}}
|
{{$index}}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: left; color: #040405;padding-left: 0px"
|
style="text-align: left; color: #040405;padding-left: 0px"
|
||||||
>
|
>
|
||||||
<span>{{ $item->name }}</span><br>
|
<span>{{ $item->name }}</span><br>
|
||||||
@ -32,19 +32,19 @@
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px"
|
style="text-align: right; color: #040405; padding-right: 20px"
|
||||||
>
|
>
|
||||||
{{$item->quantity}}
|
{{$item->quantity}}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px"
|
style="text-align: right; color: #040405; padding-right: 20px"
|
||||||
>
|
>
|
||||||
{!! format_money_pdf($item->price, $estimate->user->currency) !!}
|
{!! format_money_pdf($item->price, $estimate->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
@if($estimate->discount_per_item === 'YES')
|
@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')
|
@if($item->discount_type === 'fixed')
|
||||||
{!! format_money_pdf($item->discount_val, $estimate->user->currency) !!}
|
{!! format_money_pdf($item->discount_val, $estimate->user->currency) !!}
|
||||||
@endif
|
@endif
|
||||||
@ -53,7 +53,7 @@
|
|||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
@endif
|
@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) !!}
|
{!! format_money_pdf($item->total, $estimate->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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">
|
<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>
|
<tr>
|
||||||
<td class="no-borde" style="color: #55547A; padding-left:10px; font-size:12px;">Subtotal</td>
|
<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>
|
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>
|
</tr>
|
||||||
|
|
||||||
@ -78,7 +78,7 @@
|
|||||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||||
{{$labels[$i]}}
|
{{$labels[$i]}}
|
||||||
</td>
|
</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) !!}
|
{!! format_money_pdf($taxes[$i], $estimate->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -89,7 +89,7 @@
|
|||||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||||
{{$tax->name.' ('.$tax->percent.'%)'}}
|
{{$tax->name.' ('.$tax->percent.'%)'}}
|
||||||
</td>
|
</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) !!}
|
{!! format_money_pdf($tax->amount, $estimate->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -106,7 +106,7 @@
|
|||||||
Discount ({{$estimate->discount}}%)
|
Discount ({{$estimate->discount}}%)
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</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')
|
@if($estimate->discount_type === 'fixed')
|
||||||
{!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!}
|
{!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!}
|
||||||
@endif
|
@endif
|
||||||
@ -127,7 +127,7 @@
|
|||||||
<label class="total-bottom"> Total </label>
|
<label class="total-bottom"> Total </label>
|
||||||
</td>
|
</td>
|
||||||
<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"
|
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)!!}
|
{!! format_money_pdf($estimate->total, $estimate->user->currency)!!}
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
<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">
|
<style type="text/css">
|
||||||
|
/* -- Base -- */
|
||||||
body {
|
body {
|
||||||
font-family: "DejaVu Sans";
|
font-family: "DejaVu Sans";
|
||||||
}
|
}
|
||||||
@ -16,16 +17,8 @@
|
|||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
.text-center {
|
||||||
border-collapse: collapse;
|
text-align: center
|
||||||
}
|
|
||||||
|
|
||||||
.header-line {
|
|
||||||
color: rgba(0, 0, 0, 0.2);
|
|
||||||
position: absolute;
|
|
||||||
top: 90px;
|
|
||||||
left: 0px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@ -34,11 +27,17 @@
|
|||||||
border: 0.5px solid #EAF1FB;
|
border: 0.5px solid #EAF1FB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-center {
|
/* -- Header -- */
|
||||||
text-align: center
|
|
||||||
|
.header-bottom-divider {
|
||||||
|
color: rgba(0, 0, 0, 0.2);
|
||||||
|
position: absolute;
|
||||||
|
top: 90px;
|
||||||
|
left: 0px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-table {
|
.header-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
@ -53,66 +52,38 @@
|
|||||||
color: #817AE3;
|
color: #817AE3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inv-flex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inv-data {
|
|
||||||
text-align: right;
|
|
||||||
margin-right: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inv-value {
|
|
||||||
text-align: left;
|
|
||||||
margin-left: 160px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
.content-wrapper {
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
|
||||||
margin-top: 60px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.address {
|
.company-address-container {
|
||||||
/* display: inline-block; */
|
|
||||||
padding-top: 30px
|
|
||||||
}
|
|
||||||
|
|
||||||
.company {
|
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
display: inline;
|
|
||||||
float: left;
|
float: left;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company h1 {
|
.company-address-container h1 {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -122,25 +93,11 @@
|
|||||||
color: #595959;
|
color: #595959;
|
||||||
}
|
}
|
||||||
|
|
||||||
.job-add {
|
|
||||||
/* display: inline; */
|
|
||||||
float: right;
|
|
||||||
padding: 10px 30px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.amount-due {
|
.amount-due {
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -148,7 +105,7 @@
|
|||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -156,13 +113,7 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bill-add {
|
/* -- Shipping -- */
|
||||||
width: 45%;
|
|
||||||
padding: 0px 0 0 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------- */
|
|
||||||
/* shipping style */
|
|
||||||
|
|
||||||
.ship-address-container {
|
.ship-address-container {
|
||||||
float: right;
|
float: right;
|
||||||
@ -170,8 +121,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-to {
|
.ship-to {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@ -180,8 +129,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-name {
|
.ship-user-name {
|
||||||
max-width: 250px font-style: normal;
|
max-width: 250px;
|
||||||
font-weight: normal;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@ -200,8 +148,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-phone {
|
.ship-user-phone {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
color: #595959;
|
color: #595959;
|
||||||
@ -218,8 +164,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-to {
|
.bill-to {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@ -228,8 +172,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-name {
|
.bill-user-name {
|
||||||
max-width: 250px font-style: normal;
|
max-width: 250px;
|
||||||
font-weight: normal;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@ -237,8 +180,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-address {
|
.bill-user-address {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
color: #595959;
|
color: #595959;
|
||||||
@ -248,8 +189,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-phone {
|
.bill-user-phone {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
color: #595959;
|
color: #595959;
|
||||||
@ -269,14 +208,14 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.main-table-header th {
|
tr.item-table-heading-row th {
|
||||||
border-bottom: 0.620315px solid #E8E8E8;
|
border-bottom: 0.620315px solid #E8E8E8;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -284,14 +223,14 @@
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.item-details td {
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -345,18 +284,7 @@
|
|||||||
border: none;
|
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 {
|
.notes {
|
||||||
font-style: normal;
|
|
||||||
font-weight: 300;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #595959;
|
color: #595959;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
@ -367,8 +295,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notes-label {
|
.notes-label {
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
@ -381,10 +307,10 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-container">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="header-center">
|
<td class="text-center">
|
||||||
@if($logo)
|
@if($logo)
|
||||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||||
@else
|
@else
|
||||||
@ -395,49 +321,44 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<hr class="header-line" style="border: 0.620315px solid #E8E8E8;" />
|
<hr class="header-bottom-divider" style="border: 0.620315px solid #E8E8E8;" />
|
||||||
</div>
|
</div>
|
||||||
<div class="wrapper">
|
<div class="content-wrapper">
|
||||||
<div class="address">
|
<div style="padding-top: 30px">
|
||||||
<div class="company">
|
<div class="company-address-container">
|
||||||
@include('app.pdf.invoice.partials.company-address')
|
@include('app.pdf.invoice.partials.company-address')
|
||||||
</div>
|
</div>
|
||||||
<div class="job-add">
|
<div style="float: right; padding: 10px 30px 0 0;">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Number</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||||
<td class="textStyle2"> {{$invoice->invoice_number}}</td>
|
<td class="attribute-value"> {{$invoice->invoice_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Date </td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||||
<td class="textStyle2"> {{$invoice->formattedInvoiceDate}}</td>
|
<td class="attribute-value"> {{$invoice->formattedInvoiceDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Due date</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Due date</td>
|
||||||
<td class="textStyle2"> {{$invoice->formattedDueDate}}</td>
|
<td class="attribute-value"> {{$invoice->formattedDueDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bill-add">
|
|
||||||
<div class="bill-address-container">
|
<div class="bill-address-container">
|
||||||
@include('app.pdf.invoice.partials.billing-address')
|
@include('app.pdf.invoice.partials.billing-address')
|
||||||
</div>
|
</div>
|
||||||
@if($invoice->user->billingaddress)
|
|
||||||
<div class="ship-address-container">
|
<div class="ship-address-container" @if($invoice->user->billingaddress) style="float:left;" @endif>
|
||||||
@else
|
|
||||||
<div class="ship-address-container " style="float:left;padding-left:0px;">
|
|
||||||
@endif
|
|
||||||
@include('app.pdf.invoice.partials.shipping-address')
|
@include('app.pdf.invoice.partials.shipping-address')
|
||||||
</div>
|
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div style="position:relative">
|
<div style="position: relative; clear: both;">
|
||||||
@include('app.pdf.invoice.partials.table')
|
@include('app.pdf.invoice.partials.table')
|
||||||
</div>
|
</div>
|
||||||
@include('app.pdf.invoice.partials.notes')
|
@include('app.pdf.invoice.partials.notes')
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,8 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Invoice</title>
|
<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">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
@ -13,6 +13,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
@ -24,9 +25,11 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
margin-top: 60px !important;
|
margin-top: 60px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-table {
|
.header-table {
|
||||||
background: #817AE3;
|
background: #817AE3;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -35,12 +38,14 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
top: -60px;
|
top: -60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-logo {
|
.header-logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
.header-right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 35%;
|
width: 35%;
|
||||||
@ -50,27 +55,12 @@
|
|||||||
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 {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
@ -81,6 +71,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company {
|
.company {
|
||||||
padding: 0 0 0 30px;
|
padding: 0 0 0 30px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -97,7 +88,7 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address{
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
@ -125,8 +116,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-name {
|
.bill-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@ -145,6 +135,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bill-user-phone {
|
.bill-user-phone {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -173,8 +164,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ship-user-name {
|
.ship-user-name {
|
||||||
max-width: 250px
|
max-width: 250px font-style: normal;
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@ -214,33 +204,25 @@
|
|||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-size: 12;
|
font-size: 12;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color: rgba(0, 0, 0, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-size: 12;
|
font-size: 12;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-table-header td {
|
.item-table-heading-row td {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-table-header {
|
.item-table-heading-row {
|
||||||
border-bottom: 1px solid red;
|
border-bottom: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,14 +243,14 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.main-table-header th {
|
tr.item-table-heading-row th {
|
||||||
border-bottom: 0.620315px solid #E8E8E8;
|
border-bottom: 0.620315px solid #E8E8E8;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -276,14 +258,14 @@
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.item-details td {
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -340,15 +322,6 @@
|
|||||||
border: none;
|
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;
|
text-align: center;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
@ -400,9 +373,9 @@
|
|||||||
height: 19.87px;
|
height: 19.87px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-table">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
@ -447,4 +420,5 @@
|
|||||||
@include('app.pdf.invoice.partials.notes')
|
@include('app.pdf.invoice.partials.notes')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,8 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Invoice</title>
|
<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">
|
<style type="text/css">
|
||||||
@ -14,6 +14,7 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
@ -44,6 +45,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-table {
|
.header-table {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -51,12 +53,14 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
top: -60px;
|
top: -60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-logo {
|
.header-logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
color: #817AE3;
|
color: #817AE3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
.header-right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -64,30 +68,16 @@
|
|||||||
padding: 15px 30px 15px 0px;
|
padding: 15px 30px 15px 0px;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
.inv-flex{
|
|
||||||
display:flex;
|
|
||||||
}
|
|
||||||
.inv-data{
|
|
||||||
text-align:right;
|
|
||||||
margin-right:120px;
|
|
||||||
}
|
|
||||||
.inv-value{
|
|
||||||
text-align:left;
|
|
||||||
margin-left:160px;
|
|
||||||
}
|
|
||||||
.header {
|
.header {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
margin-top: 60px !important;
|
margin-top: 60px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
@ -105,6 +95,7 @@
|
|||||||
width: 40%;
|
width: 40%;
|
||||||
padding: 0 0 0 30px;
|
padding: 0 0 0 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company {
|
.company {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -120,7 +111,7 @@
|
|||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -209,55 +200,53 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.job-add {
|
.invoice-attributes {
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
padding: 20px 30px 0 0;
|
padding: 20px 30px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.amount-due {
|
.amount-due {
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.main-table-header td {
|
|
||||||
|
.item-table-heading-row td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.main-table-header {
|
|
||||||
|
.item-table-heading-row {
|
||||||
border-bottom: 1px solid red;
|
border-bottom: 1px solid red;
|
||||||
}
|
}
|
||||||
tr.main-table-header th {
|
|
||||||
|
tr.item-table-heading-row th {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
tr.item-details td {
|
|
||||||
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table2 {
|
.table2 {
|
||||||
padding: 0px 30px 10px 30px;
|
padding: 0px 30px 10px 30px;
|
||||||
page-break-before: avoid;
|
page-break-before: avoid;
|
||||||
@ -268,14 +257,14 @@
|
|||||||
height: 0.1px;
|
height: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -353,14 +342,7 @@
|
|||||||
.no-border {
|
.no-border {
|
||||||
border: none;
|
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 {
|
.company-details h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -371,6 +353,7 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
max-width: 220px;
|
max-width: 220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-details h4 {
|
.company-details h4 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -379,10 +362,12 @@
|
|||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-details h3 {
|
.company-details h3 {
|
||||||
margin-bottom: 1px;
|
margin-bottom: 1px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.total td {
|
tr.total td {
|
||||||
border-bottom: 1px solid #E8E8E8;
|
border-bottom: 1px solid #E8E8E8;
|
||||||
border-top: 1px solid #E8E8E8;
|
border-top: 1px solid #E8E8E8;
|
||||||
@ -411,22 +396,19 @@
|
|||||||
height: 19.87px;
|
height: 19.87px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="header-table">
|
<div class="header-table">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
@if($logo)
|
|
||||||
<td class="header-left">
|
<td class="header-left">
|
||||||
|
@if($logo)
|
||||||
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
<img class="header-logo" src="{{ $logo }}" alt="Company Logo">
|
||||||
@else
|
@else
|
||||||
@if($invoice->user->company)
|
|
||||||
<td class="header-left" style="padding-top:0px;">
|
|
||||||
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
|
||||||
@endif
|
@endif
|
||||||
@endif
|
|
||||||
</td>
|
</td>
|
||||||
<td class="header-right company-details">
|
<td class="header-right company-details">
|
||||||
@include('app.pdf.invoice.partials.company-address')
|
@include('app.pdf.invoice.partials.company-address')
|
||||||
@ -453,19 +435,19 @@
|
|||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="job-add">
|
<div style="display: block;float: right;padding: 20px 30px 0 0;">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Number</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Number</td>
|
||||||
<td class="textStyle2"> {{$invoice->invoice_number}}</td>
|
<td class="attribute-value"> {{$invoice->invoice_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice Date </td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice Date </td>
|
||||||
<td class="textStyle2"> {{$invoice->formattedInvoiceDate}}</td>
|
<td class="attribute-value"> {{$invoice->formattedInvoiceDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Due date</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Due date</td>
|
||||||
<td class="textStyle2"> {{$invoice->formattedDueDate}}</td>
|
<td class="attribute-value"> {{$invoice->formattedDueDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -475,4 +457,5 @@
|
|||||||
@include('app.pdf.invoice.partials.notes')
|
@include('app.pdf.invoice.partials.notes')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -3,7 +3,7 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if($company_address)
|
@if($company_address)
|
||||||
<p class="company-add">
|
<p class="company-address">
|
||||||
@if($company_address->addresses[0]['address_street_1'])
|
@if($company_address->addresses[0]['address_street_1'])
|
||||||
{!! nl2br(htmlspecialchars($company_address->addresses[0]['address_street_1'])) !!} <br>
|
{!! nl2br(htmlspecialchars($company_address->addresses[0]['address_street_1'])) !!} <br>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
{{$invoice->user->shippingaddress->country->name}}<br>
|
{{$invoice->user->shippingaddress->country->name}}<br>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if($invoice->user->phone)
|
@if($invoice->user->shippingaddress->phone)
|
||||||
<p class="ship-user-phone">
|
<p class="ship-user-phone">
|
||||||
Phone :{{$invoice->user->shippingaddress->phone}}
|
Phone :{{$invoice->user->shippingaddress->phone}}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -1,46 +1,46 @@
|
|||||||
<table width="100%" class="table2" cellspacing="0" border="0">
|
<table width="100%" class="table2" cellspacing="0" border="0">
|
||||||
<tr class="main-table-header">
|
<tr class="item-table-heading-row">
|
||||||
<th width="2%" class="ItemTableHeader" style="text-align: right; color: #55547A; padding-right: 20px">#</th>
|
<th width="2%" class="item-table-heading" 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 width="40%" class="item-table-heading" 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="item-table-heading" 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>
|
<th class="item-table-heading" style="text-align: right; color: #55547A; padding-right: 20px">Price</th>
|
||||||
@if($invoice->discount_per_item === 'YES')
|
@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
|
@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>
|
</tr>
|
||||||
@php
|
@php
|
||||||
$index = 1
|
$index = 1
|
||||||
@endphp
|
@endphp
|
||||||
@foreach ($invoice->items as $item)
|
@foreach ($invoice->items as $item)
|
||||||
<tr class="item-details">
|
<tr class="item-row">
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
style="text-align: right; color: #040405; padding-right: 20px; vertical-align: top;"
|
||||||
>
|
>
|
||||||
{{$index}}
|
{{$index}}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: left; color: #040405;padding-left: 0px"
|
style="text-align: left; color: #040405;padding-left: 0px"
|
||||||
>
|
>
|
||||||
<span>{{ $item->name }}</span><br>
|
<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>
|
<span style="text-align: left; color: #595959; font-size: 9px; font-weight:300; line-height: 12px;">{!! nl2br(htmlspecialchars($item->description)) !!}</span>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px"
|
style="text-align: right; color: #040405; padding-right: 20px"
|
||||||
>
|
>
|
||||||
{{$item->quantity}}
|
{{$item->quantity}}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405; padding-right: 20px"
|
style="text-align: right; color: #040405; padding-right: 20px"
|
||||||
>
|
>
|
||||||
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
@if($invoice->discount_per_item === 'YES')
|
@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')
|
@if($item->discount_type === 'fixed')
|
||||||
{!! format_money_pdf($item->discount_val, $invoice->user->currency) !!}
|
{!! format_money_pdf($item->discount_val, $invoice->user->currency) !!}
|
||||||
@endif
|
@endif
|
||||||
@ -50,7 +50,7 @@
|
|||||||
</td>
|
</td>
|
||||||
@endif
|
@endif
|
||||||
<td
|
<td
|
||||||
class="inv-item items"
|
class="inv-item item-cell"
|
||||||
style="text-align: right; color: #040405;"
|
style="text-align: right; color: #040405;"
|
||||||
>
|
>
|
||||||
{!! format_money_pdf($item->total, $invoice->user->currency) !!}
|
{!! format_money_pdf($item->total, $invoice->user->currency) !!}
|
||||||
@ -62,12 +62,12 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</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">
|
<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>
|
<tr>
|
||||||
<td class="no-border" style="color: #55547A; padding-left:10px; font-size:12px;">Subtotal</td>
|
<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>
|
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>
|
</tr>
|
||||||
|
|
||||||
@ -77,7 +77,7 @@
|
|||||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||||
{{$labels[$i]}}
|
{{$labels[$i]}}
|
||||||
</td>
|
</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) !!}
|
{!! format_money_pdf($taxes[$i], $invoice->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -88,7 +88,7 @@
|
|||||||
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
<td class="no-border" style="padding-left:10px; text-align:left; font-size:12px; color: #55547A;">
|
||||||
{{$tax->name.' ('.$tax->percent.'%)'}}
|
{{$tax->name.' ('.$tax->percent.'%)'}}
|
||||||
</td>
|
</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) !!}
|
{!! format_money_pdf($tax->amount, $invoice->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -105,7 +105,7 @@
|
|||||||
Discount ({{$invoice->discount}}%)
|
Discount ({{$invoice->discount}}%)
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</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')
|
@if($invoice->discount_type === 'fixed')
|
||||||
{!! format_money_pdf($invoice->discount_val, $invoice->user->currency) !!}
|
{!! format_money_pdf($invoice->discount_val, $invoice->user->currency) !!}
|
||||||
@endif
|
@endif
|
||||||
@ -126,7 +126,7 @@
|
|||||||
<label class="total-bottom"> Total </label>
|
<label class="total-bottom"> Total </label>
|
||||||
</td>
|
</td>
|
||||||
<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"
|
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)!!}
|
{!! format_money_pdf($invoice->total, $invoice->user->currency)!!}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Invoice</title>
|
<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">
|
<style type="text/css">
|
||||||
@ -70,11 +69,6 @@
|
|||||||
color: rgba(0, 0, 0, 0.7);
|
color: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TextColor1 {
|
|
||||||
font-size: 16px;
|
|
||||||
color: rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
margin-top: 60px !important;
|
margin-top: 60px !important;
|
||||||
}
|
}
|
||||||
@ -109,7 +103,7 @@
|
|||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-add {
|
.company-address{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -212,41 +206,33 @@
|
|||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textRight {
|
.attribute-label {
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textLeft {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textStyle1 {
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textStyle2 {
|
.attribute-value {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.main-table-header td {
|
.item-table-heading-row td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.main-table-header {
|
.item-table-heading-row {
|
||||||
border-bottom: 1px solid red;
|
border-bottom: 1px solid red;
|
||||||
}
|
}
|
||||||
tr.main-table-header th {
|
tr.item-table-heading-row th {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
tr.item-details td {
|
tr.item-row td {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -264,14 +250,14 @@
|
|||||||
height:0.1px;
|
height:0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ItemTableHeader {
|
.item-table-heading {
|
||||||
font-size: 13.5;
|
font-size: 13.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items {
|
.item-cell {
|
||||||
font-size: 13;
|
font-size: 13;
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -349,14 +335,7 @@
|
|||||||
.no-border {
|
.no-border {
|
||||||
border: none;
|
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 {
|
.company-details h1 {
|
||||||
margin:0;
|
margin:0;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -494,21 +473,21 @@
|
|||||||
<div class="job-add">
|
<div class="job-add">
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Date</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Date</td>
|
||||||
<td class="textStyle2"> {{$payment->formattedPaymentDate}}</td>
|
<td class="attribute-value"> {{$payment->formattedPaymentDate}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Number</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Number</td>
|
||||||
<td class="textStyle2"> {{$payment->payment_number}}</td>
|
<td class="attribute-value"> {{$payment->payment_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Payment Mode</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Payment Mode</td>
|
||||||
<td class="textStyle2"> {{$payment->paymentMethod ? $payment->paymentMethod->name : '-'}}</td>
|
<td class="attribute-value"> {{$payment->paymentMethod ? $payment->paymentMethod->name : '-'}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@if ($payment->invoice && $payment->invoice->invoice_number)
|
@if ($payment->invoice && $payment->invoice->invoice_number)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="textStyle1" style="text-align: left; color: #55547A">Invoice</td>
|
<td class="attribute-label" style="text-align: left; color: #55547A">Invoice</td>
|
||||||
<td class="textStyle2"> {{$payment->invoice->invoice_number}}</td>
|
<td class="attribute-value"> {{$payment->invoice->invoice_number}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user