customer report
This commit is contained in:
65
templates/customer-revenue-template.html
Normal file
65
templates/customer-revenue-template.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!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; }
|
||||
.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; }
|
||||
.report-info { margin-bottom: 20px; }
|
||||
.report-info h2 { font-size: 18px; margin-bottom: 4px; }
|
||||
.report-info p { font-size: 13px; color: #555; }
|
||||
.items-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 12px; }
|
||||
.items-table th { background-color: #f5f5f5; border: 1px solid #000; padding: 8px; font-weight: bold; text-align: center; }
|
||||
.items-table td { border: 1px solid #000; padding: 8px; }
|
||||
.items-table td.name { text-align: left; }
|
||||
.items-table td.number { text-align: right; }
|
||||
.items-table tr.footer-row td { background-color: #f5f5f5; font-weight: bold; border-top: 2px solid #000; }
|
||||
.items-table tr.footer-row td.total-label { text-align: right; }
|
||||
.items-table tr.footer-row td.total-amount { text-align: right; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="company-info">
|
||||
{{LOGO_HTML}}
|
||||
<div class="company-details">
|
||||
<h1>Thumann IT LLC</h1>
|
||||
<p>4639 Corona Dr, Ste 39<br>Corpus Christi, TX 78411</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tagline">IT Services & Consulting</div>
|
||||
|
||||
<div class="report-info">
|
||||
<h2>Customer Revenue Report</h2>
|
||||
<p>Period: {{DATE_RANGE}} · Generated: {{GENERATED_DATE}}</p>
|
||||
</div>
|
||||
|
||||
<table class="items-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Customer</th>
|
||||
<th>Invoices</th>
|
||||
<th>Revenue (net)</th>
|
||||
<th>% of Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ROWS}}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p style="text-align:right; font-size:11px; color:#888; margin-top:10px;">
|
||||
Revenue = sum of invoice subtotals (excludes sales tax). Voided invoices are excluded.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user