medusajs-documents-plugin 1.1.36 → 1.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.medusa/server/src/api/admin/documents/templates/preview/route.js +9 -3
- package/.medusa/server/src/api/documents/templates/preview/route.js +9 -3
- package/.medusa/server/src/modules/documents/service.js +23 -20
- package/.medusa/server/src/services/pdfkit-generator.js +30 -12
- package/CHANGELOG.md +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [1.1.37] - 2026-11-01
|
|
11
|
+
|
|
12
|
+
### Invoice Payment Links, Document QR Codes on Bottom-Right, and Layout Overlap Elimination
|
|
13
|
+
- **Invoice Payment Link Inclusion**: Ensured all invoices consistently display `Pay Online: <payment_link>` in bold in the payment & banking details and render a dedicated payment QR code on the bottom right with a clear "Scan to Pay Online" sub-label.
|
|
14
|
+
- **Non-Payment Document QR Codes**: Configured non-payment documents (Job Cards, Quotes/Estimates, Certificates, IT Asset Handover, Service & Diagnostic Reports) to display the public document/tracking link QR code on the bottom right with appropriate sub-labels ("Scan to Track Repair", "Scan to View Quote", "Scan to Verify Document") and strictly omitted all payment links.
|
|
15
|
+
- **Elimination of Data Overlaps & Conflicting Stamps**:
|
|
16
|
+
- Removed duplicate header QR codes from Modern, Classic, and Minimal templates so only one QR code appears on the bottom right.
|
|
17
|
+
- Eliminated duplicate `postProcessPdf` stamping over PDFKit outputs.
|
|
18
|
+
- Constrained all footer notes, payment instructions, terms, and signature lines to `width: 440pt` (stopping before `x = 485pt`), leaving the bottom-right QR column (`490..555pt`) completely clear.
|
|
19
|
+
- **Preview Endpoints Alignment**: Updated both admin and store template preview endpoints to reflect correct payment links and specific QR codes per document preset.
|
|
20
|
+
|
|
10
21
|
## [1.1.35] - 2026-11-01
|
|
11
22
|
|
|
12
23
|
### Repair Ticket Linking, Customer Personal Name Preservation, Multi-Page Certificate Support & Dynamic Sizing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "medusajs-documents-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.38",
|
|
4
4
|
"description": "Comprehensive document generation and management module for Medusa v2 with Zoho Books integration, PDFKit fallback, QR codes, shortlinks, multi-channel notifications and unified admin hub.",
|
|
5
5
|
"author": "Urban Device Care <info@urbandevicecare.co.uk>",
|
|
6
6
|
"license": "MIT",
|