Commit Graph

13 Commits

Author SHA1 Message Date
“VeLiTi”
3131c2c5b2 Refactor invoice PDF generation and VAT validation
- Updated PDF template to display a fixed software code instead of "SOFTWARE".
- Changed VAT label to include tax label dynamically and set to 0% for certain conditions.
- Enhanced JavaScript for VAT number validation with asynchronous checks against the VIES database.
- Implemented debounce for VAT number input to optimize validation calls.
- Updated country settings to include country codes for VAT validation.
- Modified email sending functions in webhook handlers to use dynamic attachment names for invoices.
2026-02-06 16:02:56 +01:00
“VeLiTi”
d7b9b91bb6 Refactor authorization and token refresh logic; update tax handling and invoice generation
- Changed variable name from `$stmt_service` to `$stmt_refreshkey` for clarity in `authorization.php` and `token_refresh.php`.
- Added null coalescing operator to ensure criteria are set to an empty string if not provided in `products_software_versions.php`.
- Modified SQL script to add `eu` column to `taxes` table and update tax rates based on EU membership.
- Enhanced invoice generation logic in `functions.php` to include VAT notes based on customer country and VAT number.
- Updated email and PDF templates to display VAT notes and percentages correctly.
- Adjusted JavaScript tax calculation logic to handle VAT based on country and VAT number.
- Fixed API URL in `index.php` for token refresh endpoint.
- Updated countries data structure in `countries.php` to include EU membership status.
2026-02-05 15:26:41 +01:00
“VeLiTi”
e85794c580 Update invoice templates to use a consistent invoice identification number format 2026-02-05 10:27:47 +01:00
“VeLiTi”
5223f6bdfd Implement downgrade prevention for paid software versions and update invoice templates with new contact details 2026-02-03 12:46:59 +01:00
“VeLiTi”
e97d2e5ef2 Refactor partner dropdowns to utilize authorization permissions across various management pages. Enhance invoice creation in webhooks to include account hierarchy. Add marketing system migration script for transitioning files to database structure. 2026-02-03 09:10:33 +01:00
“VeLiTi”
f7733b4113 Add VAT number handling in order processing and invoice templates 2026-01-27 18:36:21 +01:00
“VeLiTi”
7aebb762d3 Refactor API endpoints and update invoice generation
- Updated API calls in equipment.php, equipment_manage.php, and equipments_mass_update.php to use v2 endpoints.
- Changed payload decoding from decode_payload to json_decode for consistency.
- Enhanced invoice generation in factuur.php and webhook files to use a new email template and PDF structure.
- Added new email and PDF templates for invoices to improve formatting and readability.
- Improved marketing folder handling in marketing.php with better payload management.
- Updated CSS for marketing to enhance UI interactions.
- Added JavaScript checks for browser compatibility in softwaretool.php.
- Adjusted user permissions in settingsprofiles.php to reflect new features.
2026-01-14 13:31:22 +01:00
“VeLiTi”
c20d2d9c6e CMXX - Mailer update 2025-05-09 14:18:06 +02:00
“VeLiTi”
e2ad92ec58 CM91 - Update reset template 2024-12-10 12:57:50 +01:00
“VeLiTi”
af8bc520e2 CM91 - Update email templates 2024-12-10 12:40:24 +01:00
“VeLiTi”
b72f329154 CM91 - RMA update 2024-12-10 11:49:04 +01:00
“VeLiTi”
1f97b33295 Update emailtemplate registration 2024-05-13 12:48:10 +02:00
“VeLiTi”
670b00eeab Initial commit 2024-03-15 12:43:10 +01:00