Commit Graph

5 Commits

Author SHA1 Message Date
“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”
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