Update template version to 31

- Update hardcoded template version in PDF class to 31
- Update manifest.json current_version to 31
- Add new release entry for version 31
- Enable version checking and update notifications
This commit is contained in:
Frank Cools 2025-10-08 01:09:52 +02:00
parent afd681a057
commit 86b3cfe639
2 changed files with 8 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class DeclarationTVA_PDF
/**
* @var string Template version
*/
public $template_version = '30';
public $template_version = '31';
/**
* @var string Template document number

View File

@ -1,7 +1,7 @@
{
"templates": {
"ca3": {
"current_version": "30",
"current_version": "31",
"document_number": "10963*30",
"description": "Official CA-3 VAT Declaration Template",
"releases": {
@ -10,6 +10,12 @@
"checksum": "sha256:placeholder_checksum_here",
"release_date": "2025-01-27",
"description": "Initial CA-3 template version 30"
},
"31": {
"download_url": "https://git.covago.com/frank/DeclarationTVA/raw/branch/main/templates/declarationtva/ca3_official_template.pdf",
"checksum": "sha256:placeholder_checksum_here",
"release_date": "2025-01-27",
"description": "Updated CA-3 template version 31"
}
}
}