invoice-system/templates/quote-template.html

297 lines
7.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 1.6;
color: #333;
}
.container {
max-width: 8.5in;
margin: 0 auto;
padding: 20px;
}
.header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 2px solid #333;
position: relative;
}
.company-info {
display: flex;
align-items: flex-start;
gap: 15px;
}
.logo {
width: 50px;
height: 50px;
}
.company-details h1 {
font-size: 16px;
font-weight: normal;
margin-bottom: 2px;
}
.company-details p {
font-size: 14px;
line-height: 1.4;
}
.tagline {
text-align: right;
font-style: italic;
font-size: 14px;
margin-bottom: 20px;
}
.contact-info {
text-align: right;
font-size: 13px;
line-height: 1.6;
}
.bill-to-section {
display: flex;
justify-content: space-between;
margin: 0px 0 20px 0;
}
.bill-to {
flex: 1;
}
.bill-to-label {
font-weight: bold;
margin-bottom: 5px;
}
.bill-to-address {
font-size: 14px;
line-height: 1.5;
}
.info-table {
border-collapse: collapse;
font-size: 13px;
margin-left: auto;
}
.info-table th {
background-color: #fff;
border: 1px solid #000;
padding: 8px;
font-weight: bold;
text-align: center;
}
.info-table td {
border: 1px solid #000;
padding: 8px;
text-align: center;
}
.items-table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 13px;
}
.items-table th {
background-color: #fff;
border: 1px solid #000;
padding: 8px;
font-weight: bold;
text-align: center;
}
.items-table td {
border: 1px solid #000;
padding: 10px;
vertical-align: top;
}
.items-table td.qty {
text-align: center;
width: 60px;
}
.items-table td.description {
text-align: left;
}
.items-table td.description ul,
.items-table td.description ol {
margin: 5px 0;
padding-left: 20px;
}
.items-table td.description li {
margin: 2px 0;
}
.items-table td.description p {
margin: 5px 0;
}
.items-table td.description strong {
font-weight: bold;
}
.items-table td.description em {
font-style: italic;
}
.items-table td.description u {
text-decoration: underline;
}
.items-table td.rate,
.items-table td.amount {
text-align: right;
width: 70px;
}
.footer-row td {
border: 1px solid #000;
padding: 10px;
}
.total-label {
text-align: right;
font-size: 16px;
font-weight: bold;
padding-right: 20px !important;
}
.subtotal-label {
text-align: right;
font-size: 14px;
font-weight: bold;
padding-right: 20px !important;
}
.tax-label {
text-align: right;
font-size: 14px;
font-weight: bold;
padding-right: 20px !important;
}
.downpayment-label {
text-align: right;
font-size: 14px;
font-weight: bold;
padding-right: 20px !important;
}
.total-amount {
text-align: right;
font-size: 14px;
font-weight: bold;
}
.thank-you {
font-size: 13px;
}
.logo-size {
height: 40px;
}
.document-type {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
color: #333;
position: absolute;
bottom: 0;
}
tr {
page-break-inside: avoid;
break-inside: avoid;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="company-info">
{{LOGO_HTML}}
<div class="company-details">
<h1>Bay Area Affiliates, Inc.</h1>
<p>1001 Blucher Street<br>
Corpus Christi, Texas 78401</p>
</div>
</div>
<div>
<div class="tagline">
<em>Providing IT Services and Support in South Texas Since 1996</em>
</div>
<div class="contact-info">
(361) 765-8400<br>
(361) 765-8401<br>
(361) 232-6578<br>
support@bayarea-cc.com
</div>
</div>
<div class="document-type">QUOTE</div>
</div>
<div class="bill-to-section">
<div class="bill-to">
<div class="bill-to-label">Quote For:</div>
<div class="bill-to-address">
{{CUSTOMER_NAME}}<br>
{{CUSTOMER_STREET}}<br>
{{CUSTOMER_CITY}}, {{CUSTOMER_STATE}} {{CUSTOMER_ZIP}}
</div>
</div>
<table class="info-table">
<thead>
<tr>
<th>QUOTE #</th>
<th>ACCOUNT NO.</th>
<th>DATE</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{QUOTE_NUMBER}}</td>
<td>{{ACCOUNT_NUMBER}}</td>
<td>{{QUOTE_DATE}}</td>
</tr>
</tbody>
</table>
</div>
<table class="items-table">
<thead>
<tr>
<th>QTY</th>
<th>DESCRIPTION</th>
<th>RATE</th>
<th>AMOUNT</th>
</tr>
</thead>
<tbody>
{{ITEMS}}
</tbody>
</table>
{{TBD_NOTE}}
</div>
</body>
</html>