Update invoice templates to use a consistent invoice identification number format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
$payment_method = 'payment_method_'.$invoice_data['header']['payment_method'];
|
||||
$invoice_identifcation_number = date('ymd', strtotime($invoice_date)) . '-' . $invoice_data['header']['id'];
|
||||
|
||||
$message = '
|
||||
<!DOCTYPE html>
|
||||
@@ -50,7 +51,7 @@ $message = '
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px 0;"><strong>Invoice Number:</strong></td>
|
||||
<td style="padding: 3px 0;">' . htmlspecialchars($order_id) . '</td>
|
||||
<td style="padding: 3px 0;">' . htmlspecialchars($invoice_identifcation_number) . '</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px 0;"><strong>Your Vat Number:</strong></td>
|
||||
|
||||
Reference in New Issue
Block a user