@lotics/cli 0.315.11 → 0.315.13
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/dist/src/cli.js +4 -4
- package/docs/document_templates.md +2 -1
- package/package.json +1 -1
|
@@ -111,7 +111,8 @@ create or update; none prints in the organization's language); an empty value pr
|
|
|
111
111
|
`{{money total "VND"}}` → `28.000.000 ₫` (`en`: `₫28,000,000`), `{{number qty}}` → grouped, up to 2 decimals,
|
|
112
112
|
`{{date issued_on}}` → `14/09/2026` (a moment on the workspace's timezone; a date-fns pattern as the second argument,
|
|
113
113
|
literal text quoted: `"'Ngày' dd"`), and `{{words total "USD"}}` → `Một nghìn đô la Mỹ năm mươi xu` (`en`: `One
|
|
114
|
-
thousand US dollars and fifty cents`; no code reads VND)
|
|
114
|
+
thousand US dollars and fifty cents`; no code reads VND); `{{date (add_days issued_on -1)}}` prints the day before, `add_days`
|
|
115
|
+
shifting a date by whole days. A value the helper cannot read fails the render.
|
|
115
116
|
|
|
116
117
|
Run `lotics tools create_excel_template`, `create_word_template`, `create_pdf_template`, or
|
|
117
118
|
`create_email_template` for each engine's exact marker grammar and helper list — don't guess it.
|