Add debug logging for lines 28 and 29
- Added debug logging to see D28_amount and D29_amount values - This will help identify why lines 28 and 29 are not displaying in PDF - Debug will show if the values are being extracted correctly from ca3_data
This commit is contained in:
parent
e43cd7ed91
commit
07843dcf31
@ -349,6 +349,8 @@ class DeclarationTVA_PDF
|
||||
error_log("DeclarationTVA: A1_amount will be: " . $this->getCA3LineAmount($ca3_data, 'A1'));
|
||||
error_log("DeclarationTVA: B08_vat_amount will be: " . $this->getCA3LineAmount($ca3_data, '08', 'vat_amount'));
|
||||
error_log("DeclarationTVA: B09_vat_amount will be: " . $this->getCA3LineAmount($ca3_data, '09', 'vat_amount'));
|
||||
error_log("DeclarationTVA: D28_amount will be: " . $this->getCA3LineAmount($ca3_data, '28'));
|
||||
error_log("DeclarationTVA: D29_amount will be: " . $this->getCA3LineAmount($ca3_data, '29'));
|
||||
error_log("DeclarationTVA: total_vat_collected will be: " . $this->formatAmount($declaration->total_vat_collected));
|
||||
|
||||
// Section B: TVA due (Base + VAT columns)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user