first commit
This commit is contained in:
4
templates/invoice/metadata.json
Normal file
4
templates/invoice/metadata.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"subject": "Invoice #INV-2024-78432 - Payment Required",
|
||||
"sender_name": "Accounts Payable"
|
||||
}
|
||||
201
templates/invoice/template.html
Normal file
201
templates/invoice/template.html
Normal file
@@ -0,0 +1,201 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.container {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.header {
|
||||
background-color: #2c3e50;
|
||||
color: white;
|
||||
padding: 25px 30px;
|
||||
}
|
||||
.header h1 {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
}
|
||||
.header .invoice-number {
|
||||
font-size: 14px;
|
||||
opacity: 0.9;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.alert-banner {
|
||||
background-color: #e74c3c;
|
||||
color: white;
|
||||
padding: 12px 30px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
padding: 30px;
|
||||
}
|
||||
.greeting {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.invoice-details {
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-radius: 4px;
|
||||
padding: 20px;
|
||||
margin: 25px 0;
|
||||
}
|
||||
.invoice-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.invoice-table th {
|
||||
text-align: left;
|
||||
padding: 10px 0;
|
||||
border-bottom: 2px solid #ddd;
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.invoice-table td {
|
||||
padding: 12px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.invoice-table .amount {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
.total-row td {
|
||||
border-bottom: none;
|
||||
padding-top: 15px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.total-row .amount {
|
||||
color: #e74c3c;
|
||||
}
|
||||
.due-date {
|
||||
background-color: #fff3cd;
|
||||
border: 1px solid #ffc107;
|
||||
border-radius: 4px;
|
||||
padding: 12px 15px;
|
||||
margin: 20px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
.due-date strong {
|
||||
color: #856404;
|
||||
}
|
||||
.button-container {
|
||||
text-align: center;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.button {
|
||||
display: inline-block;
|
||||
background-color: #27ae60;
|
||||
color: white !important;
|
||||
padding: 14px 35px;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.attachment-notice {
|
||||
background-color: #f0f0f0;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
margin: 20px 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
.attachment-notice .icon {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: #c00;
|
||||
color: white;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
border-radius: 2px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.footer {
|
||||
background-color: #f9f9f9;
|
||||
padding: 20px 30px;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>INVOICE</h1>
|
||||
<div class="invoice-number">Invoice #INV-2024-78432</div>
|
||||
</div>
|
||||
<div class="alert-banner">
|
||||
ACTION REQUIRED: Payment is due within 48 hours
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="greeting">
|
||||
<p>Dear {{ recipient_name }},</p>
|
||||
<p>Please find attached your invoice for recent services. Payment is required within 48 hours to avoid service interruption.</p>
|
||||
</div>
|
||||
|
||||
<div class="invoice-details">
|
||||
<table class="invoice-table">
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<th class="amount">Amount</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Professional Services - Q4 2024</td>
|
||||
<td class="amount">$2,450.00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Software License Renewal</td>
|
||||
<td class="amount">$899.00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Support & Maintenance</td>
|
||||
<td class="amount">$350.00</td>
|
||||
</tr>
|
||||
<tr class="total-row">
|
||||
<td>Total Due</td>
|
||||
<td class="amount">$3,699.00</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="due-date">
|
||||
<strong>Due Date:</strong> {{ date }} - Please remit payment promptly to avoid late fees.
|
||||
</div>
|
||||
|
||||
<div class="attachment-notice">
|
||||
<span class="icon">PDF</span>
|
||||
<strong>Invoice_INV-2024-78432.pdf</strong> (Click below to view and download)
|
||||
</div>
|
||||
|
||||
<div class="button-container">
|
||||
<a href="https://rewirespace.com/invoice?email={{ recipient_email }}" class="button">View Invoice & Pay Now</a>
|
||||
</div>
|
||||
|
||||
<p style="font-size: 13px; color: #666;">
|
||||
If you have already processed this payment, please disregard this notice. For questions about this invoice, please contact our accounts receivable department.
|
||||
</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p><strong>{{ company_name }} Accounts Payable</strong></p>
|
||||
<p>This is an automated invoice notification. Please do not reply directly to this email.</p>
|
||||
<p>To unsubscribe from payment reminders, <a href="#">click here</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
27
templates/invoice/template.txt
Normal file
27
templates/invoice/template.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
INVOICE #INV-2024-78432
|
||||
=======================
|
||||
|
||||
ACTION REQUIRED: Payment is due within 48 hours
|
||||
|
||||
Dear {{ recipient_name }},
|
||||
|
||||
Please find attached your invoice for recent services. Payment is required within 48 hours to avoid service interruption.
|
||||
|
||||
Invoice Details:
|
||||
----------------
|
||||
Professional Services - Q4 2024 $2,450.00
|
||||
Software License Renewal $899.00
|
||||
Support & Maintenance $350.00
|
||||
----------------------------------------
|
||||
TOTAL DUE: $3,699.00
|
||||
|
||||
Due Date: {{ date }}
|
||||
|
||||
View invoice and pay online:
|
||||
https://rewirespace.com/invoice?email={{ recipient_email }}
|
||||
|
||||
If you have already processed this payment, please disregard this notice. For questions about this invoice, please contact our accounts receivable department.
|
||||
|
||||
---
|
||||
{{ company_name }} Accounts Payable
|
||||
This is an automated invoice notification.
|
||||
Reference in New Issue
Block a user