Fix official template recognition for PDF generation
- Update isFillablePDF() to recognize ca3_official_template.pdf - Ensure official template is used for CA-3 form generation - Fix missing CA-3 pages in PDF output - Use official template instead of falling back to basic PDF generation
This commit is contained in:
parent
82a996700e
commit
c36b9c436b
@ -286,8 +286,9 @@ class DeclarationTVA_PDF
|
|||||||
*/
|
*/
|
||||||
private function isFillablePDF($pdf_path)
|
private function isFillablePDF($pdf_path)
|
||||||
{
|
{
|
||||||
// Simple check - if it's our custom template, assume it's fillable
|
// Check if it's our template (custom or official)
|
||||||
return strpos($pdf_path, 'ca3_custom_template.pdf') !== false;
|
return strpos($pdf_path, 'ca3_custom_template.pdf') !== false ||
|
||||||
|
strpos($pdf_path, 'ca3_official_template.pdf') !== false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user