Add debugging for D-section calculation
Added: - Debug logging for total VAT collected and deductible amounts - This will help identify why line 25 shows wrong value (should be 406.28) - Will show what values are being summed for the totals
This commit is contained in:
parent
bb6f5a3724
commit
ddb6377245
@ -276,6 +276,9 @@ class DeclarationTVA
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Debug totals
|
||||||
|
error_log("DeclarationTVA: Total VAT collected: $total_vat_collected, Total VAT deductible: $total_vat_deductible");
|
||||||
|
|
||||||
// Calculate D-section result lines (25, 26, 28, 29)
|
// Calculate D-section result lines (25, 26, 28, 29)
|
||||||
$this->calculateDSectionLines($declaration_id, $total_vat_collected, $total_vat_deductible);
|
$this->calculateDSectionLines($declaration_id, $total_vat_collected, $total_vat_deductible);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user