From 86b3cfe639f559166811b4f5a1b8074d81001975 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Wed, 8 Oct 2025 01:09:52 +0200 Subject: [PATCH] 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 --- core/class/declarationtva_pdf.class.php | 2 +- templates/manifest.json | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index e6d375e..061f37c 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -64,7 +64,7 @@ class DeclarationTVA_PDF /** * @var string Template version */ - public $template_version = '30'; + public $template_version = '31'; /** * @var string Template document number diff --git a/templates/manifest.json b/templates/manifest.json index 8e09794..0fdd7ed 100644 --- a/templates/manifest.json +++ b/templates/manifest.json @@ -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" } } }