Update: 2026-05-05 01:19:43
This commit is contained in:
@@ -61,6 +61,13 @@ try {
|
||||
// company_name is stored plaintext in the companies table — no decryption needed
|
||||
// $invoice['company_name'] is already plaintext from the JOIN
|
||||
|
||||
// 3.5 Parse Validation Warnings
|
||||
if (isset($invoice['validation_warnings']) && $invoice['validation_warnings']) {
|
||||
$invoice['validation_warnings'] = json_decode($invoice['validation_warnings'], true);
|
||||
} else {
|
||||
$invoice['validation_warnings'] = [];
|
||||
}
|
||||
|
||||
// 4. Fetch JoFotara Submission Data (latest accepted submission)
|
||||
$stmtSub = $db->prepare("
|
||||
SELECT jofotara_uuid, submitted_at, qr_code_raw, response_body
|
||||
|
||||
Reference in New Issue
Block a user