Update invoice templates to use a consistent invoice identification number format

This commit is contained in:
“VeLiTi”
2026-02-05 10:27:47 +01:00
parent ee426cf5ea
commit e85794c580
2 changed files with 4 additions and 2 deletions

View File

@@ -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'];
$pdf = '<!DOCTYPE html>
<html lang="' . strtolower($language) . '">
@@ -232,7 +233,7 @@ $pdf = '<!DOCTYPE html>
</div>
<div class="detail-row">
<div class="detail-label">Invoice Number</div>
<div class="detail-value">: ' . htmlspecialchars($order_id) . '</div>
<div class="detail-value">: ' . htmlspecialchars($invoice_identifcation_number) . '</div>
</div>
<div class="detail-row">
<div class="detail-label">Your Vat Number</div>