@ketvietlab/ketsuite 0.1.1
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/LICENSE +21 -0
- package/README.md +19 -0
- package/dist/index.d.ts +119 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +118 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/account/functions.d.ts +14 -0
- package/dist/modules/account/functions.d.ts.map +1 -0
- package/dist/modules/account/functions.js +1038 -0
- package/dist/modules/account/functions.js.map +1 -0
- package/dist/modules/account/index.d.ts +5 -0
- package/dist/modules/account/index.d.ts.map +1 -0
- package/dist/modules/account/index.js +31 -0
- package/dist/modules/account/index.js.map +1 -0
- package/dist/modules/account/models.d.ts +3 -0
- package/dist/modules/account/models.d.ts.map +1 -0
- package/dist/modules/account/models.js +151 -0
- package/dist/modules/account/models.js.map +1 -0
- package/dist/modules/account/relations.d.ts +3 -0
- package/dist/modules/account/relations.d.ts.map +1 -0
- package/dist/modules/account/relations.js +35 -0
- package/dist/modules/account/relations.js.map +1 -0
- package/dist/modules/account/setup.d.ts +4 -0
- package/dist/modules/account/setup.d.ts.map +1 -0
- package/dist/modules/account/setup.js +179 -0
- package/dist/modules/account/setup.js.map +1 -0
- package/dist/modules/account/tt99.d.ts +30 -0
- package/dist/modules/account/tt99.d.ts.map +1 -0
- package/dist/modules/account/tt99.js +1661 -0
- package/dist/modules/account/tt99.js.map +1 -0
- package/dist/modules/account_activity_backend/index.d.ts +5 -0
- package/dist/modules/account_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/account_activity_backend/index.js +27 -0
- package/dist/modules/account_activity_backend/index.js.map +1 -0
- package/dist/modules/account_backend/accounting-overview-screen.d.ts +18 -0
- package/dist/modules/account_backend/accounting-overview-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/accounting-overview-screen.js +104 -0
- package/dist/modules/account_backend/accounting-overview-screen.js.map +1 -0
- package/dist/modules/account_backend/accounts-screen.d.ts +13 -0
- package/dist/modules/account_backend/accounts-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/accounts-screen.js +49 -0
- package/dist/modules/account_backend/accounts-screen.js.map +1 -0
- package/dist/modules/account_backend/customer-invoices-screen.d.ts +14 -0
- package/dist/modules/account_backend/customer-invoices-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/customer-invoices-screen.js +63 -0
- package/dist/modules/account_backend/customer-invoices-screen.js.map +1 -0
- package/dist/modules/account_backend/general-ledger-screen.d.ts +13 -0
- package/dist/modules/account_backend/general-ledger-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/general-ledger-screen.js +56 -0
- package/dist/modules/account_backend/general-ledger-screen.js.map +1 -0
- package/dist/modules/account_backend/index.d.ts +3 -0
- package/dist/modules/account_backend/index.d.ts.map +1 -0
- package/dist/modules/account_backend/index.js +1516 -0
- package/dist/modules/account_backend/index.js.map +1 -0
- package/dist/modules/account_backend/journal-entries-screen.d.ts +14 -0
- package/dist/modules/account_backend/journal-entries-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/journal-entries-screen.js +45 -0
- package/dist/modules/account_backend/journal-entries-screen.js.map +1 -0
- package/dist/modules/account_backend/journals-screen.d.ts +14 -0
- package/dist/modules/account_backend/journals-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/journals-screen.js +53 -0
- package/dist/modules/account_backend/journals-screen.js.map +1 -0
- package/dist/modules/account_backend/move-detail-screen.d.ts +10 -0
- package/dist/modules/account_backend/move-detail-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/move-detail-screen.js +100 -0
- package/dist/modules/account_backend/move-detail-screen.js.map +1 -0
- package/dist/modules/account_backend/partner-ledger-screen.d.ts +14 -0
- package/dist/modules/account_backend/partner-ledger-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/partner-ledger-screen.js +69 -0
- package/dist/modules/account_backend/partner-ledger-screen.js.map +1 -0
- package/dist/modules/account_backend/payment-terms-screen.d.ts +14 -0
- package/dist/modules/account_backend/payment-terms-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/payment-terms-screen.js +40 -0
- package/dist/modules/account_backend/payment-terms-screen.js.map +1 -0
- package/dist/modules/account_backend/payments-screen.d.ts +14 -0
- package/dist/modules/account_backend/payments-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/payments-screen.js +54 -0
- package/dist/modules/account_backend/payments-screen.js.map +1 -0
- package/dist/modules/account_backend/screens.d.ts +7 -0
- package/dist/modules/account_backend/screens.d.ts.map +1 -0
- package/dist/modules/account_backend/screens.js +7 -0
- package/dist/modules/account_backend/screens.js.map +1 -0
- package/dist/modules/account_backend/taxes-screen.d.ts +15 -0
- package/dist/modules/account_backend/taxes-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/taxes-screen.js +73 -0
- package/dist/modules/account_backend/taxes-screen.js.map +1 -0
- package/dist/modules/account_backend/trial-balance-screen.d.ts +13 -0
- package/dist/modules/account_backend/trial-balance-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/trial-balance-screen.js +62 -0
- package/dist/modules/account_backend/trial-balance-screen.js.map +1 -0
- package/dist/modules/account_backend/vendor-bills-screen.d.ts +14 -0
- package/dist/modules/account_backend/vendor-bills-screen.d.ts.map +1 -0
- package/dist/modules/account_backend/vendor-bills-screen.js +59 -0
- package/dist/modules/account_backend/vendor-bills-screen.js.map +1 -0
- package/dist/modules/account_mail_backend/index.d.ts +5 -0
- package/dist/modules/account_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/account_mail_backend/index.js +28 -0
- package/dist/modules/account_mail_backend/index.js.map +1 -0
- package/dist/modules/account_partner/functions.d.ts +3 -0
- package/dist/modules/account_partner/functions.d.ts.map +1 -0
- package/dist/modules/account_partner/functions.js +85 -0
- package/dist/modules/account_partner/functions.js.map +1 -0
- package/dist/modules/account_partner/index.d.ts +3 -0
- package/dist/modules/account_partner/index.d.ts.map +1 -0
- package/dist/modules/account_partner/index.js +48 -0
- package/dist/modules/account_partner/index.js.map +1 -0
- package/dist/modules/account_partner_backend/index.d.ts +4 -0
- package/dist/modules/account_partner_backend/index.d.ts.map +1 -0
- package/dist/modules/account_partner_backend/index.js +49 -0
- package/dist/modules/account_partner_backend/index.js.map +1 -0
- package/dist/modules/account_partner_backend/routes.d.ts +3 -0
- package/dist/modules/account_partner_backend/routes.d.ts.map +1 -0
- package/dist/modules/account_partner_backend/routes.js +69 -0
- package/dist/modules/account_partner_backend/routes.js.map +1 -0
- package/dist/modules/account_partner_backend/screens.d.ts +16 -0
- package/dist/modules/account_partner_backend/screens.d.ts.map +1 -0
- package/dist/modules/account_partner_backend/screens.js +26 -0
- package/dist/modules/account_partner_backend/screens.js.map +1 -0
- package/dist/modules/activity/functions.d.ts +3 -0
- package/dist/modules/activity/functions.d.ts.map +1 -0
- package/dist/modules/activity/functions.js +250 -0
- package/dist/modules/activity/functions.js.map +1 -0
- package/dist/modules/activity/index.d.ts +9 -0
- package/dist/modules/activity/index.d.ts.map +1 -0
- package/dist/modules/activity/index.js +33 -0
- package/dist/modules/activity/index.js.map +1 -0
- package/dist/modules/activity/models.d.ts +3 -0
- package/dist/modules/activity/models.d.ts.map +1 -0
- package/dist/modules/activity/models.js +81 -0
- package/dist/modules/activity/models.js.map +1 -0
- package/dist/modules/activity/operations.d.ts +39 -0
- package/dist/modules/activity/operations.d.ts.map +1 -0
- package/dist/modules/activity/operations.js +226 -0
- package/dist/modules/activity/operations.js.map +1 -0
- package/dist/modules/activity/relations.d.ts +3 -0
- package/dist/modules/activity/relations.d.ts.map +1 -0
- package/dist/modules/activity/relations.js +24 -0
- package/dist/modules/activity/relations.js.map +1 -0
- package/dist/modules/activity/target.d.ts +4 -0
- package/dist/modules/activity/target.d.ts.map +1 -0
- package/dist/modules/activity/target.js +149 -0
- package/dist/modules/activity/target.js.map +1 -0
- package/dist/modules/activity/types.d.ts +9 -0
- package/dist/modules/activity/types.d.ts.map +1 -0
- package/dist/modules/activity/types.js +5 -0
- package/dist/modules/activity/types.js.map +1 -0
- package/dist/modules/activity_backend/index.d.ts +5 -0
- package/dist/modules/activity_backend/index.d.ts.map +1 -0
- package/dist/modules/activity_backend/index.js +80 -0
- package/dist/modules/activity_backend/index.js.map +1 -0
- package/dist/modules/activity_backend/islands.d.ts +3 -0
- package/dist/modules/activity_backend/islands.d.ts.map +1 -0
- package/dist/modules/activity_backend/islands.js +20 -0
- package/dist/modules/activity_backend/islands.js.map +1 -0
- package/dist/modules/activity_backend/routes.d.ts +5 -0
- package/dist/modules/activity_backend/routes.d.ts.map +1 -0
- package/dist/modules/activity_backend/routes.js +53 -0
- package/dist/modules/activity_backend/routes.js.map +1 -0
- package/dist/modules/activity_backend/screens.d.ts +5 -0
- package/dist/modules/activity_backend/screens.d.ts.map +1 -0
- package/dist/modules/activity_backend/screens.js +52 -0
- package/dist/modules/activity_backend/screens.js.map +1 -0
- package/dist/modules/address/data/VN/NOTICE.md +15 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/divisions/0001.json +8002 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/divisions/0002.json +8002 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/divisions/0003.json +8002 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/divisions/0004.json +2842 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/manifest.json +77 -0
- package/dist/modules/address/data/VN/catalogs/2025-07-01/policy.json +49 -0
- package/dist/modules/address/data/countries.json +11 -0
- package/dist/modules/address/data/index.json +14 -0
- package/dist/modules/address/format.d.ts +37 -0
- package/dist/modules/address/format.d.ts.map +1 -0
- package/dist/modules/address/format.js +146 -0
- package/dist/modules/address/format.js.map +1 -0
- package/dist/modules/address/functions.d.ts +3 -0
- package/dist/modules/address/functions.d.ts.map +1 -0
- package/dist/modules/address/functions.js +320 -0
- package/dist/modules/address/functions.js.map +1 -0
- package/dist/modules/address/index.d.ts +6 -0
- package/dist/modules/address/index.d.ts.map +1 -0
- package/dist/modules/address/index.js +20 -0
- package/dist/modules/address/index.js.map +1 -0
- package/dist/modules/address/loader.d.ts +74 -0
- package/dist/modules/address/loader.d.ts.map +1 -0
- package/dist/modules/address/loader.js +144 -0
- package/dist/modules/address/loader.js.map +1 -0
- package/dist/modules/address/messages.d.ts +51 -0
- package/dist/modules/address/messages.d.ts.map +1 -0
- package/dist/modules/address/messages.js +51 -0
- package/dist/modules/address/messages.js.map +1 -0
- package/dist/modules/address/models.d.ts +8 -0
- package/dist/modules/address/models.d.ts.map +1 -0
- package/dist/modules/address/models.js +98 -0
- package/dist/modules/address/models.js.map +1 -0
- package/dist/modules/address/relations.d.ts +3 -0
- package/dist/modules/address/relations.d.ts.map +1 -0
- package/dist/modules/address/relations.js +22 -0
- package/dist/modules/address/relations.js.map +1 -0
- package/dist/modules/address_backend/index.d.ts +4 -0
- package/dist/modules/address_backend/index.d.ts.map +1 -0
- package/dist/modules/address_backend/index.js +90 -0
- package/dist/modules/address_backend/index.js.map +1 -0
- package/dist/modules/address_backend/routes.d.ts +3 -0
- package/dist/modules/address_backend/routes.d.ts.map +1 -0
- package/dist/modules/address_backend/routes.js +87 -0
- package/dist/modules/address_backend/routes.js.map +1 -0
- package/dist/modules/address_backend/screens.d.ts +31 -0
- package/dist/modules/address_backend/screens.d.ts.map +1 -0
- package/dist/modules/address_backend/screens.js +147 -0
- package/dist/modules/address_backend/screens.js.map +1 -0
- package/dist/modules/attendance/functions.d.ts +3 -0
- package/dist/modules/attendance/functions.d.ts.map +1 -0
- package/dist/modules/attendance/functions.js +750 -0
- package/dist/modules/attendance/functions.js.map +1 -0
- package/dist/modules/attendance/index.d.ts +5 -0
- package/dist/modules/attendance/index.d.ts.map +1 -0
- package/dist/modules/attendance/index.js +20 -0
- package/dist/modules/attendance/index.js.map +1 -0
- package/dist/modules/attendance/messages.d.ts +41 -0
- package/dist/modules/attendance/messages.d.ts.map +1 -0
- package/dist/modules/attendance/messages.js +41 -0
- package/dist/modules/attendance/messages.js.map +1 -0
- package/dist/modules/attendance/models.d.ts +3 -0
- package/dist/modules/attendance/models.d.ts.map +1 -0
- package/dist/modules/attendance/models.js +158 -0
- package/dist/modules/attendance/models.js.map +1 -0
- package/dist/modules/attendance/relations.d.ts +3 -0
- package/dist/modules/attendance/relations.d.ts.map +1 -0
- package/dist/modules/attendance/relations.js +12 -0
- package/dist/modules/attendance/relations.js.map +1 -0
- package/dist/modules/attendance/types.d.ts +9 -0
- package/dist/modules/attendance/types.d.ts.map +1 -0
- package/dist/modules/attendance/types.js +5 -0
- package/dist/modules/attendance/types.js.map +1 -0
- package/dist/modules/attendance_backend/index.d.ts +4 -0
- package/dist/modules/attendance_backend/index.d.ts.map +1 -0
- package/dist/modules/attendance_backend/index.js +182 -0
- package/dist/modules/attendance_backend/index.js.map +1 -0
- package/dist/modules/attendance_backend/qr.d.ts +2 -0
- package/dist/modules/attendance_backend/qr.d.ts.map +1 -0
- package/dist/modules/attendance_backend/qr.js +120 -0
- package/dist/modules/attendance_backend/qr.js.map +1 -0
- package/dist/modules/attendance_backend/routes.d.ts +3 -0
- package/dist/modules/attendance_backend/routes.d.ts.map +1 -0
- package/dist/modules/attendance_backend/routes.js +131 -0
- package/dist/modules/attendance_backend/routes.js.map +1 -0
- package/dist/modules/attendance_backend/screens.d.ts +10 -0
- package/dist/modules/attendance_backend/screens.d.ts.map +1 -0
- package/dist/modules/attendance_backend/screens.js +227 -0
- package/dist/modules/attendance_backend/screens.js.map +1 -0
- package/dist/modules/backend/catalogue.d.ts +10 -0
- package/dist/modules/backend/catalogue.d.ts.map +1 -0
- package/dist/modules/backend/catalogue.js +615 -0
- package/dist/modules/backend/catalogue.js.map +1 -0
- package/dist/modules/backend/design/HANDOFF.md +356 -0
- package/dist/modules/backend/design/admin.css +4229 -0
- package/dist/modules/backend/design/client/relation-select-view.d.mts +5 -0
- package/dist/modules/backend/design/client/relation-select-view.d.mts.map +1 -0
- package/dist/modules/backend/design/client/relation-select-view.mjs +335 -0
- package/dist/modules/backend/design/client/relation-select-view.mjs.map +1 -0
- package/dist/modules/backend/design/client/relation-select.d.mts +5 -0
- package/dist/modules/backend/design/client/relation-select.d.mts.map +1 -0
- package/dist/modules/backend/design/client/relation-select.mjs +7 -0
- package/dist/modules/backend/design/client/relation-select.mjs.map +1 -0
- package/dist/modules/backend/design/fixtures/product-back.svg +11 -0
- package/dist/modules/backend/design/fixtures/product-front.svg +9 -0
- package/dist/modules/backend/design/screenshots/apps-desktop-dark.png +0 -0
- package/dist/modules/backend/design/screenshots/list-mobile-dark.png +0 -0
- package/dist/modules/backend/design/screenshots/product-list-favorites-desktop-en.png +0 -0
- package/dist/modules/backend/design/screenshots/product-list-filter-desktop-en.png +0 -0
- package/dist/modules/backend/design/screenshots/product-list-filter-mobile-en.png +0 -0
- package/dist/modules/backend/design/screenshots/product-list-grouped-desktop.png +0 -0
- package/dist/modules/backend/design/screenshots/product-list-grouped-mobile.png +0 -0
- package/dist/modules/backend/design/tokens.css +132 -0
- package/dist/modules/backend/forms.d.ts +7 -0
- package/dist/modules/backend/forms.d.ts.map +1 -0
- package/dist/modules/backend/forms.js +25 -0
- package/dist/modules/backend/forms.js.map +1 -0
- package/dist/modules/backend/index.d.ts +24 -0
- package/dist/modules/backend/index.d.ts.map +1 -0
- package/dist/modules/backend/index.js +61 -0
- package/dist/modules/backend/index.js.map +1 -0
- package/dist/modules/backend/islands.d.ts +3 -0
- package/dist/modules/backend/islands.d.ts.map +1 -0
- package/dist/modules/backend/islands.js +13 -0
- package/dist/modules/backend/islands.js.map +1 -0
- package/dist/modules/backend/joints.d.ts +13 -0
- package/dist/modules/backend/joints.d.ts.map +1 -0
- package/dist/modules/backend/joints.js +33 -0
- package/dist/modules/backend/joints.js.map +1 -0
- package/dist/modules/backend/menus.d.ts +3 -0
- package/dist/modules/backend/menus.d.ts.map +1 -0
- package/dist/modules/backend/menus.js +25 -0
- package/dist/modules/backend/menus.js.map +1 -0
- package/dist/modules/backend/messages.d.ts +11 -0
- package/dist/modules/backend/messages.d.ts.map +1 -0
- package/dist/modules/backend/messages.js +161 -0
- package/dist/modules/backend/messages.js.map +1 -0
- package/dist/modules/backend/paging.d.ts +22 -0
- package/dist/modules/backend/paging.d.ts.map +1 -0
- package/dist/modules/backend/paging.js +56 -0
- package/dist/modules/backend/paging.js.map +1 -0
- package/dist/modules/backend/relation-select.d.ts +63 -0
- package/dist/modules/backend/relation-select.d.ts.map +1 -0
- package/dist/modules/backend/relation-select.js +20 -0
- package/dist/modules/backend/relation-select.js.map +1 -0
- package/dist/modules/backend/routes.d.ts +10 -0
- package/dist/modules/backend/routes.d.ts.map +1 -0
- package/dist/modules/backend/routes.js +123 -0
- package/dist/modules/backend/routes.js.map +1 -0
- package/dist/modules/backend/saved-searches.d.ts +4 -0
- package/dist/modules/backend/saved-searches.d.ts.map +1 -0
- package/dist/modules/backend/saved-searches.js +138 -0
- package/dist/modules/backend/saved-searches.js.map +1 -0
- package/dist/modules/backend/screens.d.ts +37 -0
- package/dist/modules/backend/screens.d.ts.map +1 -0
- package/dist/modules/backend/screens.js +107 -0
- package/dist/modules/backend/screens.js.map +1 -0
- package/dist/modules/calendar/functions.d.ts +3 -0
- package/dist/modules/calendar/functions.d.ts.map +1 -0
- package/dist/modules/calendar/functions.js +259 -0
- package/dist/modules/calendar/functions.js.map +1 -0
- package/dist/modules/calendar/index.d.ts +9 -0
- package/dist/modules/calendar/index.d.ts.map +1 -0
- package/dist/modules/calendar/index.js +36 -0
- package/dist/modules/calendar/index.js.map +1 -0
- package/dist/modules/calendar/jobs.d.ts +3 -0
- package/dist/modules/calendar/jobs.d.ts.map +1 -0
- package/dist/modules/calendar/jobs.js +57 -0
- package/dist/modules/calendar/jobs.js.map +1 -0
- package/dist/modules/calendar/models.d.ts +3 -0
- package/dist/modules/calendar/models.d.ts.map +1 -0
- package/dist/modules/calendar/models.js +90 -0
- package/dist/modules/calendar/models.js.map +1 -0
- package/dist/modules/calendar/operations.d.ts +45 -0
- package/dist/modules/calendar/operations.d.ts.map +1 -0
- package/dist/modules/calendar/operations.js +280 -0
- package/dist/modules/calendar/operations.js.map +1 -0
- package/dist/modules/calendar/recurrence.d.ts +28 -0
- package/dist/modules/calendar/recurrence.d.ts.map +1 -0
- package/dist/modules/calendar/recurrence.js +175 -0
- package/dist/modules/calendar/recurrence.js.map +1 -0
- package/dist/modules/calendar/relations.d.ts +3 -0
- package/dist/modules/calendar/relations.d.ts.map +1 -0
- package/dist/modules/calendar/relations.js +22 -0
- package/dist/modules/calendar/relations.js.map +1 -0
- package/dist/modules/calendar/types.d.ts +10 -0
- package/dist/modules/calendar/types.d.ts.map +1 -0
- package/dist/modules/calendar/types.js +6 -0
- package/dist/modules/calendar/types.js.map +1 -0
- package/dist/modules/calendar_activity/index.d.ts +6 -0
- package/dist/modules/calendar_activity/index.d.ts.map +1 -0
- package/dist/modules/calendar_activity/index.js +250 -0
- package/dist/modules/calendar_activity/index.js.map +1 -0
- package/dist/modules/calendar_backend/index.d.ts +5 -0
- package/dist/modules/calendar_backend/index.d.ts.map +1 -0
- package/dist/modules/calendar_backend/index.js +47 -0
- package/dist/modules/calendar_backend/index.js.map +1 -0
- package/dist/modules/calendar_backend/islands.d.ts +3 -0
- package/dist/modules/calendar_backend/islands.d.ts.map +1 -0
- package/dist/modules/calendar_backend/islands.js +12 -0
- package/dist/modules/calendar_backend/islands.js.map +1 -0
- package/dist/modules/calendar_backend/routes.d.ts +3 -0
- package/dist/modules/calendar_backend/routes.d.ts.map +1 -0
- package/dist/modules/calendar_backend/routes.js +43 -0
- package/dist/modules/calendar_backend/routes.js.map +1 -0
- package/dist/modules/calendar_backend/screens.d.ts +5 -0
- package/dist/modules/calendar_backend/screens.d.ts.map +1 -0
- package/dist/modules/calendar_backend/screens.js +4 -0
- package/dist/modules/calendar_backend/screens.js.map +1 -0
- package/dist/modules/calendar_mail_transport/index.d.ts +6 -0
- package/dist/modules/calendar_mail_transport/index.d.ts.map +1 -0
- package/dist/modules/calendar_mail_transport/index.js +138 -0
- package/dist/modules/calendar_mail_transport/index.js.map +1 -0
- package/dist/modules/catalog/index.d.ts +3 -0
- package/dist/modules/catalog/index.d.ts.map +1 -0
- package/dist/modules/catalog/index.js +68 -0
- package/dist/modules/catalog/index.js.map +1 -0
- package/dist/modules/checkout/index.d.ts +3 -0
- package/dist/modules/checkout/index.d.ts.map +1 -0
- package/dist/modules/checkout/index.js +50 -0
- package/dist/modules/checkout/index.js.map +1 -0
- package/dist/modules/company/functions.d.ts +3 -0
- package/dist/modules/company/functions.d.ts.map +1 -0
- package/dist/modules/company/functions.js +337 -0
- package/dist/modules/company/functions.js.map +1 -0
- package/dist/modules/company/index.d.ts +3 -0
- package/dist/modules/company/index.d.ts.map +1 -0
- package/dist/modules/company/index.js +23 -0
- package/dist/modules/company/index.js.map +1 -0
- package/dist/modules/company/messages.d.ts +63 -0
- package/dist/modules/company/messages.d.ts.map +1 -0
- package/dist/modules/company/messages.js +63 -0
- package/dist/modules/company/messages.js.map +1 -0
- package/dist/modules/company/models.d.ts +19 -0
- package/dist/modules/company/models.d.ts.map +1 -0
- package/dist/modules/company/models.js +61 -0
- package/dist/modules/company/models.js.map +1 -0
- package/dist/modules/company/relations.d.ts +3 -0
- package/dist/modules/company/relations.d.ts.map +1 -0
- package/dist/modules/company/relations.js +14 -0
- package/dist/modules/company/relations.js.map +1 -0
- package/dist/modules/company_backend/index.d.ts +5 -0
- package/dist/modules/company_backend/index.d.ts.map +1 -0
- package/dist/modules/company_backend/index.js +136 -0
- package/dist/modules/company_backend/index.js.map +1 -0
- package/dist/modules/company_backend/menus.d.ts +3 -0
- package/dist/modules/company_backend/menus.d.ts.map +1 -0
- package/dist/modules/company_backend/menus.js +17 -0
- package/dist/modules/company_backend/menus.js.map +1 -0
- package/dist/modules/company_backend/routes.d.ts +3 -0
- package/dist/modules/company_backend/routes.d.ts.map +1 -0
- package/dist/modules/company_backend/routes.js +269 -0
- package/dist/modules/company_backend/routes.js.map +1 -0
- package/dist/modules/company_backend/screens.d.ts +62 -0
- package/dist/modules/company_backend/screens.d.ts.map +1 -0
- package/dist/modules/company_backend/screens.js +268 -0
- package/dist/modules/company_backend/screens.js.map +1 -0
- package/dist/modules/crm/functions.d.ts +5 -0
- package/dist/modules/crm/functions.d.ts.map +1 -0
- package/dist/modules/crm/functions.js +840 -0
- package/dist/modules/crm/functions.js.map +1 -0
- package/dist/modules/crm/index.d.ts +6 -0
- package/dist/modules/crm/index.d.ts.map +1 -0
- package/dist/modules/crm/index.js +22 -0
- package/dist/modules/crm/index.js.map +1 -0
- package/dist/modules/crm/jobs.d.ts +4 -0
- package/dist/modules/crm/jobs.d.ts.map +1 -0
- package/dist/modules/crm/jobs.js +3 -0
- package/dist/modules/crm/jobs.js.map +1 -0
- package/dist/modules/crm/messages.d.ts +37 -0
- package/dist/modules/crm/messages.d.ts.map +1 -0
- package/dist/modules/crm/messages.js +68 -0
- package/dist/modules/crm/messages.js.map +1 -0
- package/dist/modules/crm/models.d.ts +3 -0
- package/dist/modules/crm/models.d.ts.map +1 -0
- package/dist/modules/crm/models.js +215 -0
- package/dist/modules/crm/models.js.map +1 -0
- package/dist/modules/crm/operations.d.ts +121 -0
- package/dist/modules/crm/operations.d.ts.map +1 -0
- package/dist/modules/crm/operations.js +744 -0
- package/dist/modules/crm/operations.js.map +1 -0
- package/dist/modules/crm/search.d.ts +67 -0
- package/dist/modules/crm/search.d.ts.map +1 -0
- package/dist/modules/crm/search.js +89 -0
- package/dist/modules/crm/search.js.map +1 -0
- package/dist/modules/crm/types.d.ts +10 -0
- package/dist/modules/crm/types.d.ts.map +1 -0
- package/dist/modules/crm/types.js +6 -0
- package/dist/modules/crm/types.js.map +1 -0
- package/dist/modules/crm_backend/client/crm-kanban-view.d.mts +8 -0
- package/dist/modules/crm_backend/client/crm-kanban-view.d.mts.map +1 -0
- package/dist/modules/crm_backend/client/crm-kanban-view.mjs +129 -0
- package/dist/modules/crm_backend/client/crm-kanban-view.mjs.map +1 -0
- package/dist/modules/crm_backend/client/crm-kanban.d.mts +3 -0
- package/dist/modules/crm_backend/client/crm-kanban.d.mts.map +1 -0
- package/dist/modules/crm_backend/client/crm-kanban.mjs +7 -0
- package/dist/modules/crm_backend/client/crm-kanban.mjs.map +1 -0
- package/dist/modules/crm_backend/client/crm.css +69 -0
- package/dist/modules/crm_backend/index.d.ts +4 -0
- package/dist/modules/crm_backend/index.d.ts.map +1 -0
- package/dist/modules/crm_backend/index.js +54 -0
- package/dist/modules/crm_backend/index.js.map +1 -0
- package/dist/modules/crm_backend/islands.d.ts +9 -0
- package/dist/modules/crm_backend/islands.d.ts.map +1 -0
- package/dist/modules/crm_backend/islands.js +13 -0
- package/dist/modules/crm_backend/islands.js.map +1 -0
- package/dist/modules/crm_backend/list-search.d.ts +21 -0
- package/dist/modules/crm_backend/list-search.d.ts.map +1 -0
- package/dist/modules/crm_backend/list-search.js +220 -0
- package/dist/modules/crm_backend/list-search.js.map +1 -0
- package/dist/modules/crm_backend/messages.d.ts +183 -0
- package/dist/modules/crm_backend/messages.d.ts.map +1 -0
- package/dist/modules/crm_backend/messages.js +182 -0
- package/dist/modules/crm_backend/messages.js.map +1 -0
- package/dist/modules/crm_backend/routes.d.ts +3 -0
- package/dist/modules/crm_backend/routes.d.ts.map +1 -0
- package/dist/modules/crm_backend/routes.js +520 -0
- package/dist/modules/crm_backend/routes.js.map +1 -0
- package/dist/modules/crm_backend/screens.d.ts +32 -0
- package/dist/modules/crm_backend/screens.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens.js +405 -0
- package/dist/modules/crm_backend/screens.js.map +1 -0
- package/dist/modules/crm_sale/index.d.ts +4 -0
- package/dist/modules/crm_sale/index.d.ts.map +1 -0
- package/dist/modules/crm_sale/index.js +18 -0
- package/dist/modules/crm_sale/index.js.map +1 -0
- package/dist/modules/crm_sale/messages.d.ts +10 -0
- package/dist/modules/crm_sale/messages.d.ts.map +1 -0
- package/dist/modules/crm_sale/messages.js +14 -0
- package/dist/modules/crm_sale/messages.js.map +1 -0
- package/dist/modules/crm_sale/models.d.ts +3 -0
- package/dist/modules/crm_sale/models.d.ts.map +1 -0
- package/dist/modules/crm_sale/models.js +16 -0
- package/dist/modules/crm_sale/models.js.map +1 -0
- package/dist/modules/crm_sale/sale-functions.d.ts +15 -0
- package/dist/modules/crm_sale/sale-functions.d.ts.map +1 -0
- package/dist/modules/crm_sale/sale-functions.js +139 -0
- package/dist/modules/crm_sale/sale-functions.js.map +1 -0
- package/dist/modules/crm_website/functions.d.ts +3 -0
- package/dist/modules/crm_website/functions.d.ts.map +1 -0
- package/dist/modules/crm_website/functions.js +65 -0
- package/dist/modules/crm_website/functions.js.map +1 -0
- package/dist/modules/crm_website/index.d.ts +3 -0
- package/dist/modules/crm_website/index.d.ts.map +1 -0
- package/dist/modules/crm_website/index.js +19 -0
- package/dist/modules/crm_website/index.js.map +1 -0
- package/dist/modules/crm_website/messages.d.ts +20 -0
- package/dist/modules/crm_website/messages.d.ts.map +1 -0
- package/dist/modules/crm_website/messages.js +34 -0
- package/dist/modules/crm_website/messages.js.map +1 -0
- package/dist/modules/crm_website/models.d.ts +3 -0
- package/dist/modules/crm_website/models.d.ts.map +1 -0
- package/dist/modules/crm_website/models.js +15 -0
- package/dist/modules/crm_website/models.js.map +1 -0
- package/dist/modules/crm_website/routes.d.ts +3 -0
- package/dist/modules/crm_website/routes.d.ts.map +1 -0
- package/dist/modules/crm_website/routes.js +71 -0
- package/dist/modules/crm_website/routes.js.map +1 -0
- package/dist/modules/crm_website/screens.d.ts +5 -0
- package/dist/modules/crm_website/screens.d.ts.map +1 -0
- package/dist/modules/crm_website/screens.js +15 -0
- package/dist/modules/crm_website/screens.js.map +1 -0
- package/dist/modules/hospitality_core/calendar.d.ts +9 -0
- package/dist/modules/hospitality_core/calendar.d.ts.map +1 -0
- package/dist/modules/hospitality_core/calendar.js +41 -0
- package/dist/modules/hospitality_core/calendar.js.map +1 -0
- package/dist/modules/hospitality_core/content.d.ts +13 -0
- package/dist/modules/hospitality_core/content.d.ts.map +1 -0
- package/dist/modules/hospitality_core/content.js +345 -0
- package/dist/modules/hospitality_core/content.js.map +1 -0
- package/dist/modules/hospitality_core/functions.d.ts +3 -0
- package/dist/modules/hospitality_core/functions.d.ts.map +1 -0
- package/dist/modules/hospitality_core/functions.js +1558 -0
- package/dist/modules/hospitality_core/functions.js.map +1 -0
- package/dist/modules/hospitality_core/housekeeping.d.ts +3 -0
- package/dist/modules/hospitality_core/housekeeping.d.ts.map +1 -0
- package/dist/modules/hospitality_core/housekeeping.js +352 -0
- package/dist/modules/hospitality_core/housekeeping.js.map +1 -0
- package/dist/modules/hospitality_core/index.d.ts +5 -0
- package/dist/modules/hospitality_core/index.d.ts.map +1 -0
- package/dist/modules/hospitality_core/index.js +41 -0
- package/dist/modules/hospitality_core/index.js.map +1 -0
- package/dist/modules/hospitality_core/inventory.d.ts +40 -0
- package/dist/modules/hospitality_core/inventory.d.ts.map +1 -0
- package/dist/modules/hospitality_core/inventory.js +627 -0
- package/dist/modules/hospitality_core/inventory.js.map +1 -0
- package/dist/modules/hospitality_core/menus.d.ts +3 -0
- package/dist/modules/hospitality_core/menus.d.ts.map +1 -0
- package/dist/modules/hospitality_core/menus.js +134 -0
- package/dist/modules/hospitality_core/menus.js.map +1 -0
- package/dist/modules/hospitality_core/messages.d.ts +3 -0
- package/dist/modules/hospitality_core/messages.d.ts.map +1 -0
- package/dist/modules/hospitality_core/messages.js +2011 -0
- package/dist/modules/hospitality_core/messages.js.map +1 -0
- package/dist/modules/hospitality_core/models.d.ts +10 -0
- package/dist/modules/hospitality_core/models.d.ts.map +1 -0
- package/dist/modules/hospitality_core/models.js +657 -0
- package/dist/modules/hospitality_core/models.js.map +1 -0
- package/dist/modules/hospitality_core/night-audit.d.ts +26 -0
- package/dist/modules/hospitality_core/night-audit.d.ts.map +1 -0
- package/dist/modules/hospitality_core/night-audit.js +381 -0
- package/dist/modules/hospitality_core/night-audit.js.map +1 -0
- package/dist/modules/hospitality_core/operations.d.ts +3 -0
- package/dist/modules/hospitality_core/operations.d.ts.map +1 -0
- package/dist/modules/hospitality_core/operations.js +1562 -0
- package/dist/modules/hospitality_core/operations.js.map +1 -0
- package/dist/modules/hospitality_core/relations.d.ts +3 -0
- package/dist/modules/hospitality_core/relations.d.ts.map +1 -0
- package/dist/modules/hospitality_core/relations.js +175 -0
- package/dist/modules/hospitality_core/relations.js.map +1 -0
- package/dist/modules/hospitality_core/routes.d.ts +3 -0
- package/dist/modules/hospitality_core/routes.d.ts.map +1 -0
- package/dist/modules/hospitality_core/routes.js +1556 -0
- package/dist/modules/hospitality_core/routes.js.map +1 -0
- package/dist/modules/hospitality_core/screens.d.ts +763 -0
- package/dist/modules/hospitality_core/screens.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens.js +4138 -0
- package/dist/modules/hospitality_core/screens.js.map +1 -0
- package/dist/modules/hospitality_core/services.d.ts +9 -0
- package/dist/modules/hospitality_core/services.d.ts.map +1 -0
- package/dist/modules/hospitality_core/services.js +586 -0
- package/dist/modules/hospitality_core/services.js.map +1 -0
- package/dist/modules/hospitality_core/stay-notices.d.ts +11 -0
- package/dist/modules/hospitality_core/stay-notices.d.ts.map +1 -0
- package/dist/modules/hospitality_core/stay-notices.js +338 -0
- package/dist/modules/hospitality_core/stay-notices.js.map +1 -0
- package/dist/modules/hospitality_core/types.d.ts +61 -0
- package/dist/modules/hospitality_core/types.d.ts.map +1 -0
- package/dist/modules/hospitality_core/types.js +65 -0
- package/dist/modules/hospitality_core/types.js.map +1 -0
- package/dist/modules/hr/functions.d.ts +3 -0
- package/dist/modules/hr/functions.d.ts.map +1 -0
- package/dist/modules/hr/functions.js +711 -0
- package/dist/modules/hr/functions.js.map +1 -0
- package/dist/modules/hr/index.d.ts +5 -0
- package/dist/modules/hr/index.d.ts.map +1 -0
- package/dist/modules/hr/index.js +20 -0
- package/dist/modules/hr/index.js.map +1 -0
- package/dist/modules/hr/messages.d.ts +45 -0
- package/dist/modules/hr/messages.d.ts.map +1 -0
- package/dist/modules/hr/messages.js +45 -0
- package/dist/modules/hr/messages.js.map +1 -0
- package/dist/modules/hr/models.d.ts +3 -0
- package/dist/modules/hr/models.d.ts.map +1 -0
- package/dist/modules/hr/models.js +166 -0
- package/dist/modules/hr/models.js.map +1 -0
- package/dist/modules/hr/relations.d.ts +3 -0
- package/dist/modules/hr/relations.d.ts.map +1 -0
- package/dist/modules/hr/relations.js +19 -0
- package/dist/modules/hr/relations.js.map +1 -0
- package/dist/modules/hr/types.d.ts +9 -0
- package/dist/modules/hr/types.d.ts.map +1 -0
- package/dist/modules/hr/types.js +5 -0
- package/dist/modules/hr/types.js.map +1 -0
- package/dist/modules/hr_backend/index.d.ts +4 -0
- package/dist/modules/hr_backend/index.d.ts.map +1 -0
- package/dist/modules/hr_backend/index.js +142 -0
- package/dist/modules/hr_backend/index.js.map +1 -0
- package/dist/modules/hr_backend/routes.d.ts +3 -0
- package/dist/modules/hr_backend/routes.d.ts.map +1 -0
- package/dist/modules/hr_backend/routes.js +83 -0
- package/dist/modules/hr_backend/routes.js.map +1 -0
- package/dist/modules/hr_backend/screens.d.ts +9 -0
- package/dist/modules/hr_backend/screens.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens.js +144 -0
- package/dist/modules/hr_backend/screens.js.map +1 -0
- package/dist/modules/inventory/index.d.ts +3 -0
- package/dist/modules/inventory/index.d.ts.map +1 -0
- package/dist/modules/inventory/index.js +31 -0
- package/dist/modules/inventory/index.js.map +1 -0
- package/dist/modules/loyalty/admin-functions.d.ts +3 -0
- package/dist/modules/loyalty/admin-functions.d.ts.map +1 -0
- package/dist/modules/loyalty/admin-functions.js +692 -0
- package/dist/modules/loyalty/admin-functions.js.map +1 -0
- package/dist/modules/loyalty/engine.d.ts +31 -0
- package/dist/modules/loyalty/engine.d.ts.map +1 -0
- package/dist/modules/loyalty/engine.js +412 -0
- package/dist/modules/loyalty/engine.js.map +1 -0
- package/dist/modules/loyalty/index.d.ts +5 -0
- package/dist/modules/loyalty/index.d.ts.map +1 -0
- package/dist/modules/loyalty/index.js +24 -0
- package/dist/modules/loyalty/index.js.map +1 -0
- package/dist/modules/loyalty/jobs.d.ts +4 -0
- package/dist/modules/loyalty/jobs.d.ts.map +1 -0
- package/dist/modules/loyalty/jobs.js +103 -0
- package/dist/modules/loyalty/jobs.js.map +1 -0
- package/dist/modules/loyalty/ledger.d.ts +48 -0
- package/dist/modules/loyalty/ledger.d.ts.map +1 -0
- package/dist/modules/loyalty/ledger.js +164 -0
- package/dist/modules/loyalty/ledger.js.map +1 -0
- package/dist/modules/loyalty/membership-functions.d.ts +4 -0
- package/dist/modules/loyalty/membership-functions.d.ts.map +1 -0
- package/dist/modules/loyalty/membership-functions.js +163 -0
- package/dist/modules/loyalty/membership-functions.js.map +1 -0
- package/dist/modules/loyalty/messages.d.ts +119 -0
- package/dist/modules/loyalty/messages.d.ts.map +1 -0
- package/dist/modules/loyalty/messages.js +119 -0
- package/dist/modules/loyalty/messages.js.map +1 -0
- package/dist/modules/loyalty/models.d.ts +3 -0
- package/dist/modules/loyalty/models.d.ts.map +1 -0
- package/dist/modules/loyalty/models.js +259 -0
- package/dist/modules/loyalty/models.js.map +1 -0
- package/dist/modules/loyalty/order-functions.d.ts +3 -0
- package/dist/modules/loyalty/order-functions.d.ts.map +1 -0
- package/dist/modules/loyalty/order-functions.js +656 -0
- package/dist/modules/loyalty/order-functions.js.map +1 -0
- package/dist/modules/loyalty/relations.d.ts +3 -0
- package/dist/modules/loyalty/relations.d.ts.map +1 -0
- package/dist/modules/loyalty/relations.js +19 -0
- package/dist/modules/loyalty/relations.js.map +1 -0
- package/dist/modules/loyalty/types.d.ts +83 -0
- package/dist/modules/loyalty/types.d.ts.map +1 -0
- package/dist/modules/loyalty/types.js +23 -0
- package/dist/modules/loyalty/types.js.map +1 -0
- package/dist/modules/loyalty_backend/index.d.ts +3 -0
- package/dist/modules/loyalty_backend/index.d.ts.map +1 -0
- package/dist/modules/loyalty_backend/index.js +636 -0
- package/dist/modules/loyalty_backend/index.js.map +1 -0
- package/dist/modules/loyalty_backend/messages.d.ts +162 -0
- package/dist/modules/loyalty_backend/messages.d.ts.map +1 -0
- package/dist/modules/loyalty_backend/messages.js +318 -0
- package/dist/modules/loyalty_backend/messages.js.map +1 -0
- package/dist/modules/loyalty_backend/screens.d.ts +33 -0
- package/dist/modules/loyalty_backend/screens.d.ts.map +1 -0
- package/dist/modules/loyalty_backend/screens.js +562 -0
- package/dist/modules/loyalty_backend/screens.js.map +1 -0
- package/dist/modules/loyalty_pos/functions.d.ts +19 -0
- package/dist/modules/loyalty_pos/functions.d.ts.map +1 -0
- package/dist/modules/loyalty_pos/functions.js +274 -0
- package/dist/modules/loyalty_pos/functions.js.map +1 -0
- package/dist/modules/loyalty_pos/index.d.ts +3 -0
- package/dist/modules/loyalty_pos/index.d.ts.map +1 -0
- package/dist/modules/loyalty_pos/index.js +45 -0
- package/dist/modules/loyalty_pos/index.js.map +1 -0
- package/dist/modules/loyalty_sale/functions.d.ts +19 -0
- package/dist/modules/loyalty_sale/functions.d.ts.map +1 -0
- package/dist/modules/loyalty_sale/functions.js +275 -0
- package/dist/modules/loyalty_sale/functions.js.map +1 -0
- package/dist/modules/loyalty_sale/index.d.ts +3 -0
- package/dist/modules/loyalty_sale/index.d.ts.map +1 -0
- package/dist/modules/loyalty_sale/index.js +45 -0
- package/dist/modules/loyalty_sale/index.js.map +1 -0
- package/dist/modules/mail/functions.d.ts +3 -0
- package/dist/modules/mail/functions.d.ts.map +1 -0
- package/dist/modules/mail/functions.js +129 -0
- package/dist/modules/mail/functions.js.map +1 -0
- package/dist/modules/mail/index.d.ts +9 -0
- package/dist/modules/mail/index.d.ts.map +1 -0
- package/dist/modules/mail/index.js +22 -0
- package/dist/modules/mail/index.js.map +1 -0
- package/dist/modules/mail/messages.d.ts +13 -0
- package/dist/modules/mail/messages.d.ts.map +1 -0
- package/dist/modules/mail/messages.js +13 -0
- package/dist/modules/mail/messages.js.map +1 -0
- package/dist/modules/mail/models.d.ts +3 -0
- package/dist/modules/mail/models.d.ts.map +1 -0
- package/dist/modules/mail/models.js +124 -0
- package/dist/modules/mail/models.js.map +1 -0
- package/dist/modules/mail/operations.d.ts +60 -0
- package/dist/modules/mail/operations.d.ts.map +1 -0
- package/dist/modules/mail/operations.js +249 -0
- package/dist/modules/mail/operations.js.map +1 -0
- package/dist/modules/mail/relations.d.ts +3 -0
- package/dist/modules/mail/relations.d.ts.map +1 -0
- package/dist/modules/mail/relations.js +41 -0
- package/dist/modules/mail/relations.js.map +1 -0
- package/dist/modules/mail/target.d.ts +16 -0
- package/dist/modules/mail/target.d.ts.map +1 -0
- package/dist/modules/mail/target.js +245 -0
- package/dist/modules/mail/target.js.map +1 -0
- package/dist/modules/mail/types.d.ts +7 -0
- package/dist/modules/mail/types.d.ts.map +1 -0
- package/dist/modules/mail/types.js +4 -0
- package/dist/modules/mail/types.js.map +1 -0
- package/dist/modules/mail_backend/index.d.ts +5 -0
- package/dist/modules/mail_backend/index.d.ts.map +1 -0
- package/dist/modules/mail_backend/index.js +56 -0
- package/dist/modules/mail_backend/index.js.map +1 -0
- package/dist/modules/mail_backend/islands.d.ts +3 -0
- package/dist/modules/mail_backend/islands.d.ts.map +1 -0
- package/dist/modules/mail_backend/islands.js +20 -0
- package/dist/modules/mail_backend/islands.js.map +1 -0
- package/dist/modules/mail_backend/routes.d.ts +5 -0
- package/dist/modules/mail_backend/routes.d.ts.map +1 -0
- package/dist/modules/mail_backend/routes.js +37 -0
- package/dist/modules/mail_backend/routes.js.map +1 -0
- package/dist/modules/mail_backend/screens.d.ts +5 -0
- package/dist/modules/mail_backend/screens.d.ts.map +1 -0
- package/dist/modules/mail_backend/screens.js +11 -0
- package/dist/modules/mail_backend/screens.js.map +1 -0
- package/dist/modules/mail_inbound/functions.d.ts +27 -0
- package/dist/modules/mail_inbound/functions.d.ts.map +1 -0
- package/dist/modules/mail_inbound/functions.js +178 -0
- package/dist/modules/mail_inbound/functions.js.map +1 -0
- package/dist/modules/mail_inbound/index.d.ts +10 -0
- package/dist/modules/mail_inbound/index.d.ts.map +1 -0
- package/dist/modules/mail_inbound/index.js +38 -0
- package/dist/modules/mail_inbound/index.js.map +1 -0
- package/dist/modules/mail_inbound/jobs.d.ts +3 -0
- package/dist/modules/mail_inbound/jobs.d.ts.map +1 -0
- package/dist/modules/mail_inbound/jobs.js +29 -0
- package/dist/modules/mail_inbound/jobs.js.map +1 -0
- package/dist/modules/mail_inbound/models.d.ts +3 -0
- package/dist/modules/mail_inbound/models.d.ts.map +1 -0
- package/dist/modules/mail_inbound/models.js +68 -0
- package/dist/modules/mail_inbound/models.js.map +1 -0
- package/dist/modules/mail_inbound/operations.d.ts +17 -0
- package/dist/modules/mail_inbound/operations.d.ts.map +1 -0
- package/dist/modules/mail_inbound/operations.js +273 -0
- package/dist/modules/mail_inbound/operations.js.map +1 -0
- package/dist/modules/mail_inbound/relations.d.ts +3 -0
- package/dist/modules/mail_inbound/relations.d.ts.map +1 -0
- package/dist/modules/mail_inbound/relations.js +19 -0
- package/dist/modules/mail_inbound/relations.js.map +1 -0
- package/dist/modules/mail_inbound/routes.d.ts +4 -0
- package/dist/modules/mail_inbound/routes.d.ts.map +1 -0
- package/dist/modules/mail_inbound/routes.js +156 -0
- package/dist/modules/mail_inbound/routes.js.map +1 -0
- package/dist/modules/mail_inbound/types.d.ts +37 -0
- package/dist/modules/mail_inbound/types.d.ts.map +1 -0
- package/dist/modules/mail_inbound/types.js +3 -0
- package/dist/modules/mail_inbound/types.js.map +1 -0
- package/dist/modules/mail_inbound_backend/index.d.ts +5 -0
- package/dist/modules/mail_inbound_backend/index.d.ts.map +1 -0
- package/dist/modules/mail_inbound_backend/index.js +59 -0
- package/dist/modules/mail_inbound_backend/index.js.map +1 -0
- package/dist/modules/mail_inbound_backend/routes.d.ts +5 -0
- package/dist/modules/mail_inbound_backend/routes.d.ts.map +1 -0
- package/dist/modules/mail_inbound_backend/routes.js +31 -0
- package/dist/modules/mail_inbound_backend/routes.js.map +1 -0
- package/dist/modules/mail_inbound_backend/screens.d.ts +5 -0
- package/dist/modules/mail_inbound_backend/screens.d.ts.map +1 -0
- package/dist/modules/mail_inbound_backend/screens.js +25 -0
- package/dist/modules/mail_inbound_backend/screens.js.map +1 -0
- package/dist/modules/mail_transport/functions.d.ts +3 -0
- package/dist/modules/mail_transport/functions.d.ts.map +1 -0
- package/dist/modules/mail_transport/functions.js +280 -0
- package/dist/modules/mail_transport/functions.js.map +1 -0
- package/dist/modules/mail_transport/index.d.ts +11 -0
- package/dist/modules/mail_transport/index.d.ts.map +1 -0
- package/dist/modules/mail_transport/index.js +37 -0
- package/dist/modules/mail_transport/index.js.map +1 -0
- package/dist/modules/mail_transport/jobs.d.ts +3 -0
- package/dist/modules/mail_transport/jobs.d.ts.map +1 -0
- package/dist/modules/mail_transport/jobs.js +79 -0
- package/dist/modules/mail_transport/jobs.js.map +1 -0
- package/dist/modules/mail_transport/models.d.ts +3 -0
- package/dist/modules/mail_transport/models.d.ts.map +1 -0
- package/dist/modules/mail_transport/models.js +88 -0
- package/dist/modules/mail_transport/models.js.map +1 -0
- package/dist/modules/mail_transport/operations.d.ts +16 -0
- package/dist/modules/mail_transport/operations.d.ts.map +1 -0
- package/dist/modules/mail_transport/operations.js +122 -0
- package/dist/modules/mail_transport/operations.js.map +1 -0
- package/dist/modules/mail_transport/relations.d.ts +3 -0
- package/dist/modules/mail_transport/relations.d.ts.map +1 -0
- package/dist/modules/mail_transport/relations.js +19 -0
- package/dist/modules/mail_transport/relations.js.map +1 -0
- package/dist/modules/mail_transport/target.d.ts +8 -0
- package/dist/modules/mail_transport/target.d.ts.map +1 -0
- package/dist/modules/mail_transport/target.js +43 -0
- package/dist/modules/mail_transport/target.js.map +1 -0
- package/dist/modules/mail_transport/template.d.ts +4 -0
- package/dist/modules/mail_transport/template.d.ts.map +1 -0
- package/dist/modules/mail_transport/template.js +52 -0
- package/dist/modules/mail_transport/template.js.map +1 -0
- package/dist/modules/mail_transport/types.d.ts +9 -0
- package/dist/modules/mail_transport/types.d.ts.map +1 -0
- package/dist/modules/mail_transport/types.js +3 -0
- package/dist/modules/mail_transport/types.js.map +1 -0
- package/dist/modules/mail_transport_backend/index.d.ts +5 -0
- package/dist/modules/mail_transport_backend/index.d.ts.map +1 -0
- package/dist/modules/mail_transport_backend/index.js +69 -0
- package/dist/modules/mail_transport_backend/index.js.map +1 -0
- package/dist/modules/mail_transport_backend/routes.d.ts +5 -0
- package/dist/modules/mail_transport_backend/routes.d.ts.map +1 -0
- package/dist/modules/mail_transport_backend/routes.js +42 -0
- package/dist/modules/mail_transport_backend/routes.js.map +1 -0
- package/dist/modules/mail_transport_backend/screens.d.ts +5 -0
- package/dist/modules/mail_transport_backend/screens.d.ts.map +1 -0
- package/dist/modules/mail_transport_backend/screens.js +35 -0
- package/dist/modules/mail_transport_backend/screens.js.map +1 -0
- package/dist/modules/oauth/functions.d.ts +3 -0
- package/dist/modules/oauth/functions.d.ts.map +1 -0
- package/dist/modules/oauth/functions.js +817 -0
- package/dist/modules/oauth/functions.js.map +1 -0
- package/dist/modules/oauth/index.d.ts +4 -0
- package/dist/modules/oauth/index.d.ts.map +1 -0
- package/dist/modules/oauth/index.js +22 -0
- package/dist/modules/oauth/index.js.map +1 -0
- package/dist/modules/oauth/messages.d.ts +129 -0
- package/dist/modules/oauth/messages.d.ts.map +1 -0
- package/dist/modules/oauth/messages.js +129 -0
- package/dist/modules/oauth/messages.js.map +1 -0
- package/dist/modules/oauth/models.d.ts +4 -0
- package/dist/modules/oauth/models.d.ts.map +1 -0
- package/dist/modules/oauth/models.js +83 -0
- package/dist/modules/oauth/models.js.map +1 -0
- package/dist/modules/oauth/protocol.d.ts +54 -0
- package/dist/modules/oauth/protocol.d.ts.map +1 -0
- package/dist/modules/oauth/protocol.js +309 -0
- package/dist/modules/oauth/protocol.js.map +1 -0
- package/dist/modules/oauth/relations.d.ts +3 -0
- package/dist/modules/oauth/relations.d.ts.map +1 -0
- package/dist/modules/oauth/relations.js +18 -0
- package/dist/modules/oauth/relations.js.map +1 -0
- package/dist/modules/oauth/routes.d.ts +3 -0
- package/dist/modules/oauth/routes.d.ts.map +1 -0
- package/dist/modules/oauth/routes.js +185 -0
- package/dist/modules/oauth/routes.js.map +1 -0
- package/dist/modules/oauth_backend/index.d.ts +4 -0
- package/dist/modules/oauth_backend/index.d.ts.map +1 -0
- package/dist/modules/oauth_backend/index.js +23 -0
- package/dist/modules/oauth_backend/index.js.map +1 -0
- package/dist/modules/oauth_backend/menus.d.ts +3 -0
- package/dist/modules/oauth_backend/menus.d.ts.map +1 -0
- package/dist/modules/oauth_backend/menus.js +17 -0
- package/dist/modules/oauth_backend/menus.js.map +1 -0
- package/dist/modules/oauth_backend/messages.d.ts +169 -0
- package/dist/modules/oauth_backend/messages.d.ts.map +1 -0
- package/dist/modules/oauth_backend/messages.js +169 -0
- package/dist/modules/oauth_backend/messages.js.map +1 -0
- package/dist/modules/oauth_backend/routes.d.ts +3 -0
- package/dist/modules/oauth_backend/routes.d.ts.map +1 -0
- package/dist/modules/oauth_backend/routes.js +231 -0
- package/dist/modules/oauth_backend/routes.js.map +1 -0
- package/dist/modules/oauth_backend/screens.d.ts +66 -0
- package/dist/modules/oauth_backend/screens.d.ts.map +1 -0
- package/dist/modules/oauth_backend/screens.js +323 -0
- package/dist/modules/oauth_backend/screens.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/functions.d.ts +3 -0
- package/dist/modules/odoo_collaboration_import/functions.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/functions.js +128 -0
- package/dist/modules/odoo_collaboration_import/functions.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/index.d.ts +6 -0
- package/dist/modules/odoo_collaboration_import/index.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/index.js +31 -0
- package/dist/modules/odoo_collaboration_import/index.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/models.d.ts +3 -0
- package/dist/modules/odoo_collaboration_import/models.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/models.js +76 -0
- package/dist/modules/odoo_collaboration_import/models.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/operations.d.ts +14 -0
- package/dist/modules/odoo_collaboration_import/operations.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/operations.js +1139 -0
- package/dist/modules/odoo_collaboration_import/operations.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/relations.d.ts +3 -0
- package/dist/modules/odoo_collaboration_import/relations.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/relations.js +19 -0
- package/dist/modules/odoo_collaboration_import/relations.js.map +1 -0
- package/dist/modules/odoo_collaboration_import/types.d.ts +58 -0
- package/dist/modules/odoo_collaboration_import/types.d.ts.map +1 -0
- package/dist/modules/odoo_collaboration_import/types.js +2 -0
- package/dist/modules/odoo_collaboration_import/types.js.map +1 -0
- package/dist/modules/partner/functions.d.ts +5 -0
- package/dist/modules/partner/functions.d.ts.map +1 -0
- package/dist/modules/partner/functions.js +563 -0
- package/dist/modules/partner/functions.js.map +1 -0
- package/dist/modules/partner/index.d.ts +5 -0
- package/dist/modules/partner/index.d.ts.map +1 -0
- package/dist/modules/partner/index.js +23 -0
- package/dist/modules/partner/index.js.map +1 -0
- package/dist/modules/partner/messages.d.ts +55 -0
- package/dist/modules/partner/messages.d.ts.map +1 -0
- package/dist/modules/partner/messages.js +55 -0
- package/dist/modules/partner/messages.js.map +1 -0
- package/dist/modules/partner/models.d.ts +23 -0
- package/dist/modules/partner/models.d.ts.map +1 -0
- package/dist/modules/partner/models.js +124 -0
- package/dist/modules/partner/models.js.map +1 -0
- package/dist/modules/partner/relations.d.ts +4 -0
- package/dist/modules/partner/relations.d.ts.map +1 -0
- package/dist/modules/partner/relations.js +35 -0
- package/dist/modules/partner/relations.js.map +1 -0
- package/dist/modules/partner/types.d.ts +17 -0
- package/dist/modules/partner/types.d.ts.map +1 -0
- package/dist/modules/partner/types.js +14 -0
- package/dist/modules/partner/types.js.map +1 -0
- package/dist/modules/partner/views.d.ts +4 -0
- package/dist/modules/partner/views.d.ts.map +1 -0
- package/dist/modules/partner/views.js +19 -0
- package/dist/modules/partner/views.js.map +1 -0
- package/dist/modules/partner_backend/client/address-view.d.mts +5 -0
- package/dist/modules/partner_backend/client/address-view.d.mts.map +1 -0
- package/dist/modules/partner_backend/client/address-view.mjs +193 -0
- package/dist/modules/partner_backend/client/address-view.mjs.map +1 -0
- package/dist/modules/partner_backend/client/address.css +12 -0
- package/dist/modules/partner_backend/client/address.d.mts +5 -0
- package/dist/modules/partner_backend/client/address.d.mts.map +1 -0
- package/dist/modules/partner_backend/client/address.mjs +7 -0
- package/dist/modules/partner_backend/client/address.mjs.map +1 -0
- package/dist/modules/partner_backend/index.d.ts +5 -0
- package/dist/modules/partner_backend/index.d.ts.map +1 -0
- package/dist/modules/partner_backend/index.js +178 -0
- package/dist/modules/partner_backend/index.js.map +1 -0
- package/dist/modules/partner_backend/islands.d.ts +3 -0
- package/dist/modules/partner_backend/islands.d.ts.map +1 -0
- package/dist/modules/partner_backend/islands.js +23 -0
- package/dist/modules/partner_backend/islands.js.map +1 -0
- package/dist/modules/partner_backend/menus.d.ts +3 -0
- package/dist/modules/partner_backend/menus.d.ts.map +1 -0
- package/dist/modules/partner_backend/menus.js +11 -0
- package/dist/modules/partner_backend/menus.js.map +1 -0
- package/dist/modules/partner_backend/relation-control.d.ts +22 -0
- package/dist/modules/partner_backend/relation-control.d.ts.map +1 -0
- package/dist/modules/partner_backend/relation-control.js +46 -0
- package/dist/modules/partner_backend/relation-control.js.map +1 -0
- package/dist/modules/partner_backend/routes.d.ts +3 -0
- package/dist/modules/partner_backend/routes.d.ts.map +1 -0
- package/dist/modules/partner_backend/routes.js +300 -0
- package/dist/modules/partner_backend/routes.js.map +1 -0
- package/dist/modules/partner_backend/screens.d.ts +53 -0
- package/dist/modules/partner_backend/screens.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens.js +169 -0
- package/dist/modules/partner_backend/screens.js.map +1 -0
- package/dist/modules/pos/functions.d.ts +6 -0
- package/dist/modules/pos/functions.d.ts.map +1 -0
- package/dist/modules/pos/functions.js +953 -0
- package/dist/modules/pos/functions.js.map +1 -0
- package/dist/modules/pos/index.d.ts +4 -0
- package/dist/modules/pos/index.d.ts.map +1 -0
- package/dist/modules/pos/index.js +34 -0
- package/dist/modules/pos/index.js.map +1 -0
- package/dist/modules/pos/models.d.ts +3 -0
- package/dist/modules/pos/models.d.ts.map +1 -0
- package/dist/modules/pos/models.js +107 -0
- package/dist/modules/pos/models.js.map +1 -0
- package/dist/modules/pos/relations.d.ts +3 -0
- package/dist/modules/pos/relations.d.ts.map +1 -0
- package/dist/modules/pos/relations.js +37 -0
- package/dist/modules/pos/relations.js.map +1 -0
- package/dist/modules/pos_backend/index.d.ts +3 -0
- package/dist/modules/pos_backend/index.d.ts.map +1 -0
- package/dist/modules/pos_backend/index.js +654 -0
- package/dist/modules/pos_backend/index.js.map +1 -0
- package/dist/modules/pos_backend/screens.d.ts +15 -0
- package/dist/modules/pos_backend/screens.d.ts.map +1 -0
- package/dist/modules/pos_backend/screens.js +320 -0
- package/dist/modules/pos_backend/screens.js.map +1 -0
- package/dist/modules/pricing/functions.d.ts +6 -0
- package/dist/modules/pricing/functions.d.ts.map +1 -0
- package/dist/modules/pricing/functions.js +318 -0
- package/dist/modules/pricing/functions.js.map +1 -0
- package/dist/modules/pricing/index.d.ts +4 -0
- package/dist/modules/pricing/index.d.ts.map +1 -0
- package/dist/modules/pricing/index.js +30 -0
- package/dist/modules/pricing/index.js.map +1 -0
- package/dist/modules/pricing/models.d.ts +3 -0
- package/dist/modules/pricing/models.d.ts.map +1 -0
- package/dist/modules/pricing/models.js +34 -0
- package/dist/modules/pricing/models.js.map +1 -0
- package/dist/modules/pricing/relations.d.ts +3 -0
- package/dist/modules/pricing/relations.d.ts.map +1 -0
- package/dist/modules/pricing/relations.js +11 -0
- package/dist/modules/pricing/relations.js.map +1 -0
- package/dist/modules/pricing_backend/index.d.ts +3 -0
- package/dist/modules/pricing_backend/index.d.ts.map +1 -0
- package/dist/modules/pricing_backend/index.js +241 -0
- package/dist/modules/pricing_backend/index.js.map +1 -0
- package/dist/modules/pricing_backend/screens.d.ts +13 -0
- package/dist/modules/pricing_backend/screens.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens.js +182 -0
- package/dist/modules/pricing_backend/screens.js.map +1 -0
- package/dist/modules/product/functions.d.ts +3 -0
- package/dist/modules/product/functions.d.ts.map +1 -0
- package/dist/modules/product/functions.js +627 -0
- package/dist/modules/product/functions.js.map +1 -0
- package/dist/modules/product/index.d.ts +6 -0
- package/dist/modules/product/index.d.ts.map +1 -0
- package/dist/modules/product/index.js +24 -0
- package/dist/modules/product/index.js.map +1 -0
- package/dist/modules/product/messages.d.ts +3 -0
- package/dist/modules/product/messages.d.ts.map +1 -0
- package/dist/modules/product/messages.js +19 -0
- package/dist/modules/product/messages.js.map +1 -0
- package/dist/modules/product/models.d.ts +11 -0
- package/dist/modules/product/models.d.ts.map +1 -0
- package/dist/modules/product/models.js +116 -0
- package/dist/modules/product/models.js.map +1 -0
- package/dist/modules/product/relations.d.ts +8 -0
- package/dist/modules/product/relations.d.ts.map +1 -0
- package/dist/modules/product/relations.js +53 -0
- package/dist/modules/product/relations.js.map +1 -0
- package/dist/modules/product/search.d.ts +73 -0
- package/dist/modules/product/search.d.ts.map +1 -0
- package/dist/modules/product/search.js +66 -0
- package/dist/modules/product/search.js.map +1 -0
- package/dist/modules/product/types.d.ts +14 -0
- package/dist/modules/product/types.d.ts.map +1 -0
- package/dist/modules/product/types.js +2 -0
- package/dist/modules/product/types.js.map +1 -0
- package/dist/modules/product/views.d.ts +4 -0
- package/dist/modules/product/views.d.ts.map +1 -0
- package/dist/modules/product/views.js +7 -0
- package/dist/modules/product/views.js.map +1 -0
- package/dist/modules/product_activity_backend/index.d.ts +5 -0
- package/dist/modules/product_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/product_activity_backend/index.js +29 -0
- package/dist/modules/product_activity_backend/index.js.map +1 -0
- package/dist/modules/product_backend/attributes-screen.d.ts +7 -0
- package/dist/modules/product_backend/attributes-screen.d.ts.map +1 -0
- package/dist/modules/product_backend/attributes-screen.js +76 -0
- package/dist/modules/product_backend/attributes-screen.js.map +1 -0
- package/dist/modules/product_backend/client/editor-view.d.mts +5 -0
- package/dist/modules/product_backend/client/editor-view.d.mts.map +1 -0
- package/dist/modules/product_backend/client/editor-view.mjs +141 -0
- package/dist/modules/product_backend/client/editor-view.mjs.map +1 -0
- package/dist/modules/product_backend/client/product.d.mts +6 -0
- package/dist/modules/product_backend/client/product.d.mts.map +1 -0
- package/dist/modules/product_backend/client/product.mjs +8 -0
- package/dist/modules/product_backend/client/product.mjs.map +1 -0
- package/dist/modules/product_backend/create-screen.d.ts +12 -0
- package/dist/modules/product_backend/create-screen.d.ts.map +1 -0
- package/dist/modules/product_backend/create-screen.js +83 -0
- package/dist/modules/product_backend/create-screen.js.map +1 -0
- package/dist/modules/product_backend/index.d.ts +20 -0
- package/dist/modules/product_backend/index.d.ts.map +1 -0
- package/dist/modules/product_backend/index.js +287 -0
- package/dist/modules/product_backend/index.js.map +1 -0
- package/dist/modules/product_backend/islands.d.ts +3 -0
- package/dist/modules/product_backend/islands.d.ts.map +1 -0
- package/dist/modules/product_backend/islands.js +13 -0
- package/dist/modules/product_backend/islands.js.map +1 -0
- package/dist/modules/product_backend/menus.d.ts +3 -0
- package/dist/modules/product_backend/menus.d.ts.map +1 -0
- package/dist/modules/product_backend/menus.js +25 -0
- package/dist/modules/product_backend/menus.js.map +1 -0
- package/dist/modules/product_backend/routes.d.ts +14 -0
- package/dist/modules/product_backend/routes.d.ts.map +1 -0
- package/dist/modules/product_backend/routes.js +990 -0
- package/dist/modules/product_backend/routes.js.map +1 -0
- package/dist/modules/product_backend/screens.d.ts +68 -0
- package/dist/modules/product_backend/screens.d.ts.map +1 -0
- package/dist/modules/product_backend/screens.js +388 -0
- package/dist/modules/product_backend/screens.js.map +1 -0
- package/dist/modules/product_mail_backend/index.d.ts +5 -0
- package/dist/modules/product_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/product_mail_backend/index.js +30 -0
- package/dist/modules/product_mail_backend/index.js.map +1 -0
- package/dist/modules/product_media/functions.d.ts +3 -0
- package/dist/modules/product_media/functions.d.ts.map +1 -0
- package/dist/modules/product_media/functions.js +183 -0
- package/dist/modules/product_media/functions.js.map +1 -0
- package/dist/modules/product_media/index.d.ts +3 -0
- package/dist/modules/product_media/index.d.ts.map +1 -0
- package/dist/modules/product_media/index.js +29 -0
- package/dist/modules/product_media/index.js.map +1 -0
- package/dist/modules/product_media/models.d.ts +4 -0
- package/dist/modules/product_media/models.d.ts.map +1 -0
- package/dist/modules/product_media/models.js +24 -0
- package/dist/modules/product_media/models.js.map +1 -0
- package/dist/modules/product_media/relations.d.ts +3 -0
- package/dist/modules/product_media/relations.d.ts.map +1 -0
- package/dist/modules/product_media/relations.js +8 -0
- package/dist/modules/product_media/relations.js.map +1 -0
- package/dist/modules/product_variant_activity_backend/index.d.ts +5 -0
- package/dist/modules/product_variant_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/product_variant_activity_backend/index.js +29 -0
- package/dist/modules/product_variant_activity_backend/index.js.map +1 -0
- package/dist/modules/product_variant_mail_backend/index.d.ts +5 -0
- package/dist/modules/product_variant_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/product_variant_mail_backend/index.js +30 -0
- package/dist/modules/product_variant_mail_backend/index.js.map +1 -0
- package/dist/modules/purchase/functions.d.ts +6 -0
- package/dist/modules/purchase/functions.d.ts.map +1 -0
- package/dist/modules/purchase/functions.js +743 -0
- package/dist/modules/purchase/functions.js.map +1 -0
- package/dist/modules/purchase/index.d.ts +4 -0
- package/dist/modules/purchase/index.d.ts.map +1 -0
- package/dist/modules/purchase/index.js +35 -0
- package/dist/modules/purchase/index.js.map +1 -0
- package/dist/modules/purchase/models.d.ts +3 -0
- package/dist/modules/purchase/models.d.ts.map +1 -0
- package/dist/modules/purchase/models.js +68 -0
- package/dist/modules/purchase/models.js.map +1 -0
- package/dist/modules/purchase/relations.d.ts +3 -0
- package/dist/modules/purchase/relations.d.ts.map +1 -0
- package/dist/modules/purchase/relations.js +20 -0
- package/dist/modules/purchase/relations.js.map +1 -0
- package/dist/modules/purchase_backend/index.d.ts +3 -0
- package/dist/modules/purchase_backend/index.d.ts.map +1 -0
- package/dist/modules/purchase_backend/index.js +615 -0
- package/dist/modules/purchase_backend/index.js.map +1 -0
- package/dist/modules/purchase_backend/screens.d.ts +29 -0
- package/dist/modules/purchase_backend/screens.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens.js +324 -0
- package/dist/modules/purchase_backend/screens.js.map +1 -0
- package/dist/modules/sale/functions.d.ts +6 -0
- package/dist/modules/sale/functions.d.ts.map +1 -0
- package/dist/modules/sale/functions.js +611 -0
- package/dist/modules/sale/functions.js.map +1 -0
- package/dist/modules/sale/index.d.ts +4 -0
- package/dist/modules/sale/index.d.ts.map +1 -0
- package/dist/modules/sale/index.js +35 -0
- package/dist/modules/sale/index.js.map +1 -0
- package/dist/modules/sale/models.d.ts +3 -0
- package/dist/modules/sale/models.d.ts.map +1 -0
- package/dist/modules/sale/models.js +46 -0
- package/dist/modules/sale/models.js.map +1 -0
- package/dist/modules/sale/relations.d.ts +3 -0
- package/dist/modules/sale/relations.d.ts.map +1 -0
- package/dist/modules/sale/relations.js +16 -0
- package/dist/modules/sale/relations.js.map +1 -0
- package/dist/modules/sale_activity_backend/index.d.ts +5 -0
- package/dist/modules/sale_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/sale_activity_backend/index.js +29 -0
- package/dist/modules/sale_activity_backend/index.js.map +1 -0
- package/dist/modules/sale_backend/client/editor-view.d.mts +5 -0
- package/dist/modules/sale_backend/client/editor-view.d.mts.map +1 -0
- package/dist/modules/sale_backend/client/editor-view.mjs +132 -0
- package/dist/modules/sale_backend/client/editor-view.mjs.map +1 -0
- package/dist/modules/sale_backend/client/sale.d.mts +6 -0
- package/dist/modules/sale_backend/client/sale.d.mts.map +1 -0
- package/dist/modules/sale_backend/client/sale.mjs +8 -0
- package/dist/modules/sale_backend/client/sale.mjs.map +1 -0
- package/dist/modules/sale_backend/index.d.ts +3 -0
- package/dist/modules/sale_backend/index.d.ts.map +1 -0
- package/dist/modules/sale_backend/index.js +681 -0
- package/dist/modules/sale_backend/index.js.map +1 -0
- package/dist/modules/sale_backend/invoicing-policies-screen.d.ts +14 -0
- package/dist/modules/sale_backend/invoicing-policies-screen.d.ts.map +1 -0
- package/dist/modules/sale_backend/invoicing-policies-screen.js +36 -0
- package/dist/modules/sale_backend/invoicing-policies-screen.js.map +1 -0
- package/dist/modules/sale_backend/islands.d.ts +3 -0
- package/dist/modules/sale_backend/islands.d.ts.map +1 -0
- package/dist/modules/sale_backend/islands.js +13 -0
- package/dist/modules/sale_backend/islands.js.map +1 -0
- package/dist/modules/sale_backend/order-detail-screen.d.ts +18 -0
- package/dist/modules/sale_backend/order-detail-screen.d.ts.map +1 -0
- package/dist/modules/sale_backend/order-detail-screen.js +217 -0
- package/dist/modules/sale_backend/order-detail-screen.js.map +1 -0
- package/dist/modules/sale_backend/quotations-screen.d.ts +15 -0
- package/dist/modules/sale_backend/quotations-screen.d.ts.map +1 -0
- package/dist/modules/sale_backend/quotations-screen.js +64 -0
- package/dist/modules/sale_backend/quotations-screen.js.map +1 -0
- package/dist/modules/sale_backend/sales-orders-screen.d.ts +12 -0
- package/dist/modules/sale_backend/sales-orders-screen.d.ts.map +1 -0
- package/dist/modules/sale_backend/sales-orders-screen.js +65 -0
- package/dist/modules/sale_backend/sales-orders-screen.js.map +1 -0
- package/dist/modules/sale_backend/screens.d.ts +23 -0
- package/dist/modules/sale_backend/screens.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens.js +275 -0
- package/dist/modules/sale_backend/screens.js.map +1 -0
- package/dist/modules/sale_mail_backend/index.d.ts +5 -0
- package/dist/modules/sale_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/sale_mail_backend/index.js +30 -0
- package/dist/modules/sale_mail_backend/index.js.map +1 -0
- package/dist/modules/stock/functions.d.ts +10 -0
- package/dist/modules/stock/functions.d.ts.map +1 -0
- package/dist/modules/stock/functions.js +1523 -0
- package/dist/modules/stock/functions.js.map +1 -0
- package/dist/modules/stock/index.d.ts +5 -0
- package/dist/modules/stock/index.d.ts.map +1 -0
- package/dist/modules/stock/index.js +35 -0
- package/dist/modules/stock/index.js.map +1 -0
- package/dist/modules/stock/models.d.ts +3 -0
- package/dist/modules/stock/models.d.ts.map +1 -0
- package/dist/modules/stock/models.js +185 -0
- package/dist/modules/stock/models.js.map +1 -0
- package/dist/modules/stock/relations.d.ts +3 -0
- package/dist/modules/stock/relations.d.ts.map +1 -0
- package/dist/modules/stock/relations.js +40 -0
- package/dist/modules/stock/relations.js.map +1 -0
- package/dist/modules/stock/routing.d.ts +7 -0
- package/dist/modules/stock/routing.d.ts.map +1 -0
- package/dist/modules/stock/routing.js +527 -0
- package/dist/modules/stock/routing.js.map +1 -0
- package/dist/modules/stock_activity_backend/index.d.ts +5 -0
- package/dist/modules/stock_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/stock_activity_backend/index.js +29 -0
- package/dist/modules/stock_activity_backend/index.js.map +1 -0
- package/dist/modules/stock_backend/client/editor-view.d.mts +5 -0
- package/dist/modules/stock_backend/client/editor-view.d.mts.map +1 -0
- package/dist/modules/stock_backend/client/editor-view.mjs +147 -0
- package/dist/modules/stock_backend/client/editor-view.mjs.map +1 -0
- package/dist/modules/stock_backend/client/stock.d.mts +6 -0
- package/dist/modules/stock_backend/client/stock.d.mts.map +1 -0
- package/dist/modules/stock_backend/client/stock.mjs +8 -0
- package/dist/modules/stock_backend/client/stock.mjs.map +1 -0
- package/dist/modules/stock_backend/forecast-screen.d.ts +28 -0
- package/dist/modules/stock_backend/forecast-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/forecast-screen.js +108 -0
- package/dist/modules/stock_backend/forecast-screen.js.map +1 -0
- package/dist/modules/stock_backend/index.d.ts +3 -0
- package/dist/modules/stock_backend/index.d.ts.map +1 -0
- package/dist/modules/stock_backend/index.js +880 -0
- package/dist/modules/stock_backend/index.js.map +1 -0
- package/dist/modules/stock_backend/inventory-screen.d.ts +27 -0
- package/dist/modules/stock_backend/inventory-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/inventory-screen.js +141 -0
- package/dist/modules/stock_backend/inventory-screen.js.map +1 -0
- package/dist/modules/stock_backend/islands.d.ts +3 -0
- package/dist/modules/stock_backend/islands.d.ts.map +1 -0
- package/dist/modules/stock_backend/islands.js +13 -0
- package/dist/modules/stock_backend/islands.js.map +1 -0
- package/dist/modules/stock_backend/locations-screen.d.ts +18 -0
- package/dist/modules/stock_backend/locations-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/locations-screen.js +92 -0
- package/dist/modules/stock_backend/locations-screen.js.map +1 -0
- package/dist/modules/stock_backend/lot-screen.d.ts +30 -0
- package/dist/modules/stock_backend/lot-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/lot-screen.js +86 -0
- package/dist/modules/stock_backend/lot-screen.js.map +1 -0
- package/dist/modules/stock_backend/lots-screen.d.ts +21 -0
- package/dist/modules/stock_backend/lots-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/lots-screen.js +79 -0
- package/dist/modules/stock_backend/lots-screen.js.map +1 -0
- package/dist/modules/stock_backend/picking-types-screen.d.ts +21 -0
- package/dist/modules/stock_backend/picking-types-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/picking-types-screen.js +110 -0
- package/dist/modules/stock_backend/picking-types-screen.js.map +1 -0
- package/dist/modules/stock_backend/replenishment-screen.d.ts +29 -0
- package/dist/modules/stock_backend/replenishment-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/replenishment-screen.js +131 -0
- package/dist/modules/stock_backend/replenishment-screen.js.map +1 -0
- package/dist/modules/stock_backend/routes.d.ts +3 -0
- package/dist/modules/stock_backend/routes.d.ts.map +1 -0
- package/dist/modules/stock_backend/routes.js +950 -0
- package/dist/modules/stock_backend/routes.js.map +1 -0
- package/dist/modules/stock_backend/screens.d.ts +14 -0
- package/dist/modules/stock_backend/screens.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens.js +40 -0
- package/dist/modules/stock_backend/screens.js.map +1 -0
- package/dist/modules/stock_backend/stock-route-screen.d.ts +30 -0
- package/dist/modules/stock_backend/stock-route-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/stock-route-screen.js +129 -0
- package/dist/modules/stock_backend/stock-route-screen.js.map +1 -0
- package/dist/modules/stock_backend/stock-routes-screen.d.ts +17 -0
- package/dist/modules/stock_backend/stock-routes-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/stock-routes-screen.js +60 -0
- package/dist/modules/stock_backend/stock-routes-screen.js.map +1 -0
- package/dist/modules/stock_backend/transfer-screen.d.ts +26 -0
- package/dist/modules/stock_backend/transfer-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/transfer-screen.js +95 -0
- package/dist/modules/stock_backend/transfer-screen.js.map +1 -0
- package/dist/modules/stock_backend/transfers-screen.d.ts +21 -0
- package/dist/modules/stock_backend/transfers-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/transfers-screen.js +88 -0
- package/dist/modules/stock_backend/transfers-screen.js.map +1 -0
- package/dist/modules/stock_backend/warehouses-screen.d.ts +17 -0
- package/dist/modules/stock_backend/warehouses-screen.d.ts.map +1 -0
- package/dist/modules/stock_backend/warehouses-screen.js +96 -0
- package/dist/modules/stock_backend/warehouses-screen.js.map +1 -0
- package/dist/modules/stock_lot_activity_backend/index.d.ts +5 -0
- package/dist/modules/stock_lot_activity_backend/index.d.ts.map +1 -0
- package/dist/modules/stock_lot_activity_backend/index.js +29 -0
- package/dist/modules/stock_lot_activity_backend/index.js.map +1 -0
- package/dist/modules/stock_lot_mail_backend/index.d.ts +5 -0
- package/dist/modules/stock_lot_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/stock_lot_mail_backend/index.js +30 -0
- package/dist/modules/stock_lot_mail_backend/index.js.map +1 -0
- package/dist/modules/stock_mail_backend/index.d.ts +5 -0
- package/dist/modules/stock_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/stock_mail_backend/index.js +30 -0
- package/dist/modules/stock_mail_backend/index.js.map +1 -0
- package/dist/modules/stock_mail_inbound/index.d.ts +6 -0
- package/dist/modules/stock_mail_inbound/index.d.ts.map +1 -0
- package/dist/modules/stock_mail_inbound/index.js +104 -0
- package/dist/modules/stock_mail_inbound/index.js.map +1 -0
- package/dist/modules/storage/functions.d.ts +3 -0
- package/dist/modules/storage/functions.d.ts.map +1 -0
- package/dist/modules/storage/functions.js +129 -0
- package/dist/modules/storage/functions.js.map +1 -0
- package/dist/modules/storage/index.d.ts +3 -0
- package/dist/modules/storage/index.d.ts.map +1 -0
- package/dist/modules/storage/index.js +31 -0
- package/dist/modules/storage/index.js.map +1 -0
- package/dist/modules/storage/jobs.d.ts +3 -0
- package/dist/modules/storage/jobs.d.ts.map +1 -0
- package/dist/modules/storage/jobs.js +37 -0
- package/dist/modules/storage/jobs.js.map +1 -0
- package/dist/modules/storage/models.d.ts +3 -0
- package/dist/modules/storage/models.d.ts.map +1 -0
- package/dist/modules/storage/models.js +23 -0
- package/dist/modules/storage/models.js.map +1 -0
- package/dist/modules/storage/routes.d.ts +27 -0
- package/dist/modules/storage/routes.d.ts.map +1 -0
- package/dist/modules/storage/routes.js +180 -0
- package/dist/modules/storage/routes.js.map +1 -0
- package/dist/modules/uom/convert.d.ts +52 -0
- package/dist/modules/uom/convert.d.ts.map +1 -0
- package/dist/modules/uom/convert.js +76 -0
- package/dist/modules/uom/convert.js.map +1 -0
- package/dist/modules/uom/functions.d.ts +5 -0
- package/dist/modules/uom/functions.d.ts.map +1 -0
- package/dist/modules/uom/functions.js +235 -0
- package/dist/modules/uom/functions.js.map +1 -0
- package/dist/modules/uom/index.d.ts +5 -0
- package/dist/modules/uom/index.d.ts.map +1 -0
- package/dist/modules/uom/index.js +19 -0
- package/dist/modules/uom/index.js.map +1 -0
- package/dist/modules/uom/messages.d.ts +3 -0
- package/dist/modules/uom/messages.d.ts.map +1 -0
- package/dist/modules/uom/messages.js +19 -0
- package/dist/modules/uom/messages.js.map +1 -0
- package/dist/modules/uom/models.d.ts +4 -0
- package/dist/modules/uom/models.d.ts.map +1 -0
- package/dist/modules/uom/models.js +34 -0
- package/dist/modules/uom/models.js.map +1 -0
- package/dist/modules/uom/relations.d.ts +3 -0
- package/dist/modules/uom/relations.d.ts.map +1 -0
- package/dist/modules/uom/relations.js +7 -0
- package/dist/modules/uom/relations.js.map +1 -0
- package/dist/modules/user/functions.d.ts +8 -0
- package/dist/modules/user/functions.d.ts.map +1 -0
- package/dist/modules/user/functions.js +1094 -0
- package/dist/modules/user/functions.js.map +1 -0
- package/dist/modules/user/index.d.ts +8 -0
- package/dist/modules/user/index.d.ts.map +1 -0
- package/dist/modules/user/index.js +34 -0
- package/dist/modules/user/index.js.map +1 -0
- package/dist/modules/user/login.d.ts +28 -0
- package/dist/modules/user/login.d.ts.map +1 -0
- package/dist/modules/user/login.js +46 -0
- package/dist/modules/user/login.js.map +1 -0
- package/dist/modules/user/messages.d.ts +115 -0
- package/dist/modules/user/messages.d.ts.map +1 -0
- package/dist/modules/user/messages.js +115 -0
- package/dist/modules/user/messages.js.map +1 -0
- package/dist/modules/user/models.d.ts +16 -0
- package/dist/modules/user/models.d.ts.map +1 -0
- package/dist/modules/user/models.js +168 -0
- package/dist/modules/user/models.js.map +1 -0
- package/dist/modules/user/password.d.ts +11 -0
- package/dist/modules/user/password.d.ts.map +1 -0
- package/dist/modules/user/password.js +74 -0
- package/dist/modules/user/password.js.map +1 -0
- package/dist/modules/user/relations.d.ts +3 -0
- package/dist/modules/user/relations.d.ts.map +1 -0
- package/dist/modules/user/relations.js +31 -0
- package/dist/modules/user/relations.js.map +1 -0
- package/dist/modules/user/roles.d.ts +12 -0
- package/dist/modules/user/roles.d.ts.map +1 -0
- package/dist/modules/user/roles.js +254 -0
- package/dist/modules/user/roles.js.map +1 -0
- package/dist/modules/user/routes.d.ts +3 -0
- package/dist/modules/user/routes.d.ts.map +1 -0
- package/dist/modules/user/routes.js +244 -0
- package/dist/modules/user/routes.js.map +1 -0
- package/dist/modules/user/session-context.d.ts +10 -0
- package/dist/modules/user/session-context.d.ts.map +1 -0
- package/dist/modules/user/session-context.js +31 -0
- package/dist/modules/user/session-context.js.map +1 -0
- package/dist/modules/user_backend/index.d.ts +5 -0
- package/dist/modules/user_backend/index.d.ts.map +1 -0
- package/dist/modules/user_backend/index.js +24 -0
- package/dist/modules/user_backend/index.js.map +1 -0
- package/dist/modules/user_backend/menus.d.ts +3 -0
- package/dist/modules/user_backend/menus.d.ts.map +1 -0
- package/dist/modules/user_backend/menus.js +24 -0
- package/dist/modules/user_backend/menus.js.map +1 -0
- package/dist/modules/user_backend/messages.d.ts +189 -0
- package/dist/modules/user_backend/messages.d.ts.map +1 -0
- package/dist/modules/user_backend/messages.js +189 -0
- package/dist/modules/user_backend/messages.js.map +1 -0
- package/dist/modules/user_backend/routes.d.ts +3 -0
- package/dist/modules/user_backend/routes.d.ts.map +1 -0
- package/dist/modules/user_backend/routes.js +474 -0
- package/dist/modules/user_backend/routes.js.map +1 -0
- package/dist/modules/user_backend/screens.d.ts +70 -0
- package/dist/modules/user_backend/screens.d.ts.map +1 -0
- package/dist/modules/user_backend/screens.js +308 -0
- package/dist/modules/user_backend/screens.js.map +1 -0
- package/dist/modules/website/access.d.ts +15 -0
- package/dist/modules/website/access.d.ts.map +1 -0
- package/dist/modules/website/access.js +39 -0
- package/dist/modules/website/access.js.map +1 -0
- package/dist/modules/website/cms.d.ts +3 -0
- package/dist/modules/website/cms.d.ts.map +1 -0
- package/dist/modules/website/cms.js +1142 -0
- package/dist/modules/website/cms.js.map +1 -0
- package/dist/modules/website/content-types.d.ts +4 -0
- package/dist/modules/website/content-types.d.ts.map +1 -0
- package/dist/modules/website/content-types.js +30 -0
- package/dist/modules/website/content-types.js.map +1 -0
- package/dist/modules/website/customer-password.d.ts +4 -0
- package/dist/modules/website/customer-password.d.ts.map +1 -0
- package/dist/modules/website/customer-password.js +51 -0
- package/dist/modules/website/customer-password.js.map +1 -0
- package/dist/modules/website/customer-routes.d.ts +3 -0
- package/dist/modules/website/customer-routes.d.ts.map +1 -0
- package/dist/modules/website/customer-routes.js +322 -0
- package/dist/modules/website/customer-routes.js.map +1 -0
- package/dist/modules/website/customer.d.ts +5 -0
- package/dist/modules/website/customer.d.ts.map +1 -0
- package/dist/modules/website/customer.js +442 -0
- package/dist/modules/website/customer.js.map +1 -0
- package/dist/modules/website/functions.d.ts +3 -0
- package/dist/modules/website/functions.d.ts.map +1 -0
- package/dist/modules/website/functions.js +96 -0
- package/dist/modules/website/functions.js.map +1 -0
- package/dist/modules/website/index.d.ts +4 -0
- package/dist/modules/website/index.d.ts.map +1 -0
- package/dist/modules/website/index.js +152 -0
- package/dist/modules/website/index.js.map +1 -0
- package/dist/modules/website/jobs.d.ts +3 -0
- package/dist/modules/website/jobs.d.ts.map +1 -0
- package/dist/modules/website/jobs.js +25 -0
- package/dist/modules/website/jobs.js.map +1 -0
- package/dist/modules/website/joints.d.ts +4 -0
- package/dist/modules/website/joints.d.ts.map +1 -0
- package/dist/modules/website/joints.js +7 -0
- package/dist/modules/website/joints.js.map +1 -0
- package/dist/modules/website/models.d.ts +8 -0
- package/dist/modules/website/models.d.ts.map +1 -0
- package/dist/modules/website/models.js +260 -0
- package/dist/modules/website/models.js.map +1 -0
- package/dist/modules/website/sections.d.ts +8 -0
- package/dist/modules/website/sections.d.ts.map +1 -0
- package/dist/modules/website/sections.js +16 -0
- package/dist/modules/website/sections.js.map +1 -0
- package/dist/modules/website/tokens.d.ts +2 -0
- package/dist/modules/website/tokens.d.ts.map +1 -0
- package/dist/modules/website/tokens.js +5 -0
- package/dist/modules/website/tokens.js.map +1 -0
- package/dist/modules/website/types.d.ts +6 -0
- package/dist/modules/website/types.d.ts.map +1 -0
- package/dist/modules/website/types.js +2 -0
- package/dist/modules/website/types.js.map +1 -0
- package/dist/modules/website/views.d.ts +4 -0
- package/dist/modules/website/views.d.ts.map +1 -0
- package/dist/modules/website/views.js +5 -0
- package/dist/modules/website/views.js.map +1 -0
- package/dist/modules/website_backend/index.d.ts +3 -0
- package/dist/modules/website_backend/index.d.ts.map +1 -0
- package/dist/modules/website_backend/index.js +290 -0
- package/dist/modules/website_backend/index.js.map +1 -0
- package/dist/modules/website_backend/menus.d.ts +3 -0
- package/dist/modules/website_backend/menus.d.ts.map +1 -0
- package/dist/modules/website_backend/menus.js +54 -0
- package/dist/modules/website_backend/menus.js.map +1 -0
- package/dist/modules/website_backend/routes.d.ts +3 -0
- package/dist/modules/website_backend/routes.d.ts.map +1 -0
- package/dist/modules/website_backend/routes.js +625 -0
- package/dist/modules/website_backend/routes.js.map +1 -0
- package/dist/modules/website_backend/screens.d.ts +114 -0
- package/dist/modules/website_backend/screens.d.ts.map +1 -0
- package/dist/modules/website_backend/screens.js +625 -0
- package/dist/modules/website_backend/screens.js.map +1 -0
- package/dist/modules/website_form/functions.d.ts +3 -0
- package/dist/modules/website_form/functions.d.ts.map +1 -0
- package/dist/modules/website_form/functions.js +305 -0
- package/dist/modules/website_form/functions.js.map +1 -0
- package/dist/modules/website_form/index.d.ts +3 -0
- package/dist/modules/website_form/index.d.ts.map +1 -0
- package/dist/modules/website_form/index.js +72 -0
- package/dist/modules/website_form/index.js.map +1 -0
- package/dist/modules/website_form/models.d.ts +3 -0
- package/dist/modules/website_form/models.d.ts.map +1 -0
- package/dist/modules/website_form/models.js +46 -0
- package/dist/modules/website_form/models.js.map +1 -0
- package/dist/modules/website_form/routes.d.ts +3 -0
- package/dist/modules/website_form/routes.d.ts.map +1 -0
- package/dist/modules/website_form/routes.js +74 -0
- package/dist/modules/website_form/routes.js.map +1 -0
- package/dist/modules/website_form/sections.d.ts +3 -0
- package/dist/modules/website_form/sections.d.ts.map +1 -0
- package/dist/modules/website_form/sections.js +7 -0
- package/dist/modules/website_form/sections.js.map +1 -0
- package/dist/modules/website_hospitality/content-types.d.ts +3 -0
- package/dist/modules/website_hospitality/content-types.d.ts.map +1 -0
- package/dist/modules/website_hospitality/content-types.js +9 -0
- package/dist/modules/website_hospitality/content-types.js.map +1 -0
- package/dist/modules/website_hospitality/functions.d.ts +3 -0
- package/dist/modules/website_hospitality/functions.d.ts.map +1 -0
- package/dist/modules/website_hospitality/functions.js +296 -0
- package/dist/modules/website_hospitality/functions.js.map +1 -0
- package/dist/modules/website_hospitality/index.d.ts +3 -0
- package/dist/modules/website_hospitality/index.d.ts.map +1 -0
- package/dist/modules/website_hospitality/index.js +67 -0
- package/dist/modules/website_hospitality/index.js.map +1 -0
- package/dist/modules/website_hospitality/models.d.ts +3 -0
- package/dist/modules/website_hospitality/models.d.ts.map +1 -0
- package/dist/modules/website_hospitality/models.js +49 -0
- package/dist/modules/website_hospitality/models.js.map +1 -0
- package/dist/modules/website_hospitality/routes.d.ts +3 -0
- package/dist/modules/website_hospitality/routes.d.ts.map +1 -0
- package/dist/modules/website_hospitality/routes.js +78 -0
- package/dist/modules/website_hospitality/routes.js.map +1 -0
- package/dist/modules/website_hospitality/sections.d.ts +3 -0
- package/dist/modules/website_hospitality/sections.d.ts.map +1 -0
- package/dist/modules/website_hospitality/sections.js +11 -0
- package/dist/modules/website_hospitality/sections.js.map +1 -0
- package/dist/modules/website_menu/functions.d.ts +3 -0
- package/dist/modules/website_menu/functions.d.ts.map +1 -0
- package/dist/modules/website_menu/functions.js +79 -0
- package/dist/modules/website_menu/functions.js.map +1 -0
- package/dist/modules/website_menu/index.d.ts +3 -0
- package/dist/modules/website_menu/index.d.ts.map +1 -0
- package/dist/modules/website_menu/index.js +31 -0
- package/dist/modules/website_menu/index.js.map +1 -0
- package/dist/modules/website_menu/models.d.ts +3 -0
- package/dist/modules/website_menu/models.d.ts.map +1 -0
- package/dist/modules/website_menu/models.js +15 -0
- package/dist/modules/website_menu/models.js.map +1 -0
- package/dist/modules/website_menu/sections.d.ts +3 -0
- package/dist/modules/website_menu/sections.d.ts.map +1 -0
- package/dist/modules/website_menu/sections.js +4 -0
- package/dist/modules/website_menu/sections.js.map +1 -0
- package/dist/modules/website_menu/views.d.ts +3 -0
- package/dist/modules/website_menu/views.d.ts.map +1 -0
- package/dist/modules/website_menu/views.js +4 -0
- package/dist/modules/website_menu/views.js.map +1 -0
- package/dist/modules/website_retail/content-types.d.ts +3 -0
- package/dist/modules/website_retail/content-types.d.ts.map +1 -0
- package/dist/modules/website_retail/content-types.js +10 -0
- package/dist/modules/website_retail/content-types.js.map +1 -0
- package/dist/modules/website_retail/functions.d.ts +3 -0
- package/dist/modules/website_retail/functions.d.ts.map +1 -0
- package/dist/modules/website_retail/functions.js +321 -0
- package/dist/modules/website_retail/functions.js.map +1 -0
- package/dist/modules/website_retail/index.d.ts +3 -0
- package/dist/modules/website_retail/index.d.ts.map +1 -0
- package/dist/modules/website_retail/index.js +63 -0
- package/dist/modules/website_retail/index.js.map +1 -0
- package/dist/modules/website_retail/models.d.ts +3 -0
- package/dist/modules/website_retail/models.d.ts.map +1 -0
- package/dist/modules/website_retail/models.js +50 -0
- package/dist/modules/website_retail/models.js.map +1 -0
- package/dist/modules/website_retail/sections.d.ts +3 -0
- package/dist/modules/website_retail/sections.d.ts.map +1 -0
- package/dist/modules/website_retail/sections.js +11 -0
- package/dist/modules/website_retail/sections.js.map +1 -0
- package/dist/modules/website_search/client/search.d.mts +6 -0
- package/dist/modules/website_search/client/search.d.mts.map +1 -0
- package/dist/modules/website_search/client/search.mjs +25 -0
- package/dist/modules/website_search/client/search.mjs.map +1 -0
- package/dist/modules/website_search/fills.d.ts +3 -0
- package/dist/modules/website_search/fills.d.ts.map +1 -0
- package/dist/modules/website_search/fills.js +5 -0
- package/dist/modules/website_search/fills.js.map +1 -0
- package/dist/modules/website_search/index.d.ts +3 -0
- package/dist/modules/website_search/index.d.ts.map +1 -0
- package/dist/modules/website_search/index.js +28 -0
- package/dist/modules/website_search/index.js.map +1 -0
- package/dist/modules/website_search/islands.d.ts +7 -0
- package/dist/modules/website_search/islands.d.ts.map +1 -0
- package/dist/modules/website_search/islands.js +23 -0
- package/dist/modules/website_search/islands.js.map +1 -0
- package/dist/modules/website_seo/extend.d.ts +7 -0
- package/dist/modules/website_seo/extend.d.ts.map +1 -0
- package/dist/modules/website_seo/extend.js +20 -0
- package/dist/modules/website_seo/extend.js.map +1 -0
- package/dist/modules/website_seo/fills.d.ts +3 -0
- package/dist/modules/website_seo/fills.d.ts.map +1 -0
- package/dist/modules/website_seo/fills.js +8 -0
- package/dist/modules/website_seo/fills.js.map +1 -0
- package/dist/modules/website_seo/index.d.ts +3 -0
- package/dist/modules/website_seo/index.d.ts.map +1 -0
- package/dist/modules/website_seo/index.js +30 -0
- package/dist/modules/website_seo/index.js.map +1 -0
- package/dist/modules/website_seo/views.d.ts +3 -0
- package/dist/modules/website_seo/views.d.ts.map +1 -0
- package/dist/modules/website_seo/views.js +5 -0
- package/dist/modules/website_seo/views.js.map +1 -0
- package/dist/themes/default/index.d.ts +3 -0
- package/dist/themes/default/index.d.ts.map +1 -0
- package/dist/themes/default/index.js +16 -0
- package/dist/themes/default/index.js.map +1 -0
- package/dist/themes/default/templates/layout.ktl +7 -0
- package/dist/themes/default/templates/product.detail.ktl +10 -0
- package/dist/themes/default/templates/product.related_row.ktl +1 -0
- package/dist/themes/hospitality/assets/theme.css +109 -0
- package/dist/themes/hospitality/index.d.ts +3 -0
- package/dist/themes/hospitality/index.d.ts.map +1 -0
- package/dist/themes/hospitality/index.js +26 -0
- package/dist/themes/hospitality/index.js.map +1 -0
- package/dist/themes/hospitality/templates/layout.ktl +17 -0
- package/dist/themes/hospitality/templates/menu.item.ktl +1 -0
- package/dist/themes/hospitality/templates/menu.primary.ktl +1 -0
- package/dist/themes/hospitality/templates/website.hero.ktl +6 -0
- package/dist/themes/hospitality/templates/website.page.ktl +1 -0
- package/dist/themes/hospitality/templates/website.rich_text.ktl +3 -0
- package/dist/themes/hospitality/templates/website_form.form.ktl +1 -0
- package/dist/themes/hospitality/templates/website_hospitality.booking.ktl +1 -0
- package/dist/themes/hospitality/templates/website_hospitality.stays.ktl +1 -0
- package/dist/themes/hospitality/tokens.d.ts +2 -0
- package/dist/themes/hospitality/tokens.d.ts.map +1 -0
- package/dist/themes/hospitality/tokens.js +9 -0
- package/dist/themes/hospitality/tokens.js.map +1 -0
- package/dist/themes/paper/index.d.ts +9 -0
- package/dist/themes/paper/index.d.ts.map +1 -0
- package/dist/themes/paper/index.js +30 -0
- package/dist/themes/paper/index.js.map +1 -0
- package/dist/themes/paper/templates/layout.ktl +14 -0
- package/dist/themes/paper/templates/menu.item.ktl +3 -0
- package/dist/themes/paper/templates/menu.primary.ktl +3 -0
- package/dist/themes/paper/templates/website.hero.ktl +6 -0
- package/dist/themes/paper/templates/website.page.ktl +2 -0
- package/dist/themes/paper/templates/website.rich_text.ktl +4 -0
- package/dist/themes/paper/tokens.d.ts +2 -0
- package/dist/themes/paper/tokens.d.ts.map +1 -0
- package/dist/themes/paper/tokens.js +11 -0
- package/dist/themes/paper/tokens.js.map +1 -0
- package/dist/themes/retail/assets/theme.css +114 -0
- package/dist/themes/retail/index.d.ts +3 -0
- package/dist/themes/retail/index.d.ts.map +1 -0
- package/dist/themes/retail/index.js +26 -0
- package/dist/themes/retail/index.js.map +1 -0
- package/dist/themes/retail/templates/layout.ktl +5 -0
- package/dist/themes/retail/templates/menu.item.ktl +1 -0
- package/dist/themes/retail/templates/menu.primary.ktl +1 -0
- package/dist/themes/retail/templates/website.hero.ktl +1 -0
- package/dist/themes/retail/templates/website.page.ktl +1 -0
- package/dist/themes/retail/templates/website.rich_text.ktl +1 -0
- package/dist/themes/retail/templates/website_form.form.ktl +1 -0
- package/dist/themes/retail/templates/website_retail.cart.ktl +1 -0
- package/dist/themes/retail/templates/website_retail.products.ktl +1 -0
- package/dist/themes/retail/tokens.d.ts +2 -0
- package/dist/themes/retail/tokens.d.ts.map +1 -0
- package/dist/themes/retail/tokens.js +9 -0
- package/dist/themes/retail/tokens.js.map +1 -0
- package/dist/ui/actions.d.ts +38 -0
- package/dist/ui/actions.d.ts.map +1 -0
- package/dist/ui/actions.js +20 -0
- package/dist/ui/actions.js.map +1 -0
- package/dist/ui/activity.d.ts +4 -0
- package/dist/ui/activity.d.ts.map +1 -0
- package/dist/ui/activity.js +73 -0
- package/dist/ui/activity.js.map +1 -0
- package/dist/ui/attachments.d.ts +18 -0
- package/dist/ui/attachments.d.ts.map +1 -0
- package/dist/ui/attachments.js +15 -0
- package/dist/ui/attachments.js.map +1 -0
- package/dist/ui/auth.d.ts +9 -0
- package/dist/ui/auth.d.ts.map +1 -0
- package/dist/ui/auth.js +44 -0
- package/dist/ui/auth.js.map +1 -0
- package/dist/ui/calendar.d.ts +4 -0
- package/dist/ui/calendar.d.ts.map +1 -0
- package/dist/ui/calendar.js +51 -0
- package/dist/ui/calendar.js.map +1 -0
- package/dist/ui/chrome.d.ts +66 -0
- package/dist/ui/chrome.d.ts.map +1 -0
- package/dist/ui/chrome.js +39 -0
- package/dist/ui/chrome.js.map +1 -0
- package/dist/ui/client/activity-view.d.mts +12 -0
- package/dist/ui/client/activity-view.d.mts.map +1 -0
- package/dist/ui/client/activity-view.mjs +393 -0
- package/dist/ui/client/activity-view.mjs.map +1 -0
- package/dist/ui/client/activity.css +269 -0
- package/dist/ui/client/activity.d.mts +11 -0
- package/dist/ui/client/activity.d.mts.map +1 -0
- package/dist/ui/client/activity.mjs +10 -0
- package/dist/ui/client/activity.mjs.map +1 -0
- package/dist/ui/client/calendar-view.d.mts +5 -0
- package/dist/ui/client/calendar-view.d.mts.map +1 -0
- package/dist/ui/client/calendar-view.mjs +266 -0
- package/dist/ui/client/calendar-view.mjs.map +1 -0
- package/dist/ui/client/calendar.css +170 -0
- package/dist/ui/client/calendar.d.mts +6 -0
- package/dist/ui/client/calendar.d.mts.map +1 -0
- package/dist/ui/client/calendar.mjs +6 -0
- package/dist/ui/client/calendar.mjs.map +1 -0
- package/dist/ui/client/mail-view.d.mts +9 -0
- package/dist/ui/client/mail-view.d.mts.map +1 -0
- package/dist/ui/client/mail-view.mjs +350 -0
- package/dist/ui/client/mail-view.mjs.map +1 -0
- package/dist/ui/client/mail.css +230 -0
- package/dist/ui/client/mail.d.mts +11 -0
- package/dist/ui/client/mail.d.mts.map +1 -0
- package/dist/ui/client/mail.mjs +10 -0
- package/dist/ui/client/mail.mjs.map +1 -0
- package/dist/ui/data.d.ts +25 -0
- package/dist/ui/data.d.ts.map +1 -0
- package/dist/ui/data.js +23 -0
- package/dist/ui/data.js.map +1 -0
- package/dist/ui/date-picker.d.ts +36 -0
- package/dist/ui/date-picker.d.ts.map +1 -0
- package/dist/ui/date-picker.js +40 -0
- package/dist/ui/date-picker.js.map +1 -0
- package/dist/ui/form.d.ts +67 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/form.js +75 -0
- package/dist/ui/form.js.map +1 -0
- package/dist/ui/format.d.ts +4 -0
- package/dist/ui/format.d.ts.map +1 -0
- package/dist/ui/format.js +33 -0
- package/dist/ui/format.js.map +1 -0
- package/dist/ui/hooks.d.ts +5 -0
- package/dist/ui/hooks.d.ts.map +1 -0
- package/dist/ui/hooks.js +82 -0
- package/dist/ui/hooks.js.map +1 -0
- package/dist/ui/icons.d.ts +12 -0
- package/dist/ui/icons.d.ts.map +1 -0
- package/dist/ui/icons.js +76 -0
- package/dist/ui/icons.js.map +1 -0
- package/dist/ui/index.d.ts +39 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +39 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/layout.d.ts +80 -0
- package/dist/ui/layout.d.ts.map +1 -0
- package/dist/ui/layout.js +86 -0
- package/dist/ui/layout.js.map +1 -0
- package/dist/ui/mail.d.ts +5 -0
- package/dist/ui/mail.d.ts.map +1 -0
- package/dist/ui/mail.js +69 -0
- package/dist/ui/mail.js.map +1 -0
- package/dist/ui/media.d.ts +42 -0
- package/dist/ui/media.d.ts.map +1 -0
- package/dist/ui/media.js +48 -0
- package/dist/ui/media.js.map +1 -0
- package/dist/ui/modal.d.ts +9 -0
- package/dist/ui/modal.d.ts.map +1 -0
- package/dist/ui/modal.js +13 -0
- package/dist/ui/modal.js.map +1 -0
- package/dist/ui/nav.d.ts +34 -0
- package/dist/ui/nav.d.ts.map +1 -0
- package/dist/ui/nav.js +77 -0
- package/dist/ui/nav.js.map +1 -0
- package/dist/ui/navigation.d.ts +22 -0
- package/dist/ui/navigation.d.ts.map +1 -0
- package/dist/ui/navigation.js +9 -0
- package/dist/ui/navigation.js.map +1 -0
- package/dist/ui/primitives.d.ts +61 -0
- package/dist/ui/primitives.d.ts.map +1 -0
- package/dist/ui/primitives.js +74 -0
- package/dist/ui/primitives.js.map +1 -0
- package/dist/ui/record.d.ts +44 -0
- package/dist/ui/record.d.ts.map +1 -0
- package/dist/ui/record.js +39 -0
- package/dist/ui/record.js.map +1 -0
- package/dist/ui/schedule.d.ts +34 -0
- package/dist/ui/schedule.d.ts.map +1 -0
- package/dist/ui/schedule.js +39 -0
- package/dist/ui/schedule.js.map +1 -0
- package/dist/ui/state.d.ts +19 -0
- package/dist/ui/state.d.ts.map +1 -0
- package/dist/ui/state.js +34 -0
- package/dist/ui/state.js.map +1 -0
- package/dist/ui/surfaces.d.ts +38 -0
- package/dist/ui/surfaces.d.ts.map +1 -0
- package/dist/ui/surfaces.js +36 -0
- package/dist/ui/surfaces.js.map +1 -0
- package/dist/ui/table.d.ts +48 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +53 -0
- package/dist/ui/table.js.map +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,1516 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { defineModule, text } from '@ketvietlab/ketjs';
|
|
3
|
+
import { backendPage, formatMoney } from '../../ui/index.js';
|
|
4
|
+
import { readForm, seeOther } from '../backend/forms.js';
|
|
5
|
+
import { viewerOf } from '../backend/routes.js';
|
|
6
|
+
import { ACCOUNT_TYPES, JOURNAL_TYPES, PARTNER_TYPES, PAYMENT_TERM_DELAY_TYPES, PAYMENT_TERM_VALUES, PAYMENT_TYPES, TAX_AMOUNT_TYPES, TAX_USES, } from '../account/functions.js';
|
|
7
|
+
import { optionsOf } from './screens.js';
|
|
8
|
+
import { accountingOverviewScreen } from './accounting-overview-screen.js';
|
|
9
|
+
import { accountsScreen } from './accounts-screen.js';
|
|
10
|
+
import { customerInvoicesScreen } from './customer-invoices-screen.js';
|
|
11
|
+
import { journalsScreen } from './journals-screen.js';
|
|
12
|
+
import { generalLedgerScreen } from './general-ledger-screen.js';
|
|
13
|
+
import { moveDetailScreen } from './move-detail-screen.js';
|
|
14
|
+
import { journalEntriesScreen } from './journal-entries-screen.js';
|
|
15
|
+
import { paymentsScreen } from './payments-screen.js';
|
|
16
|
+
import { paymentTermsScreen } from './payment-terms-screen.js';
|
|
17
|
+
import { partnerLedgerScreen } from './partner-ledger-screen.js';
|
|
18
|
+
import { taxesScreen } from './taxes-screen.js';
|
|
19
|
+
import { trialBalanceScreen } from './trial-balance-screen.js';
|
|
20
|
+
import { vendorBillsScreen } from './vendor-bills-screen.js';
|
|
21
|
+
const frame = async (ctx, url, req) => ({
|
|
22
|
+
navigation: req.headers['x-ket-navigation'] === 'fragment-v1',
|
|
23
|
+
viewer: await viewerOf(ctx, url, req),
|
|
24
|
+
menu: await ctx.menu(url, req),
|
|
25
|
+
extras: {
|
|
26
|
+
'nav.items': await ctx.joint(url, req, 'backend:nav.items', { active: url.pathname }),
|
|
27
|
+
'topbar.end': await ctx.joint(url, req, 'backend:topbar.end'),
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const document = async (ctx, url, req, title, body, translateTitle = true) => {
|
|
31
|
+
const lang = ctx.localeOf(url, req);
|
|
32
|
+
const _ = ctx.translate(lang);
|
|
33
|
+
return backendPage(ctx, req, {
|
|
34
|
+
lang,
|
|
35
|
+
title: translateTitle ? _(title) : title,
|
|
36
|
+
body: await body(lang, _, await frame(ctx, url, req)),
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
const resultRedirect = (result, ok, fail = ok) => result.ok
|
|
40
|
+
? seeOther(ok)
|
|
41
|
+
: seeOther(`${fail}${fail.includes('?') ? '&' : '?'}invalid=1`);
|
|
42
|
+
const optional = (form, name) => (form[name] ? { [name]: form[name] } : {});
|
|
43
|
+
const localeSuffix = (url) => {
|
|
44
|
+
const lang = url.searchParams.get('lang');
|
|
45
|
+
return lang ? `?lang=${encodeURIComponent(lang)}` : '';
|
|
46
|
+
};
|
|
47
|
+
const choices = (rows, empty = false) => [
|
|
48
|
+
...(empty ? [{ value: '', label: '—' }] : []),
|
|
49
|
+
...rows.map((row) => ({
|
|
50
|
+
value: String(row.id),
|
|
51
|
+
label: `${String(row.code ?? '')}${row.code ? ' · ' : ''}${String(row.name)}`,
|
|
52
|
+
})),
|
|
53
|
+
];
|
|
54
|
+
const currencyOf = (companies, shell) => companies.find((company) => company.id === shell.viewer?.company)?.currency;
|
|
55
|
+
const common = async (ctx, url, req) => {
|
|
56
|
+
await ctx.call('account.initializeCompany', {}, url, req);
|
|
57
|
+
const [accounts, journals, taxes, terms, partners, companies, templates, units] = (await Promise.all([
|
|
58
|
+
ctx.call('account.listAccounts', {}, url, req),
|
|
59
|
+
ctx.call('account.listJournals', {}, url, req),
|
|
60
|
+
ctx.call('account.listTaxes', {}, url, req),
|
|
61
|
+
ctx.call('account.listPaymentTerms', {}, url, req),
|
|
62
|
+
ctx.call('partner.listPartners', {}, url, req),
|
|
63
|
+
ctx.call('company.listCompanies', {}, url, req),
|
|
64
|
+
ctx.call('product.listTemplates', { withVariants: true }, url, req),
|
|
65
|
+
ctx.call('uom.listUnits', {}, url, req),
|
|
66
|
+
]));
|
|
67
|
+
const companyPartners = new Set(companies.map((company) => company.partnerId));
|
|
68
|
+
return {
|
|
69
|
+
accounts,
|
|
70
|
+
companies,
|
|
71
|
+
journals,
|
|
72
|
+
taxes,
|
|
73
|
+
terms,
|
|
74
|
+
partners: partners.filter((partner) => !companyPartners.has(partner.id)),
|
|
75
|
+
templates,
|
|
76
|
+
units,
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
const moveFields = (_, data, types) => [
|
|
80
|
+
{
|
|
81
|
+
name: 'journalId',
|
|
82
|
+
label: _('account_backend.field.journalId'),
|
|
83
|
+
type: 'select',
|
|
84
|
+
options: choices(data.journals),
|
|
85
|
+
required: true,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'moveType',
|
|
89
|
+
label: _('account_backend.field.moveType'),
|
|
90
|
+
type: 'select',
|
|
91
|
+
options: optionsOf(_, 'moveType', types),
|
|
92
|
+
},
|
|
93
|
+
{ name: 'date', label: _('account_backend.field.date'), type: 'date' },
|
|
94
|
+
{ name: 'ref', label: _('account_backend.field.ref') },
|
|
95
|
+
{
|
|
96
|
+
name: 'partnerId',
|
|
97
|
+
label: _('account_backend.field.partnerId'),
|
|
98
|
+
type: 'select',
|
|
99
|
+
options: choices(data.partners, true),
|
|
100
|
+
},
|
|
101
|
+
];
|
|
102
|
+
const invoiceFields = (_, data, types) => {
|
|
103
|
+
const customer = types.every((type) => type.startsWith('out_'));
|
|
104
|
+
const journals = data.journals.filter((journal) => journal.type === (customer ? 'sale' : 'purchase'));
|
|
105
|
+
const lineTypes = customer
|
|
106
|
+
? ['income', 'income_other']
|
|
107
|
+
: ['expense', 'expense_other', 'expense_depreciation', 'expense_direct_cost'];
|
|
108
|
+
const lineAccounts = data.accounts.filter((account) => lineTypes.includes(String(account.accountType)));
|
|
109
|
+
const counterpartAccounts = data.accounts.filter((account) => account.accountType === (customer ? 'asset_receivable' : 'liability_payable'));
|
|
110
|
+
const taxes = data.taxes.filter((tax) => tax.typeTaxUse === (customer ? 'sale' : 'purchase'));
|
|
111
|
+
const variants = data.templates.flatMap((template) => (template.variants ?? []).map((variant) => ({
|
|
112
|
+
value: String(variant.id),
|
|
113
|
+
label: `${String(template.name)}${variant.defaultCode ? ` · ${String(variant.defaultCode)}` : ''}`,
|
|
114
|
+
})));
|
|
115
|
+
return [
|
|
116
|
+
{
|
|
117
|
+
name: 'journalId',
|
|
118
|
+
label: _('account_backend.field.journalId'),
|
|
119
|
+
type: 'select',
|
|
120
|
+
options: choices(journals),
|
|
121
|
+
required: true,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'moveType',
|
|
125
|
+
label: _('account_backend.field.moveType'),
|
|
126
|
+
type: 'select',
|
|
127
|
+
options: optionsOf(_, 'moveType', types),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'partnerId',
|
|
131
|
+
label: _('account_backend.field.partnerId'),
|
|
132
|
+
type: 'select',
|
|
133
|
+
options: choices(data.partners),
|
|
134
|
+
required: true,
|
|
135
|
+
},
|
|
136
|
+
{ name: 'invoiceDate', label: _('account_backend.field.invoiceDate'), type: 'date' },
|
|
137
|
+
{
|
|
138
|
+
name: 'paymentTermId',
|
|
139
|
+
label: _('account_backend.field.paymentTermId'),
|
|
140
|
+
type: 'select',
|
|
141
|
+
options: choices(data.terms, true),
|
|
142
|
+
},
|
|
143
|
+
{ name: 'ref', label: _('account_backend.field.ref') },
|
|
144
|
+
{ name: 'description', label: _('account_backend.field.description'), required: true },
|
|
145
|
+
{
|
|
146
|
+
name: 'productId',
|
|
147
|
+
label: _('account_backend.field.productId'),
|
|
148
|
+
type: 'select',
|
|
149
|
+
options: [{ value: '', label: '—' }, ...variants],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'productUomId',
|
|
153
|
+
label: _('account_backend.field.productUomId'),
|
|
154
|
+
type: 'select',
|
|
155
|
+
options: choices(data.units, true),
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'quantity',
|
|
159
|
+
label: _('account_backend.field.quantity'),
|
|
160
|
+
type: 'decimal',
|
|
161
|
+
value: 1,
|
|
162
|
+
required: true,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'priceUnit',
|
|
166
|
+
label: _('account_backend.field.priceUnit'),
|
|
167
|
+
type: 'decimal',
|
|
168
|
+
value: 0,
|
|
169
|
+
required: true,
|
|
170
|
+
},
|
|
171
|
+
{ name: 'discount', label: _('account_backend.field.discount'), type: 'decimal', value: 0 },
|
|
172
|
+
{
|
|
173
|
+
name: 'lineAccountId',
|
|
174
|
+
label: _('account_backend.field.lineAccountId'),
|
|
175
|
+
type: 'select',
|
|
176
|
+
options: choices(lineAccounts),
|
|
177
|
+
required: true,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'counterpartAccountId',
|
|
181
|
+
label: _('account_backend.field.counterpartAccountId'),
|
|
182
|
+
type: 'select',
|
|
183
|
+
options: choices(counterpartAccounts),
|
|
184
|
+
required: true,
|
|
185
|
+
},
|
|
186
|
+
{ name: 'taxId', label: _('account_backend.field.taxId'), type: 'select', options: choices(taxes, true) },
|
|
187
|
+
{
|
|
188
|
+
name: 'taxAccountId',
|
|
189
|
+
label: _('account_backend.field.taxAccountId'),
|
|
190
|
+
type: 'select',
|
|
191
|
+
options: choices(data.accounts, true),
|
|
192
|
+
},
|
|
193
|
+
];
|
|
194
|
+
};
|
|
195
|
+
const createInvoice = async (ctx, url, req, redirect) => {
|
|
196
|
+
const form = await readForm(req);
|
|
197
|
+
const result = await ctx.call('account.createInvoice', {
|
|
198
|
+
id: randomUUID(),
|
|
199
|
+
journalId: form.journalId ?? '',
|
|
200
|
+
moveType: form.moveType ?? '',
|
|
201
|
+
partnerId: form.partnerId ?? '',
|
|
202
|
+
...optional(form, 'invoiceDate'),
|
|
203
|
+
...optional(form, 'paymentTermId'),
|
|
204
|
+
...optional(form, 'ref'),
|
|
205
|
+
description: form.description ?? '',
|
|
206
|
+
...optional(form, 'productId'),
|
|
207
|
+
...optional(form, 'productUomId'),
|
|
208
|
+
quantity: form.quantity || '1',
|
|
209
|
+
priceUnit: form.priceUnit || '0',
|
|
210
|
+
discount: form.discount || '0',
|
|
211
|
+
lineAccountId: form.lineAccountId ?? '',
|
|
212
|
+
counterpartAccountId: form.counterpartAccountId ?? '',
|
|
213
|
+
...optional(form, 'taxId'),
|
|
214
|
+
...optional(form, 'taxAccountId'),
|
|
215
|
+
}, url, req);
|
|
216
|
+
return resultRedirect(result, redirect);
|
|
217
|
+
};
|
|
218
|
+
const accountMoveRoute = (ctx) => async (url, req, params) => {
|
|
219
|
+
if (req.method === 'POST') {
|
|
220
|
+
const form = await readForm(req);
|
|
221
|
+
const result = form.action === 'post'
|
|
222
|
+
? await ctx.call('account.postMove', { id: params.id }, url, req)
|
|
223
|
+
: form.action === 'cancel'
|
|
224
|
+
? await ctx.call('account.cancelMove', { id: params.id }, url, req)
|
|
225
|
+
: await ctx.call('account.addMoveLine', {
|
|
226
|
+
id: randomUUID(),
|
|
227
|
+
moveId: params.id,
|
|
228
|
+
name: form.name ?? '',
|
|
229
|
+
accountId: form.accountId ?? '',
|
|
230
|
+
...optional(form, 'partnerId'),
|
|
231
|
+
debit: form.debit || '0',
|
|
232
|
+
credit: form.credit || '0',
|
|
233
|
+
}, url, req);
|
|
234
|
+
return resultRedirect(result, `${url.pathname}${localeSuffix(url)}`);
|
|
235
|
+
}
|
|
236
|
+
if (req.method !== 'GET')
|
|
237
|
+
return text('GET or POST', { status: 405 });
|
|
238
|
+
const [move, accounts] = (await Promise.all([
|
|
239
|
+
ctx.call('account.getMove', { id: params.id }, url, req),
|
|
240
|
+
ctx.call('account.listAccounts', {}, url, req),
|
|
241
|
+
]));
|
|
242
|
+
if (!move)
|
|
243
|
+
return text(ctx.translate(ctx.localeOf(url, req))('account_backend.move.notFound'), { status: 404 });
|
|
244
|
+
const lang = ctx.localeOf(url, req);
|
|
245
|
+
const collaboration = await ctx.joint(url, req, 'account_backend:move.collaboration', {
|
|
246
|
+
resModel: 'account.Move',
|
|
247
|
+
resId: String(move.id),
|
|
248
|
+
lang,
|
|
249
|
+
});
|
|
250
|
+
return document(ctx, url, req, String(move.name), (_, tr, shell) => moveDetailScreen(tr, move, move.lines ?? [], shell, choices(accounts), `${url.pathname}${localeSuffix(url)}`, collaboration), false);
|
|
251
|
+
};
|
|
252
|
+
const MESSAGES = { vi: {}, en: {} };
|
|
253
|
+
export default defineModule({
|
|
254
|
+
name: 'account_backend',
|
|
255
|
+
version: '0.1.0',
|
|
256
|
+
depends: ['account', 'backend'],
|
|
257
|
+
install: 'auto',
|
|
258
|
+
app: true,
|
|
259
|
+
joints: {
|
|
260
|
+
'move.collaboration': {
|
|
261
|
+
props: { resModel: 'text', resId: 'id', lang: 'text' },
|
|
262
|
+
multiple: true,
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
title: 'Kế toán trong quản trị',
|
|
266
|
+
summary: 'Giao diện sổ cái, hoá đơn, thanh toán và báo cáo.',
|
|
267
|
+
category: 'Tài chính',
|
|
268
|
+
menus: {
|
|
269
|
+
accounting: { label: 'menu.app', icon: 'banknote', sequence: 30 },
|
|
270
|
+
'accounting.dashboard': {
|
|
271
|
+
parent: 'accounting',
|
|
272
|
+
label: 'menu.dashboard',
|
|
273
|
+
path: '/admin/accounting',
|
|
274
|
+
needs: 'account.listMoves',
|
|
275
|
+
sequence: 1,
|
|
276
|
+
},
|
|
277
|
+
'accounting.customers': { parent: 'accounting', label: 'menu.customers', sequence: 10 },
|
|
278
|
+
'accounting.customerInvoices': {
|
|
279
|
+
parent: 'accounting.customers',
|
|
280
|
+
label: 'menu.customerInvoices',
|
|
281
|
+
path: '/admin/customer-invoices',
|
|
282
|
+
needs: 'account.listMoves',
|
|
283
|
+
},
|
|
284
|
+
'accounting.vendors': { parent: 'accounting', label: 'menu.vendors', sequence: 20 },
|
|
285
|
+
'accounting.vendorBills': {
|
|
286
|
+
parent: 'accounting.vendors',
|
|
287
|
+
label: 'menu.vendorBills',
|
|
288
|
+
path: '/admin/vendor-bills',
|
|
289
|
+
needs: 'account.listMoves',
|
|
290
|
+
},
|
|
291
|
+
'accounting.operations': { parent: 'accounting', label: 'menu.operations', sequence: 30 },
|
|
292
|
+
'accounting.entries': {
|
|
293
|
+
parent: 'accounting.operations',
|
|
294
|
+
label: 'menu.entries',
|
|
295
|
+
path: '/admin/journal-entries',
|
|
296
|
+
needs: 'account.listMoves',
|
|
297
|
+
},
|
|
298
|
+
'accounting.payments': {
|
|
299
|
+
parent: 'accounting.operations',
|
|
300
|
+
label: 'menu.payments',
|
|
301
|
+
path: '/admin/payments',
|
|
302
|
+
needs: 'account.listPayments',
|
|
303
|
+
},
|
|
304
|
+
'accounting.reporting': { parent: 'accounting', label: 'menu.reporting', sequence: 40 },
|
|
305
|
+
'accounting.trialBalance': {
|
|
306
|
+
parent: 'accounting.reporting',
|
|
307
|
+
label: 'menu.trialBalance',
|
|
308
|
+
path: '/admin/trial-balance',
|
|
309
|
+
needs: 'account.trialBalance',
|
|
310
|
+
},
|
|
311
|
+
'accounting.generalLedger': {
|
|
312
|
+
parent: 'accounting.reporting',
|
|
313
|
+
label: 'menu.generalLedger',
|
|
314
|
+
path: '/admin/general-ledger',
|
|
315
|
+
needs: 'account.generalLedger',
|
|
316
|
+
},
|
|
317
|
+
'accounting.partnerStatement': {
|
|
318
|
+
parent: 'accounting.reporting',
|
|
319
|
+
label: 'menu.partnerStatement',
|
|
320
|
+
path: '/admin/partner-statement',
|
|
321
|
+
needs: 'account.partnerStatement',
|
|
322
|
+
},
|
|
323
|
+
'accounting.configuration': { parent: 'accounting', label: 'menu.configuration', sequence: 50 },
|
|
324
|
+
'accounting.accounts': {
|
|
325
|
+
parent: 'accounting.configuration',
|
|
326
|
+
label: 'menu.accounts',
|
|
327
|
+
path: '/admin/accounts',
|
|
328
|
+
needs: 'account.listAccounts',
|
|
329
|
+
},
|
|
330
|
+
'accounting.journals': {
|
|
331
|
+
parent: 'accounting.configuration',
|
|
332
|
+
label: 'menu.journals',
|
|
333
|
+
path: '/admin/journals',
|
|
334
|
+
needs: 'account.listJournals',
|
|
335
|
+
},
|
|
336
|
+
'accounting.taxes': {
|
|
337
|
+
parent: 'accounting.configuration',
|
|
338
|
+
label: 'menu.taxes',
|
|
339
|
+
path: '/admin/taxes',
|
|
340
|
+
needs: 'account.listTaxes',
|
|
341
|
+
},
|
|
342
|
+
'accounting.terms': {
|
|
343
|
+
parent: 'accounting.configuration',
|
|
344
|
+
label: 'menu.paymentTerms',
|
|
345
|
+
path: '/admin/payment-terms',
|
|
346
|
+
needs: 'account.listPaymentTerms',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
routes: {
|
|
350
|
+
'/admin/accounting': (ctx) => async (url, req) => {
|
|
351
|
+
if (req.method !== 'GET')
|
|
352
|
+
return text('GET', { status: 405 });
|
|
353
|
+
await ctx.call('account.initializeCompany', {}, url, req);
|
|
354
|
+
const [accounts, journals, moves, setup] = (await Promise.all([
|
|
355
|
+
ctx.call('account.listAccounts', {}, url, req),
|
|
356
|
+
ctx.call('account.listJournals', {}, url, req),
|
|
357
|
+
ctx.call('account.listMoves', {}, url, req),
|
|
358
|
+
ctx.call('account.getSetup', {}, url, req),
|
|
359
|
+
]));
|
|
360
|
+
return document(ctx, url, req, 'account_backend.dashboard.title', (_, tr, shell) => accountingOverviewScreen(tr, {
|
|
361
|
+
counts: {
|
|
362
|
+
accounts: accounts.length,
|
|
363
|
+
journals: journals.length,
|
|
364
|
+
draft: moves.filter((move) => move.state === 'draft').length,
|
|
365
|
+
posted: moves.filter((move) => move.state === 'posted').length,
|
|
366
|
+
unpaid: moves.filter((move) => move.paymentState === 'not_paid').length,
|
|
367
|
+
},
|
|
368
|
+
frame: shell,
|
|
369
|
+
locale: localeSuffix(url),
|
|
370
|
+
standard: String(setup.standard),
|
|
371
|
+
}));
|
|
372
|
+
},
|
|
373
|
+
'/admin/accounts': (ctx) => async (url, req) => {
|
|
374
|
+
if (req.method === 'POST') {
|
|
375
|
+
const form = await readForm(req);
|
|
376
|
+
return resultRedirect(await ctx.call('account.saveAccount', {
|
|
377
|
+
id: randomUUID(),
|
|
378
|
+
code: form.code ?? '',
|
|
379
|
+
name: form.name ?? '',
|
|
380
|
+
accountType: form.accountType ?? '',
|
|
381
|
+
reconcile: form.reconcile === '1',
|
|
382
|
+
active: true,
|
|
383
|
+
}, url, req), `/admin/accounts${localeSuffix(url)}`);
|
|
384
|
+
}
|
|
385
|
+
if (req.method !== 'GET')
|
|
386
|
+
return text('GET or POST', { status: 405 });
|
|
387
|
+
const rows = (await ctx.call('account.listAccounts', {}, url, req));
|
|
388
|
+
return document(ctx, url, req, 'account_backend.accounts.title', (_, tr, shell) => accountsScreen(tr, {
|
|
389
|
+
frame: shell,
|
|
390
|
+
action: `/admin/accounts${localeSuffix(url)}`,
|
|
391
|
+
rows,
|
|
392
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
393
|
+
fields: [
|
|
394
|
+
{ name: 'code', label: tr('account_backend.field.code'), required: true },
|
|
395
|
+
{ name: 'name', label: tr('account_backend.field.name'), required: true },
|
|
396
|
+
{
|
|
397
|
+
name: 'accountType',
|
|
398
|
+
label: tr('account_backend.field.accountType'),
|
|
399
|
+
type: 'select',
|
|
400
|
+
options: optionsOf(tr, 'accountType', ACCOUNT_TYPES),
|
|
401
|
+
},
|
|
402
|
+
{ name: 'reconcile', label: tr('account_backend.field.reconcile'), type: 'checkbox' },
|
|
403
|
+
],
|
|
404
|
+
}));
|
|
405
|
+
},
|
|
406
|
+
'/admin/journals': (ctx) => async (url, req) => {
|
|
407
|
+
const data = await common(ctx, url, req);
|
|
408
|
+
if (req.method === 'POST') {
|
|
409
|
+
const form = await readForm(req);
|
|
410
|
+
return resultRedirect(await ctx.call('account.saveJournal', {
|
|
411
|
+
id: randomUUID(),
|
|
412
|
+
name: form.name ?? '',
|
|
413
|
+
code: form.code ?? '',
|
|
414
|
+
type: form.type ?? '',
|
|
415
|
+
...optional(form, 'defaultAccountId'),
|
|
416
|
+
active: true,
|
|
417
|
+
}, url, req), `/admin/journals${localeSuffix(url)}`);
|
|
418
|
+
}
|
|
419
|
+
if (req.method !== 'GET')
|
|
420
|
+
return text('GET or POST', { status: 405 });
|
|
421
|
+
return document(ctx, url, req, 'account_backend.journals.title', (_, tr, shell) => journalsScreen(tr, {
|
|
422
|
+
frame: shell,
|
|
423
|
+
action: `/admin/journals${localeSuffix(url)}`,
|
|
424
|
+
rows: data.journals,
|
|
425
|
+
accounts: data.accounts,
|
|
426
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
427
|
+
fields: [
|
|
428
|
+
{ name: 'name', label: tr('account_backend.field.name'), required: true },
|
|
429
|
+
{ name: 'code', label: tr('account_backend.field.code'), required: true },
|
|
430
|
+
{
|
|
431
|
+
name: 'type',
|
|
432
|
+
label: tr('account_backend.field.type'),
|
|
433
|
+
type: 'select',
|
|
434
|
+
options: optionsOf(tr, 'journalType', JOURNAL_TYPES),
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
name: 'defaultAccountId',
|
|
438
|
+
label: tr('account_backend.field.defaultAccountId'),
|
|
439
|
+
type: 'select',
|
|
440
|
+
options: choices(data.accounts, true),
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
}));
|
|
444
|
+
},
|
|
445
|
+
'/admin/taxes': (ctx) => async (url, req) => {
|
|
446
|
+
const data = await common(ctx, url, req);
|
|
447
|
+
if (req.method === 'POST') {
|
|
448
|
+
const form = await readForm(req);
|
|
449
|
+
return resultRedirect(await ctx.call('account.saveTax', {
|
|
450
|
+
id: randomUUID(),
|
|
451
|
+
name: form.name ?? '',
|
|
452
|
+
...optional(form, 'description'),
|
|
453
|
+
typeTaxUse: form.typeTaxUse ?? 'sale',
|
|
454
|
+
...optional(form, 'taxScope'),
|
|
455
|
+
amountType: form.amountType ?? 'percent',
|
|
456
|
+
amount: form.amount || '0',
|
|
457
|
+
priceInclude: form.priceInclude === '1',
|
|
458
|
+
includeBaseAmount: form.includeBaseAmount === '1',
|
|
459
|
+
...optional(form, 'accountId'),
|
|
460
|
+
sequence: Number(form.sequence || 10),
|
|
461
|
+
active: true,
|
|
462
|
+
}, url, req), `/admin/taxes${localeSuffix(url)}`);
|
|
463
|
+
}
|
|
464
|
+
if (req.method !== 'GET')
|
|
465
|
+
return text('GET or POST', { status: 405 });
|
|
466
|
+
return document(ctx, url, req, 'account_backend.taxes.title', (_, tr, shell) => {
|
|
467
|
+
const currency = currencyOf(data.companies, shell);
|
|
468
|
+
return taxesScreen(tr, {
|
|
469
|
+
frame: shell,
|
|
470
|
+
action: `/admin/taxes${localeSuffix(url)}`,
|
|
471
|
+
rows: data.taxes,
|
|
472
|
+
accounts: data.accounts,
|
|
473
|
+
currency,
|
|
474
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
475
|
+
fields: [
|
|
476
|
+
{ name: 'name', label: tr('account_backend.field.name'), required: true },
|
|
477
|
+
{ name: 'description', label: tr('account_backend.field.description') },
|
|
478
|
+
{
|
|
479
|
+
name: 'typeTaxUse',
|
|
480
|
+
label: tr('account_backend.field.typeTaxUse'),
|
|
481
|
+
type: 'select',
|
|
482
|
+
options: optionsOf(tr, 'taxUse', TAX_USES),
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: 'taxScope',
|
|
486
|
+
label: tr('account_backend.field.taxScope'),
|
|
487
|
+
type: 'select',
|
|
488
|
+
options: [{ value: '', label: '—' }, ...optionsOf(tr, 'taxScope', ['service', 'consu'])],
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
name: 'amountType',
|
|
492
|
+
label: tr('account_backend.field.amountType'),
|
|
493
|
+
type: 'select',
|
|
494
|
+
options: optionsOf(tr, 'taxAmountType', TAX_AMOUNT_TYPES),
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: 'amount',
|
|
498
|
+
label: tr('account_backend.field.amount'),
|
|
499
|
+
type: 'decimal',
|
|
500
|
+
value: 0,
|
|
501
|
+
required: true,
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
name: 'accountId',
|
|
505
|
+
label: tr('account_backend.field.accountId'),
|
|
506
|
+
type: 'select',
|
|
507
|
+
options: choices(data.accounts, true),
|
|
508
|
+
},
|
|
509
|
+
{ name: 'priceInclude', label: tr('account_backend.field.priceInclude'), type: 'checkbox' },
|
|
510
|
+
{
|
|
511
|
+
name: 'includeBaseAmount',
|
|
512
|
+
label: tr('account_backend.field.includeBaseAmount'),
|
|
513
|
+
type: 'checkbox',
|
|
514
|
+
},
|
|
515
|
+
{ name: 'sequence', label: tr('account_backend.field.sequence'), type: 'number', value: 10 },
|
|
516
|
+
],
|
|
517
|
+
});
|
|
518
|
+
});
|
|
519
|
+
},
|
|
520
|
+
'/admin/payment-terms': (ctx) => async (url, req) => {
|
|
521
|
+
if (req.method === 'POST') {
|
|
522
|
+
const form = await readForm(req);
|
|
523
|
+
const result = form.action === 'line'
|
|
524
|
+
? await ctx.call('account.savePaymentTermLine', {
|
|
525
|
+
id: randomUUID(),
|
|
526
|
+
paymentId: form.paymentId ?? '',
|
|
527
|
+
value: form.value ?? 'percent',
|
|
528
|
+
valueAmount: form.valueAmount || '100',
|
|
529
|
+
delayType: form.delayType ?? 'days_after',
|
|
530
|
+
nbDays: Number(form.nbDays || 0),
|
|
531
|
+
...(form.daysNextMonth ? { daysNextMonth: Number(form.daysNextMonth) } : {}),
|
|
532
|
+
sequence: Number(form.sequence || 10),
|
|
533
|
+
}, url, req)
|
|
534
|
+
: await ctx.call('account.savePaymentTerm', { id: randomUUID(), name: form.name ?? '', ...optional(form, 'note'), active: true }, url, req);
|
|
535
|
+
return resultRedirect(result, `/admin/payment-terms${localeSuffix(url)}`);
|
|
536
|
+
}
|
|
537
|
+
if (req.method !== 'GET')
|
|
538
|
+
return text('GET or POST', { status: 405 });
|
|
539
|
+
const rows = (await ctx.call('account.listPaymentTerms', {}, url, req));
|
|
540
|
+
return document(ctx, url, req, 'account_backend.terms.title', (_, tr, shell) => paymentTermsScreen(tr, {
|
|
541
|
+
frame: shell,
|
|
542
|
+
action: `/admin/payment-terms${localeSuffix(url)}`,
|
|
543
|
+
rows,
|
|
544
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
545
|
+
termFields: [
|
|
546
|
+
{ name: 'name', label: tr('account_backend.field.name'), required: true },
|
|
547
|
+
{ name: 'note', label: tr('account_backend.field.note'), type: 'textarea', span: 'full' },
|
|
548
|
+
],
|
|
549
|
+
lineFields: rows.length
|
|
550
|
+
? [
|
|
551
|
+
{
|
|
552
|
+
name: 'paymentId',
|
|
553
|
+
label: tr('account_backend.field.paymentTermId'),
|
|
554
|
+
type: 'select',
|
|
555
|
+
options: choices(rows),
|
|
556
|
+
required: true,
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
name: 'value',
|
|
560
|
+
label: tr('account_backend.field.termValue'),
|
|
561
|
+
type: 'select',
|
|
562
|
+
options: optionsOf(tr, 'paymentTermValue', PAYMENT_TERM_VALUES),
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
name: 'valueAmount',
|
|
566
|
+
label: tr('account_backend.field.valueAmount'),
|
|
567
|
+
type: 'decimal',
|
|
568
|
+
value: 100,
|
|
569
|
+
required: true,
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: 'delayType',
|
|
573
|
+
label: tr('account_backend.field.delayType'),
|
|
574
|
+
type: 'select',
|
|
575
|
+
options: optionsOf(tr, 'paymentTermDelay', PAYMENT_TERM_DELAY_TYPES),
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: 'nbDays',
|
|
579
|
+
label: tr('account_backend.field.nbDays'),
|
|
580
|
+
type: 'number',
|
|
581
|
+
value: 0,
|
|
582
|
+
required: true,
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
name: 'daysNextMonth',
|
|
586
|
+
label: tr('account_backend.field.daysNextMonth'),
|
|
587
|
+
type: 'number',
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
name: 'sequence',
|
|
591
|
+
label: tr('account_backend.field.sequence'),
|
|
592
|
+
type: 'number',
|
|
593
|
+
value: 10,
|
|
594
|
+
},
|
|
595
|
+
]
|
|
596
|
+
: undefined,
|
|
597
|
+
}));
|
|
598
|
+
},
|
|
599
|
+
'/admin/journal-entries': (ctx) => async (url, req) => {
|
|
600
|
+
const data = await common(ctx, url, req);
|
|
601
|
+
if (req.method === 'POST') {
|
|
602
|
+
const form = await readForm(req);
|
|
603
|
+
return resultRedirect(await ctx.call('account.createMove', {
|
|
604
|
+
id: randomUUID(),
|
|
605
|
+
journalId: form.journalId ?? '',
|
|
606
|
+
moveType: form.moveType || 'entry',
|
|
607
|
+
...optional(form, 'date'),
|
|
608
|
+
...optional(form, 'ref'),
|
|
609
|
+
...optional(form, 'partnerId'),
|
|
610
|
+
}, url, req), `/admin/journal-entries${localeSuffix(url)}`);
|
|
611
|
+
}
|
|
612
|
+
if (req.method !== 'GET')
|
|
613
|
+
return text('GET or POST', { status: 405 });
|
|
614
|
+
const state = url.searchParams.get('state');
|
|
615
|
+
const rows = (await ctx.call('account.listMoves', { moveType: 'entry', ...(state ? { state } : {}) }, url, req));
|
|
616
|
+
return document(ctx, url, req, 'account_backend.entries.title', (_, tr, shell) => journalEntriesScreen(tr, {
|
|
617
|
+
frame: shell,
|
|
618
|
+
action: `/admin/journal-entries${localeSuffix(url)}`,
|
|
619
|
+
fields: moveFields(tr, data, ['entry']),
|
|
620
|
+
rows,
|
|
621
|
+
locale: localeSuffix(url),
|
|
622
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
623
|
+
}));
|
|
624
|
+
},
|
|
625
|
+
'/admin/customer-invoices': (ctx) => async (url, req) => {
|
|
626
|
+
const data = await common(ctx, url, req);
|
|
627
|
+
if (req.method === 'POST')
|
|
628
|
+
return createInvoice(ctx, url, req, `/admin/customer-invoices${localeSuffix(url)}`);
|
|
629
|
+
if (req.method !== 'GET')
|
|
630
|
+
return text('GET or POST', { status: 405 });
|
|
631
|
+
const all = (await ctx.call('account.listMoves', {}, url, req));
|
|
632
|
+
const rows = all.filter((move) => ['out_invoice', 'out_refund', 'out_receipt'].includes(String(move.moveType)));
|
|
633
|
+
return document(ctx, url, req, 'account_backend.customerInvoices.title', (_, tr, shell) => customerInvoicesScreen(tr, {
|
|
634
|
+
frame: shell,
|
|
635
|
+
action: `/admin/customer-invoices${localeSuffix(url)}`,
|
|
636
|
+
fields: invoiceFields(tr, data, ['out_invoice', 'out_refund', 'out_receipt']),
|
|
637
|
+
rows,
|
|
638
|
+
locale: localeSuffix(url),
|
|
639
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
640
|
+
}));
|
|
641
|
+
},
|
|
642
|
+
'/admin/vendor-bills': (ctx) => async (url, req) => {
|
|
643
|
+
const data = await common(ctx, url, req);
|
|
644
|
+
if (req.method === 'POST')
|
|
645
|
+
return createInvoice(ctx, url, req, `/admin/vendor-bills${localeSuffix(url)}`);
|
|
646
|
+
if (req.method !== 'GET')
|
|
647
|
+
return text('GET or POST', { status: 405 });
|
|
648
|
+
const all = (await ctx.call('account.listMoves', {}, url, req));
|
|
649
|
+
const rows = all.filter((move) => ['in_invoice', 'in_refund', 'in_receipt'].includes(String(move.moveType)));
|
|
650
|
+
return document(ctx, url, req, 'account_backend.vendorBills.title', (_, tr, shell) => vendorBillsScreen(tr, {
|
|
651
|
+
frame: shell,
|
|
652
|
+
action: `/admin/vendor-bills${localeSuffix(url)}`,
|
|
653
|
+
fields: invoiceFields(tr, data, ['in_invoice', 'in_refund', 'in_receipt']),
|
|
654
|
+
rows,
|
|
655
|
+
locale: localeSuffix(url),
|
|
656
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
657
|
+
}));
|
|
658
|
+
},
|
|
659
|
+
'/admin/journal-entries/{id}': accountMoveRoute,
|
|
660
|
+
'/admin/customer-invoices/{id}': accountMoveRoute,
|
|
661
|
+
'/admin/vendor-bills/{id}': accountMoveRoute,
|
|
662
|
+
'/admin/payments': (ctx) => async (url, req) => {
|
|
663
|
+
const [data, openItems] = await Promise.all([
|
|
664
|
+
common(ctx, url, req),
|
|
665
|
+
ctx.call('account.listOpenItems', {}, url, req),
|
|
666
|
+
]);
|
|
667
|
+
if (req.method === 'POST') {
|
|
668
|
+
const form = await readForm(req);
|
|
669
|
+
return resultRedirect(await ctx.call('account.registerPayment', {
|
|
670
|
+
id: randomUUID(),
|
|
671
|
+
name: form.name ?? '',
|
|
672
|
+
paymentType: form.paymentType ?? 'inbound',
|
|
673
|
+
partnerType: form.partnerType ?? 'customer',
|
|
674
|
+
...optional(form, 'partnerId'),
|
|
675
|
+
journalId: form.journalId ?? '',
|
|
676
|
+
destinationAccountId: form.destinationAccountId ?? '',
|
|
677
|
+
amount: form.amount || '0',
|
|
678
|
+
...optional(form, 'date'),
|
|
679
|
+
...optional(form, 'memo'),
|
|
680
|
+
...optional(form, 'paymentReference'),
|
|
681
|
+
...optional(form, 'reconcileLineId'),
|
|
682
|
+
}, url, req), `/admin/payments${localeSuffix(url)}`);
|
|
683
|
+
}
|
|
684
|
+
if (req.method !== 'GET')
|
|
685
|
+
return text('GET or POST', { status: 405 });
|
|
686
|
+
const rows = (await ctx.call('account.listPayments', {}, url, req));
|
|
687
|
+
return document(ctx, url, req, 'account_backend.payments.title', (_, tr, shell) => paymentsScreen(tr, {
|
|
688
|
+
frame: shell,
|
|
689
|
+
action: `/admin/payments${localeSuffix(url)}`,
|
|
690
|
+
rows,
|
|
691
|
+
openItems: openItems.length,
|
|
692
|
+
errors: url.searchParams.get('invalid') === '1' ? [tr('account_backend.error.invalid')] : undefined,
|
|
693
|
+
fields: [
|
|
694
|
+
{ name: 'name', label: tr('account_backend.field.name'), required: true },
|
|
695
|
+
{
|
|
696
|
+
name: 'paymentType',
|
|
697
|
+
label: tr('account_backend.field.paymentType'),
|
|
698
|
+
type: 'select',
|
|
699
|
+
options: optionsOf(tr, 'paymentType', PAYMENT_TYPES),
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
name: 'partnerType',
|
|
703
|
+
label: tr('account_backend.field.partnerType'),
|
|
704
|
+
type: 'select',
|
|
705
|
+
options: optionsOf(tr, 'partnerType', PARTNER_TYPES),
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: 'partnerId',
|
|
709
|
+
label: tr('account_backend.field.partnerId'),
|
|
710
|
+
type: 'select',
|
|
711
|
+
options: choices(data.partners, true),
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: 'journalId',
|
|
715
|
+
label: tr('account_backend.field.journalId'),
|
|
716
|
+
type: 'select',
|
|
717
|
+
options: choices(data.journals.filter((journal) => ['bank', 'cash'].includes(String(journal.type)))),
|
|
718
|
+
required: true,
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: 'destinationAccountId',
|
|
722
|
+
label: tr('account_backend.field.destinationAccountId'),
|
|
723
|
+
type: 'select',
|
|
724
|
+
options: choices(data.accounts),
|
|
725
|
+
required: true,
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
name: 'amount',
|
|
729
|
+
label: tr('account_backend.field.amount'),
|
|
730
|
+
type: 'decimal',
|
|
731
|
+
value: 0,
|
|
732
|
+
required: true,
|
|
733
|
+
},
|
|
734
|
+
{ name: 'date', label: tr('account_backend.field.date'), type: 'date' },
|
|
735
|
+
{ name: 'memo', label: tr('account_backend.field.memo') },
|
|
736
|
+
{ name: 'paymentReference', label: tr('account_backend.field.paymentReference') },
|
|
737
|
+
{
|
|
738
|
+
name: 'reconcileLineId',
|
|
739
|
+
label: tr('account_backend.field.reconcileLineId'),
|
|
740
|
+
type: 'select',
|
|
741
|
+
options: [
|
|
742
|
+
{ value: '', label: '—' },
|
|
743
|
+
...openItems.map((line) => ({
|
|
744
|
+
value: String(line.id),
|
|
745
|
+
label: `${String(line.move?.name ?? line.moveId)} · ${String(line.accountId)} · ${formatMoney(tr, line.amountResidual, line.move?.currency)}`,
|
|
746
|
+
})),
|
|
747
|
+
],
|
|
748
|
+
},
|
|
749
|
+
],
|
|
750
|
+
}));
|
|
751
|
+
},
|
|
752
|
+
'/admin/trial-balance': (ctx) => async (url, req) => {
|
|
753
|
+
if (req.method !== 'GET')
|
|
754
|
+
return text('GET', { status: 405 });
|
|
755
|
+
const dateFrom = url.searchParams.get('dateFrom') ?? '', dateTo = url.searchParams.get('dateTo') ?? '';
|
|
756
|
+
const [rows, companies] = (await Promise.all([
|
|
757
|
+
ctx.call('account.trialBalance', { ...(dateFrom ? { dateFrom } : {}), ...(dateTo ? { dateTo } : {}) }, url, req),
|
|
758
|
+
ctx.call('company.listCompanies', {}, url, req),
|
|
759
|
+
]));
|
|
760
|
+
return document(ctx, url, req, 'account_backend.trialBalance.title', (_, tr, shell) => {
|
|
761
|
+
const currency = currencyOf(companies, shell);
|
|
762
|
+
return trialBalanceScreen(tr, {
|
|
763
|
+
frame: shell,
|
|
764
|
+
action: `/admin/trial-balance${localeSuffix(url)}`,
|
|
765
|
+
rows,
|
|
766
|
+
currency,
|
|
767
|
+
fields: [
|
|
768
|
+
{
|
|
769
|
+
name: 'dateFrom',
|
|
770
|
+
label: tr('account_backend.field.dateFrom'),
|
|
771
|
+
type: 'date',
|
|
772
|
+
value: dateFrom,
|
|
773
|
+
},
|
|
774
|
+
{ name: 'dateTo', label: tr('account_backend.field.dateTo'), type: 'date', value: dateTo },
|
|
775
|
+
],
|
|
776
|
+
});
|
|
777
|
+
});
|
|
778
|
+
},
|
|
779
|
+
'/admin/general-ledger': (ctx) => async (url, req) => {
|
|
780
|
+
if (req.method !== 'GET')
|
|
781
|
+
return text('GET', { status: 405 });
|
|
782
|
+
const data = await common(ctx, url, req), accountId = url.searchParams.get('accountId') ?? '', dateFrom = url.searchParams.get('dateFrom') ?? '', dateTo = url.searchParams.get('dateTo') ?? '';
|
|
783
|
+
const rows = (await ctx.call('account.generalLedger', {
|
|
784
|
+
...(accountId ? { accountId } : {}),
|
|
785
|
+
...(dateFrom ? { dateFrom } : {}),
|
|
786
|
+
...(dateTo ? { dateTo } : {}),
|
|
787
|
+
}, url, req));
|
|
788
|
+
return document(ctx, url, req, 'account_backend.generalLedger.title', (_, tr, shell) => {
|
|
789
|
+
const currency = currencyOf(data.companies, shell);
|
|
790
|
+
return generalLedgerScreen(tr, {
|
|
791
|
+
frame: shell,
|
|
792
|
+
action: `/admin/general-ledger${localeSuffix(url)}`,
|
|
793
|
+
rows,
|
|
794
|
+
currency,
|
|
795
|
+
fields: [
|
|
796
|
+
{
|
|
797
|
+
name: 'accountId',
|
|
798
|
+
label: tr('account_backend.field.accountId'),
|
|
799
|
+
type: 'select',
|
|
800
|
+
value: accountId,
|
|
801
|
+
options: choices(data.accounts, true),
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
name: 'dateFrom',
|
|
805
|
+
label: tr('account_backend.field.dateFrom'),
|
|
806
|
+
type: 'date',
|
|
807
|
+
value: dateFrom,
|
|
808
|
+
},
|
|
809
|
+
{ name: 'dateTo', label: tr('account_backend.field.dateTo'), type: 'date', value: dateTo },
|
|
810
|
+
],
|
|
811
|
+
});
|
|
812
|
+
});
|
|
813
|
+
},
|
|
814
|
+
'/admin/partner-statement': (ctx) => async (url, req) => {
|
|
815
|
+
if (req.method !== 'GET')
|
|
816
|
+
return text('GET', { status: 405 });
|
|
817
|
+
const data = await common(ctx, url, req);
|
|
818
|
+
const partnerId = url.searchParams.get('partnerId') ?? '';
|
|
819
|
+
const rows = partnerId
|
|
820
|
+
? (await ctx.call('account.partnerStatement', { partnerId }, url, req))
|
|
821
|
+
: [];
|
|
822
|
+
return document(ctx, url, req, 'account_backend.partnerStatement.title', (_, tr, shell) => {
|
|
823
|
+
const currency = currencyOf(data.companies, shell);
|
|
824
|
+
return partnerLedgerScreen(tr, {
|
|
825
|
+
frame: shell,
|
|
826
|
+
action: `/admin/partner-statement${localeSuffix(url)}`,
|
|
827
|
+
rows,
|
|
828
|
+
currency,
|
|
829
|
+
selected: Boolean(partnerId),
|
|
830
|
+
fields: [
|
|
831
|
+
{
|
|
832
|
+
name: 'partnerId',
|
|
833
|
+
label: tr('account_backend.field.partnerId'),
|
|
834
|
+
type: 'select',
|
|
835
|
+
value: partnerId,
|
|
836
|
+
options: choices(data.partners, true),
|
|
837
|
+
},
|
|
838
|
+
],
|
|
839
|
+
});
|
|
840
|
+
});
|
|
841
|
+
},
|
|
842
|
+
},
|
|
843
|
+
messages: MESSAGES,
|
|
844
|
+
});
|
|
845
|
+
const vi = {
|
|
846
|
+
'app.title': 'Kế toán trong quản trị',
|
|
847
|
+
'app.summary': 'Giao diện sổ cái, hoá đơn, thanh toán và báo cáo.',
|
|
848
|
+
'app.category': 'Tài chính',
|
|
849
|
+
'menu.app': 'Kế toán',
|
|
850
|
+
'menu.dashboard': 'Tổng quan',
|
|
851
|
+
'menu.customers': 'Khách hàng',
|
|
852
|
+
'menu.customerInvoices': 'Hoá đơn khách hàng',
|
|
853
|
+
'menu.vendors': 'Nhà cung cấp',
|
|
854
|
+
'menu.vendorBills': 'Hoá đơn nhà cung cấp',
|
|
855
|
+
'menu.operations': 'Nghiệp vụ',
|
|
856
|
+
'menu.entries': 'Bút toán',
|
|
857
|
+
'menu.payments': 'Thanh toán',
|
|
858
|
+
'menu.reporting': 'Báo cáo',
|
|
859
|
+
'menu.trialBalance': 'Bảng cân đối thử',
|
|
860
|
+
'menu.generalLedger': 'Sổ cái',
|
|
861
|
+
'menu.partnerStatement': 'Sổ đối tác',
|
|
862
|
+
'menu.configuration': 'Cấu hình',
|
|
863
|
+
'menu.accounts': 'Hệ thống tài khoản',
|
|
864
|
+
'menu.journals': 'Sổ nhật ký',
|
|
865
|
+
'menu.taxes': 'Thuế',
|
|
866
|
+
'menu.paymentTerms': 'Điều khoản thanh toán',
|
|
867
|
+
'dashboard.title': 'Tổng quan kế toán',
|
|
868
|
+
'dashboard.kicker': 'Không gian tài chính',
|
|
869
|
+
'dashboard.subtitle': 'Theo dõi chứng từ, công nợ, báo cáo và cấu hình kế toán tại một nơi.',
|
|
870
|
+
'dashboard.draft': 'Bút toán nháp',
|
|
871
|
+
'dashboard.posted': 'Bút toán đã ghi sổ',
|
|
872
|
+
'dashboard.unpaid': 'Chứng từ chưa thanh toán',
|
|
873
|
+
'dashboard.records': 'Bản ghi',
|
|
874
|
+
'dashboard.reports': 'Báo cáo tài chính',
|
|
875
|
+
'dashboard.reportsHint': 'Mở các báo cáo sổ cái và công nợ đã ghi sổ.',
|
|
876
|
+
'dashboard.operations': 'Nghiệp vụ hằng ngày',
|
|
877
|
+
'dashboard.operationsHint': 'Tạo và theo dõi hoá đơn, bút toán và thanh toán.',
|
|
878
|
+
'dashboard.configurationHint': 'Quản lý nền tảng dùng khi ghi sổ chứng từ.',
|
|
879
|
+
'dashboard.customerInvoicesHint': 'Hoá đơn bán hàng và phần công nợ chưa thanh toán.',
|
|
880
|
+
'dashboard.vendorBillsHint': 'Chứng từ mua hàng và nghĩa vụ phải trả nhà cung cấp.',
|
|
881
|
+
'dashboard.entriesHint': 'Bút toán nháp và đã ghi sổ trong sổ nhật ký.',
|
|
882
|
+
'dashboard.paymentsHint': 'Khoản thu, chi và đối soát công nợ.',
|
|
883
|
+
'dashboard.trialBalanceHint': 'Đối chiếu tổng phát sinh Nợ và Có theo tài khoản.',
|
|
884
|
+
'dashboard.generalLedgerHint': 'Xem chi tiết phát sinh trên từng tài khoản.',
|
|
885
|
+
'dashboard.partnerLedgerHint': 'Theo dõi công nợ phải thu, phải trả theo đối tác.',
|
|
886
|
+
'dashboard.accountsHint': 'Hệ thống tài khoản Việt Nam theo Thông tư 99/2025/TT-BTC.',
|
|
887
|
+
'dashboard.journalsHint': 'Phân loại và đánh số chứng từ kế toán.',
|
|
888
|
+
'dashboard.taxesHint': 'Cấu hình phạm vi và cách tính thuế.',
|
|
889
|
+
'dashboard.paymentTermsHint': 'Lịch thanh toán dùng cho hoá đơn và công nợ.',
|
|
890
|
+
'accounts.title': 'Hệ thống tài khoản',
|
|
891
|
+
'account.kicker': 'Cấu hình sổ cái',
|
|
892
|
+
'account.subtitle': 'Quản lý hệ thống mã và loại tài khoản theo chuẩn Odoo 19.',
|
|
893
|
+
'account.summary.total': 'Tổng tài khoản',
|
|
894
|
+
'account.summary.asset': 'Tài sản',
|
|
895
|
+
'account.summary.liability': 'Nợ và vốn',
|
|
896
|
+
'account.summary.profit': 'Kết quả kinh doanh',
|
|
897
|
+
'account.create.title': 'Tạo tài khoản',
|
|
898
|
+
'account.create.hint': 'Mã phải duy nhất trong công ty; loại tài khoản quyết định hành vi báo cáo.',
|
|
899
|
+
'account.list.title': 'Hệ thống tài khoản hiện có',
|
|
900
|
+
'account.list.hint': 'Kiểm tra mã, loại và khả năng đối soát của từng tài khoản.',
|
|
901
|
+
'account.empty': 'Chưa có tài khoản',
|
|
902
|
+
'account.emptyHint': 'Tạo tài khoản đầu tiên để cấu hình sổ cái.',
|
|
903
|
+
'journals.title': 'Sổ nhật ký',
|
|
904
|
+
'journal.kicker': 'Cấu hình ghi sổ',
|
|
905
|
+
'journal.subtitle': 'Tổ chức chứng từ theo loại sổ nhật ký chuẩn Odoo 19.',
|
|
906
|
+
'journal.summary.total': 'Tổng sổ',
|
|
907
|
+
'journal.summary.sale': 'Bán hàng',
|
|
908
|
+
'journal.summary.purchase': 'Mua hàng',
|
|
909
|
+
'journal.summary.liquidity': 'Ngân hàng và tiền mặt',
|
|
910
|
+
'journal.create.title': 'Tạo sổ nhật ký',
|
|
911
|
+
'journal.create.hint': 'Mã là duy nhất; sổ ngân hàng và tiền mặt cần tài khoản thanh khoản mặc định.',
|
|
912
|
+
'journal.list.title': 'Sổ nhật ký hiện có',
|
|
913
|
+
'journal.list.hint': 'Kiểm tra mã, loại và tài khoản mặc định dùng khi ghi sổ.',
|
|
914
|
+
'journal.empty': 'Chưa có sổ nhật ký',
|
|
915
|
+
'journal.emptyHint': 'Tạo sổ đầu tiên để bắt đầu phân loại chứng từ.',
|
|
916
|
+
'taxes.title': 'Thuế',
|
|
917
|
+
'tax.kicker': 'Cấu hình thuế',
|
|
918
|
+
'tax.subtitle': 'Quản lý phạm vi và cách tính thuế theo selection code Odoo 19.',
|
|
919
|
+
'tax.summary.total': 'Tổng sắc thuế',
|
|
920
|
+
'tax.summary.sale': 'Bán hàng',
|
|
921
|
+
'tax.summary.purchase': 'Mua hàng',
|
|
922
|
+
'tax.summary.included': 'Đã gồm trong giá',
|
|
923
|
+
'tax.create.title': 'Tạo thuế',
|
|
924
|
+
'tax.create.hint': 'Chọn phạm vi sử dụng, cách tính và nhập số tiền hoặc tỷ lệ.',
|
|
925
|
+
'tax.list.title': 'Thuế hiện có',
|
|
926
|
+
'tax.list.hint': 'Kiểm tra phạm vi, phép tính, giá trị và chính sách bao gồm trong giá.',
|
|
927
|
+
'tax.empty': 'Chưa có thuế',
|
|
928
|
+
'tax.emptyHint': 'Tạo sắc thuế đầu tiên để áp dụng trên chứng từ.',
|
|
929
|
+
'terms.title': 'Điều khoản thanh toán',
|
|
930
|
+
'term.kicker': 'Lịch thanh toán',
|
|
931
|
+
'term.subtitle': 'Cấu hình các mốc đến hạn theo quy tắc Odoo 19.',
|
|
932
|
+
'term.summary.total': 'Tổng điều khoản',
|
|
933
|
+
'term.summary.configured': 'Đã có mốc',
|
|
934
|
+
'term.summary.lines': 'Tổng số mốc',
|
|
935
|
+
'term.create.title': 'Tạo điều khoản thanh toán',
|
|
936
|
+
'term.create.hint': 'Đặt tên và ghi chú hiển thị trên chứng từ.',
|
|
937
|
+
'term.line.create.title': 'Thêm mốc đến hạn',
|
|
938
|
+
'term.line.create.hint': 'Phân bổ phần trăm hoặc số tiền và chọn cách tính ngày đến hạn.',
|
|
939
|
+
'term.list.title': 'Điều khoản hiện có',
|
|
940
|
+
'term.list.hint': 'Kiểm tra số mốc đến hạn và ghi chú của từng điều khoản.',
|
|
941
|
+
'term.empty': 'Chưa có điều khoản thanh toán',
|
|
942
|
+
'term.emptyHint': 'Tạo điều khoản đầu tiên, sau đó thêm các mốc đến hạn.',
|
|
943
|
+
'entries.title': 'Bút toán',
|
|
944
|
+
'entry.kicker': 'Sổ cái',
|
|
945
|
+
'entry.subtitle': 'Ghi nhận và kiểm soát các bút toán kế toán thủ công.',
|
|
946
|
+
'entry.summary.total': 'Tổng bút toán',
|
|
947
|
+
'entry.summary.draft': 'Bản nháp',
|
|
948
|
+
'entry.summary.posted': 'Đã ghi sổ',
|
|
949
|
+
'entry.create.title': 'Tạo bút toán',
|
|
950
|
+
'entry.create.hint': 'Chọn sổ nhật ký, ngày và tham chiếu trước khi thêm các dòng Nợ/Có.',
|
|
951
|
+
'entry.list.title': 'Bút toán hiện có',
|
|
952
|
+
'entry.list.hint': 'Mở bút toán để thêm dòng, kiểm tra cân đối và ghi sổ.',
|
|
953
|
+
'entry.empty': 'Chưa có bút toán',
|
|
954
|
+
'entry.emptyHint': 'Tạo bút toán đầu tiên để bắt đầu ghi nhận vào sổ cái.',
|
|
955
|
+
'customerInvoices.title': 'Hoá đơn khách hàng',
|
|
956
|
+
'customerInvoice.kicker': 'Công nợ khách hàng',
|
|
957
|
+
'customerInvoice.subtitle': 'Lập, kiểm tra và theo dõi thanh toán hoá đơn bán hàng.',
|
|
958
|
+
'customerInvoice.summary.total': 'Tổng hoá đơn',
|
|
959
|
+
'customerInvoice.summary.draft': 'Bản nháp',
|
|
960
|
+
'customerInvoice.summary.posted': 'Đã ghi sổ',
|
|
961
|
+
'customerInvoice.summary.unpaid': 'Chưa thanh toán',
|
|
962
|
+
'customerInvoice.create.title': 'Tạo hoá đơn khách hàng',
|
|
963
|
+
'customerInvoice.create.hint': 'Nhập khách hàng, dòng doanh thu, thuế và tài khoản phải thu.',
|
|
964
|
+
'customerInvoice.list.title': 'Hoá đơn khách hàng hiện có',
|
|
965
|
+
'customerInvoice.list.hint': 'Mở chứng từ để kiểm tra dòng, ghi sổ, theo dõi thanh toán và trao đổi.',
|
|
966
|
+
'customerInvoice.empty': 'Chưa có hoá đơn khách hàng',
|
|
967
|
+
'customerInvoice.emptyHint': 'Tạo hoá đơn đầu tiên để bắt đầu theo dõi công nợ phải thu.',
|
|
968
|
+
'vendorBills.title': 'Hoá đơn nhà cung cấp',
|
|
969
|
+
'vendorBill.kicker': 'Công nợ nhà cung cấp',
|
|
970
|
+
'vendorBill.subtitle': 'Ghi nhận, kiểm tra và theo dõi thanh toán hoá đơn mua hàng.',
|
|
971
|
+
'vendorBill.summary.total': 'Tổng hoá đơn',
|
|
972
|
+
'vendorBill.summary.draft': 'Bản nháp',
|
|
973
|
+
'vendorBill.summary.posted': 'Đã ghi sổ',
|
|
974
|
+
'vendorBill.summary.unpaid': 'Chưa thanh toán',
|
|
975
|
+
'vendorBill.create.title': 'Tạo hoá đơn nhà cung cấp',
|
|
976
|
+
'vendorBill.create.hint': 'Nhập chứng từ, nhà cung cấp, dòng chi phí và tài khoản phải trả.',
|
|
977
|
+
'vendorBill.list.title': 'Hoá đơn hiện có',
|
|
978
|
+
'vendorBill.list.hint': 'Mở một chứng từ để kiểm tra dòng bút toán, ghi sổ hoặc theo dõi thanh toán.',
|
|
979
|
+
'vendorBill.empty': 'Chưa có hoá đơn nhà cung cấp',
|
|
980
|
+
'vendorBill.emptyHint': 'Tạo hoá đơn đầu tiên để bắt đầu theo dõi công nợ phải trả.',
|
|
981
|
+
'error.invalid': 'Dữ liệu chưa hợp lệ. Kiểm tra các trường bắt buộc và thử lại.',
|
|
982
|
+
'payments.title': 'Thanh toán',
|
|
983
|
+
'payment.kicker': 'Ngân hàng và tiền mặt',
|
|
984
|
+
'payment.subtitle': 'Ghi nhận tiền thu, tiền chi và đối soát công nợ mở.',
|
|
985
|
+
'payment.summary.total': 'Tổng thanh toán',
|
|
986
|
+
'payment.summary.inbound': 'Tiền thu',
|
|
987
|
+
'payment.summary.outbound': 'Tiền chi',
|
|
988
|
+
'payment.summary.open': 'Khoản mở',
|
|
989
|
+
'payment.create.title': 'Ghi nhận thanh toán',
|
|
990
|
+
'payment.create.hint': 'Chọn luồng tiền, đối tác, sổ tiền và tài khoản công nợ phù hợp.',
|
|
991
|
+
'payment.list.title': 'Thanh toán đã ghi nhận',
|
|
992
|
+
'payment.list.hint': 'Theo dõi chiều thanh toán, giá trị và trạng thái ghi sổ.',
|
|
993
|
+
'payment.empty': 'Chưa có thanh toán',
|
|
994
|
+
'payment.emptyHint': 'Ghi nhận khoản thu hoặc chi đầu tiên để bắt đầu theo dõi dòng tiền.',
|
|
995
|
+
'trialBalance.title': 'Bảng cân đối thử',
|
|
996
|
+
'trial.kicker': 'Báo cáo sổ cái',
|
|
997
|
+
'trial.subtitle': 'Đối chiếu tổng phát sinh Nợ và Có theo tài khoản trong kỳ.',
|
|
998
|
+
'trial.summary.debit': 'Tổng Nợ',
|
|
999
|
+
'trial.summary.credit': 'Tổng Có',
|
|
1000
|
+
'trial.summary.balance': 'Chênh lệch',
|
|
1001
|
+
'trial.filter.title': 'Kỳ báo cáo',
|
|
1002
|
+
'trial.filter.hint': 'Để trống ngày để tính trên toàn bộ bút toán đã ghi sổ.',
|
|
1003
|
+
'trial.result.title': 'Số dư theo tài khoản',
|
|
1004
|
+
'trial.result.hint': 'Tổng Nợ và Có phải cân bằng trên toàn bộ hệ thống tài khoản.',
|
|
1005
|
+
'trial.empty': 'Không có số liệu trong kỳ',
|
|
1006
|
+
'trial.emptyHint': 'Thay đổi khoảng ngày hoặc ghi sổ các bút toán trước khi tính lại.',
|
|
1007
|
+
'generalLedger.title': 'Sổ cái',
|
|
1008
|
+
'ledger.kicker': 'Chi tiết sổ cái',
|
|
1009
|
+
'ledger.subtitle': 'Theo dõi phát sinh Nợ và Có của từng tài khoản theo kỳ.',
|
|
1010
|
+
'ledger.summary.lines': 'Dòng bút toán',
|
|
1011
|
+
'ledger.summary.debit': 'Tổng Nợ',
|
|
1012
|
+
'ledger.summary.credit': 'Tổng Có',
|
|
1013
|
+
'ledger.filter.title': 'Bộ lọc sổ cái',
|
|
1014
|
+
'ledger.filter.hint': 'Chọn một tài khoản hoặc để trống để xem toàn bộ dòng đã ghi sổ.',
|
|
1015
|
+
'ledger.result.title': 'Chi tiết phát sinh',
|
|
1016
|
+
'ledger.result.hint': 'Mỗi dòng liên kết phát sinh với bút toán và ngày ghi sổ.',
|
|
1017
|
+
'ledger.empty': 'Không có phát sinh phù hợp',
|
|
1018
|
+
'ledger.emptyHint': 'Thay đổi tài khoản hoặc khoảng ngày để xem dữ liệu khác.',
|
|
1019
|
+
'partnerStatement.title': 'Sổ đối tác',
|
|
1020
|
+
'partnerLedger.kicker': 'Công nợ đối tác',
|
|
1021
|
+
'partnerLedger.subtitle': 'Theo dõi phát sinh phải thu, phải trả và số còn lại theo đối tác.',
|
|
1022
|
+
'partnerLedger.summary.debit': 'Tổng Nợ',
|
|
1023
|
+
'partnerLedger.summary.credit': 'Tổng Có',
|
|
1024
|
+
'partnerLedger.summary.residual': 'Còn lại',
|
|
1025
|
+
'partnerLedger.filter.title': 'Chọn đối tác',
|
|
1026
|
+
'partnerLedger.filter.hint': 'Báo cáo chỉ bao gồm tài khoản phải thu và phải trả trên bút toán đã ghi sổ.',
|
|
1027
|
+
'partnerLedger.result.title': 'Chi tiết công nợ',
|
|
1028
|
+
'partnerLedger.result.hint': 'Theo dõi chứng từ, phát sinh Nợ/Có và phần chưa đối soát.',
|
|
1029
|
+
'partnerLedger.select': 'Chưa chọn đối tác',
|
|
1030
|
+
'partnerLedger.selectHint': 'Chọn một đối tác để xem sổ công nợ.',
|
|
1031
|
+
'partnerLedger.empty': 'Đối tác chưa có phát sinh',
|
|
1032
|
+
'partnerLedger.emptyHint': 'Đối tác đã chọn không có bút toán phải thu hoặc phải trả đã ghi sổ.',
|
|
1033
|
+
'lines.title': 'Dòng bút toán',
|
|
1034
|
+
'lines.add': 'Thêm dòng bút toán',
|
|
1035
|
+
'move.kicker': 'Chứng từ kế toán',
|
|
1036
|
+
'move.actions': 'Hành động trên chứng từ',
|
|
1037
|
+
'move.collaboration': 'Trao đổi và hoạt động của chứng từ',
|
|
1038
|
+
'terms.lines': 'Số mốc thanh toán',
|
|
1039
|
+
'action.create': 'Tạo mới',
|
|
1040
|
+
'action.createTerm': 'Tạo điều khoản',
|
|
1041
|
+
'action.addTermLine': 'Thêm mốc thanh toán',
|
|
1042
|
+
'action.addLine': 'Thêm dòng',
|
|
1043
|
+
'action.post': 'Ghi sổ',
|
|
1044
|
+
'action.cancel': 'Huỷ',
|
|
1045
|
+
'action.registerPayment': 'Ghi nhận thanh toán',
|
|
1046
|
+
'action.calculate': 'Tính báo cáo',
|
|
1047
|
+
'field.code': 'Mã',
|
|
1048
|
+
'field.name': 'Tên',
|
|
1049
|
+
'field.accountType': 'Loại tài khoản',
|
|
1050
|
+
'field.reconcile': 'Cho phép đối soát',
|
|
1051
|
+
'field.type': 'Loại',
|
|
1052
|
+
'field.defaultAccountId': 'Tài khoản mặc định',
|
|
1053
|
+
'field.sequence': 'Số thứ tự',
|
|
1054
|
+
'field.description': 'Mô tả',
|
|
1055
|
+
'field.typeTaxUse': 'Phạm vi sử dụng',
|
|
1056
|
+
'field.taxScope': 'Phạm vi hàng hoá',
|
|
1057
|
+
'field.amountType': 'Cách tính thuế',
|
|
1058
|
+
'field.amount': 'Số tiền / tỷ lệ',
|
|
1059
|
+
'field.paymentAmount': 'Số tiền',
|
|
1060
|
+
'field.priceInclude': 'Đã gồm trong giá',
|
|
1061
|
+
'field.includeBaseAmount': 'Cộng vào cơ sở tính thuế',
|
|
1062
|
+
'field.note': 'Ghi chú',
|
|
1063
|
+
'field.journalId': 'Sổ nhật ký',
|
|
1064
|
+
'field.moveType': 'Loại chứng từ',
|
|
1065
|
+
'field.date': 'Ngày',
|
|
1066
|
+
'field.ref': 'Tham chiếu',
|
|
1067
|
+
'field.partnerId': 'Đối tác',
|
|
1068
|
+
'field.state': 'Trạng thái',
|
|
1069
|
+
'field.paymentState': 'Thanh toán',
|
|
1070
|
+
'field.amountTotal': 'Tổng tiền',
|
|
1071
|
+
'field.accountId': 'Tài khoản',
|
|
1072
|
+
'field.debit': 'Nợ',
|
|
1073
|
+
'field.credit': 'Có',
|
|
1074
|
+
'field.residual': 'Còn lại',
|
|
1075
|
+
'field.invoiceDate': 'Ngày hoá đơn',
|
|
1076
|
+
'field.paymentTermId': 'Điều khoản thanh toán',
|
|
1077
|
+
'field.productId': 'ID biến thể',
|
|
1078
|
+
'field.productUomId': 'ID đơn vị',
|
|
1079
|
+
'field.quantity': 'Số lượng',
|
|
1080
|
+
'field.priceUnit': 'Đơn giá',
|
|
1081
|
+
'field.discount': 'Chiết khấu %',
|
|
1082
|
+
'field.lineAccountId': 'Tài khoản doanh thu / chi phí',
|
|
1083
|
+
'field.counterpartAccountId': 'Tài khoản phải thu / phải trả',
|
|
1084
|
+
'field.taxId': 'Thuế',
|
|
1085
|
+
'field.taxAccountId': 'Tài khoản thuế',
|
|
1086
|
+
'field.paymentType': 'Loại thanh toán',
|
|
1087
|
+
'field.partnerType': 'Loại đối tác',
|
|
1088
|
+
'field.destinationAccountId': 'Tài khoản đối ứng',
|
|
1089
|
+
'field.memo': 'Nội dung',
|
|
1090
|
+
'field.paymentReference': 'Tham chiếu thanh toán',
|
|
1091
|
+
'field.reconcileLineId': 'Đối soát với khoản mở',
|
|
1092
|
+
'field.termValue': 'Kiểu giá trị',
|
|
1093
|
+
'field.valueAmount': 'Giá trị',
|
|
1094
|
+
'field.delayType': 'Cách tính hạn',
|
|
1095
|
+
'field.nbDays': 'Số ngày',
|
|
1096
|
+
'field.daysNextMonth': 'Ngày trong tháng sau',
|
|
1097
|
+
'field.dateFrom': 'Từ ngày',
|
|
1098
|
+
'field.dateTo': 'Đến ngày',
|
|
1099
|
+
'field.balance': 'Số dư',
|
|
1100
|
+
'field.entry': 'Bút toán',
|
|
1101
|
+
'move.notFound': 'Không tìm thấy bút toán.',
|
|
1102
|
+
yes: 'Có',
|
|
1103
|
+
no: 'Không',
|
|
1104
|
+
empty: 'Chưa có dữ liệu.',
|
|
1105
|
+
emptyHint: 'Tạo bản ghi đầu tiên hoặc thay đổi bộ lọc.',
|
|
1106
|
+
};
|
|
1107
|
+
const en = {
|
|
1108
|
+
'app.title': 'Accounting in admin',
|
|
1109
|
+
'app.summary': 'Ledger, invoice, payment, and reporting UI.',
|
|
1110
|
+
'app.category': 'Finance',
|
|
1111
|
+
'menu.app': 'Accounting',
|
|
1112
|
+
'menu.dashboard': 'Overview',
|
|
1113
|
+
'menu.customers': 'Customers',
|
|
1114
|
+
'menu.customerInvoices': 'Customer invoices',
|
|
1115
|
+
'menu.vendors': 'Vendors',
|
|
1116
|
+
'menu.vendorBills': 'Vendor bills',
|
|
1117
|
+
'menu.operations': 'Operations',
|
|
1118
|
+
'menu.entries': 'Journal entries',
|
|
1119
|
+
'menu.payments': 'Payments',
|
|
1120
|
+
'menu.reporting': 'Reporting',
|
|
1121
|
+
'menu.trialBalance': 'Trial balance',
|
|
1122
|
+
'menu.generalLedger': 'General ledger',
|
|
1123
|
+
'menu.partnerStatement': 'Partner ledger',
|
|
1124
|
+
'menu.configuration': 'Configuration',
|
|
1125
|
+
'menu.accounts': 'Chart of accounts',
|
|
1126
|
+
'menu.journals': 'Journals',
|
|
1127
|
+
'menu.taxes': 'Taxes',
|
|
1128
|
+
'menu.paymentTerms': 'Payment terms',
|
|
1129
|
+
'dashboard.title': 'Accounting overview',
|
|
1130
|
+
'dashboard.kicker': 'Finance workspace',
|
|
1131
|
+
'dashboard.subtitle': 'Track documents, balances, reports, and accounting configuration in one place.',
|
|
1132
|
+
'dashboard.draft': 'Draft entries',
|
|
1133
|
+
'dashboard.posted': 'Posted entries',
|
|
1134
|
+
'dashboard.unpaid': 'Unpaid documents',
|
|
1135
|
+
'dashboard.records': 'Records',
|
|
1136
|
+
'dashboard.reports': 'Financial reports',
|
|
1137
|
+
'dashboard.reportsHint': 'Open posted ledger and receivable or payable reports.',
|
|
1138
|
+
'dashboard.operations': 'Daily operations',
|
|
1139
|
+
'dashboard.operationsHint': 'Create and track invoices, journal entries, and payments.',
|
|
1140
|
+
'dashboard.configurationHint': 'Manage the foundations used when posting documents.',
|
|
1141
|
+
'dashboard.customerInvoicesHint': 'Sales invoices and outstanding customer balances.',
|
|
1142
|
+
'dashboard.vendorBillsHint': 'Purchase documents and supplier obligations.',
|
|
1143
|
+
'dashboard.entriesHint': 'Draft and posted entries across accounting journals.',
|
|
1144
|
+
'dashboard.paymentsHint': 'Inbound, outbound, and reconciled payments.',
|
|
1145
|
+
'dashboard.trialBalanceHint': 'Compare total debit and credit movements by account.',
|
|
1146
|
+
'dashboard.generalLedgerHint': 'Inspect posted movements on an individual account.',
|
|
1147
|
+
'dashboard.partnerLedgerHint': 'Track receivable and payable balances by partner.',
|
|
1148
|
+
'dashboard.accountsHint': 'Vietnam chart of accounts under Circular 99/2025/TT-BTC.',
|
|
1149
|
+
'dashboard.journalsHint': 'Classify and sequence accounting documents.',
|
|
1150
|
+
'dashboard.taxesHint': 'Configure tax scope and calculation methods.',
|
|
1151
|
+
'dashboard.paymentTermsHint': 'Payment schedules used by invoices and balances.',
|
|
1152
|
+
'accounts.title': 'Chart of accounts',
|
|
1153
|
+
'account.kicker': 'Ledger configuration',
|
|
1154
|
+
'account.subtitle': 'Manage account codes and Odoo 19 account types.',
|
|
1155
|
+
'account.summary.total': 'Total accounts',
|
|
1156
|
+
'account.summary.asset': 'Assets',
|
|
1157
|
+
'account.summary.liability': 'Liabilities & equity',
|
|
1158
|
+
'account.summary.profit': 'Profit & loss',
|
|
1159
|
+
'account.create.title': 'Create an account',
|
|
1160
|
+
'account.create.hint': 'The code is unique per company; account type determines reporting behavior.',
|
|
1161
|
+
'account.list.title': 'Current chart of accounts',
|
|
1162
|
+
'account.list.hint': 'Review the code, type, and reconciliation behavior of each account.',
|
|
1163
|
+
'account.empty': 'No accounts yet',
|
|
1164
|
+
'account.emptyHint': 'Create the first account to configure the general ledger.',
|
|
1165
|
+
'journals.title': 'Journals',
|
|
1166
|
+
'journal.kicker': 'Posting configuration',
|
|
1167
|
+
'journal.subtitle': 'Organize documents with Odoo 19 journal types.',
|
|
1168
|
+
'journal.summary.total': 'Total journals',
|
|
1169
|
+
'journal.summary.sale': 'Sales',
|
|
1170
|
+
'journal.summary.purchase': 'Purchases',
|
|
1171
|
+
'journal.summary.liquidity': 'Bank & cash',
|
|
1172
|
+
'journal.create.title': 'Create a journal',
|
|
1173
|
+
'journal.create.hint': 'The code is unique; bank and cash journals need a default liquidity account.',
|
|
1174
|
+
'journal.list.title': 'Current journals',
|
|
1175
|
+
'journal.list.hint': 'Review the code, type, and default account used for posting.',
|
|
1176
|
+
'journal.empty': 'No journals yet',
|
|
1177
|
+
'journal.emptyHint': 'Create the first journal to start classifying documents.',
|
|
1178
|
+
'taxes.title': 'Taxes',
|
|
1179
|
+
'tax.kicker': 'Tax configuration',
|
|
1180
|
+
'tax.subtitle': 'Manage tax scope and computation with Odoo 19 selection codes.',
|
|
1181
|
+
'tax.summary.total': 'Total taxes',
|
|
1182
|
+
'tax.summary.sale': 'Sales',
|
|
1183
|
+
'tax.summary.purchase': 'Purchases',
|
|
1184
|
+
'tax.summary.included': 'Price included',
|
|
1185
|
+
'tax.create.title': 'Create a tax',
|
|
1186
|
+
'tax.create.hint': 'Choose the use, computation, and enter an amount or rate.',
|
|
1187
|
+
'tax.list.title': 'Current taxes',
|
|
1188
|
+
'tax.list.hint': 'Review use, computation, value, and price-included behavior.',
|
|
1189
|
+
'tax.empty': 'No taxes yet',
|
|
1190
|
+
'tax.emptyHint': 'Create the first tax to apply it on documents.',
|
|
1191
|
+
'terms.title': 'Payment terms',
|
|
1192
|
+
'term.kicker': 'Payment schedule',
|
|
1193
|
+
'term.subtitle': 'Configure due milestones with Odoo 19 rules.',
|
|
1194
|
+
'term.summary.total': 'Total terms',
|
|
1195
|
+
'term.summary.configured': 'With milestones',
|
|
1196
|
+
'term.summary.lines': 'Total milestones',
|
|
1197
|
+
'term.create.title': 'Create a payment term',
|
|
1198
|
+
'term.create.hint': 'Set the name and note shown on documents.',
|
|
1199
|
+
'term.line.create.title': 'Add a due milestone',
|
|
1200
|
+
'term.line.create.hint': 'Allocate a percentage or fixed amount and choose the due-date computation.',
|
|
1201
|
+
'term.list.title': 'Current payment terms',
|
|
1202
|
+
'term.list.hint': 'Review milestone counts and notes for every term.',
|
|
1203
|
+
'term.empty': 'No payment terms yet',
|
|
1204
|
+
'term.emptyHint': 'Create the first term, then add its due milestones.',
|
|
1205
|
+
'entries.title': 'Journal entries',
|
|
1206
|
+
'entry.kicker': 'General ledger',
|
|
1207
|
+
'entry.subtitle': 'Record and control manual accounting journal entries.',
|
|
1208
|
+
'entry.summary.total': 'Total entries',
|
|
1209
|
+
'entry.summary.draft': 'Draft',
|
|
1210
|
+
'entry.summary.posted': 'Posted',
|
|
1211
|
+
'entry.create.title': 'Create a journal entry',
|
|
1212
|
+
'entry.create.hint': 'Choose the journal, date, and reference before adding debit and credit lines.',
|
|
1213
|
+
'entry.list.title': 'Current journal entries',
|
|
1214
|
+
'entry.list.hint': 'Open an entry to add lines, review balance, and post it.',
|
|
1215
|
+
'entry.empty': 'No journal entries yet',
|
|
1216
|
+
'entry.emptyHint': 'Create the first entry to start recording in the general ledger.',
|
|
1217
|
+
'customerInvoices.title': 'Customer invoices',
|
|
1218
|
+
'customerInvoice.kicker': 'Customer receivables',
|
|
1219
|
+
'customerInvoice.subtitle': 'Create, review, and track payment of sales invoices.',
|
|
1220
|
+
'customerInvoice.summary.total': 'Total invoices',
|
|
1221
|
+
'customerInvoice.summary.draft': 'Draft',
|
|
1222
|
+
'customerInvoice.summary.posted': 'Posted',
|
|
1223
|
+
'customerInvoice.summary.unpaid': 'Unpaid',
|
|
1224
|
+
'customerInvoice.create.title': 'Create a customer invoice',
|
|
1225
|
+
'customerInvoice.create.hint': 'Enter the customer, revenue line, tax, and receivable account.',
|
|
1226
|
+
'customerInvoice.list.title': 'Current customer invoices',
|
|
1227
|
+
'customerInvoice.list.hint': 'Open a document to review lines, post it, track payment, and collaborate.',
|
|
1228
|
+
'customerInvoice.empty': 'No customer invoices yet',
|
|
1229
|
+
'customerInvoice.emptyHint': 'Create the first invoice to start tracking accounts receivable.',
|
|
1230
|
+
'vendorBills.title': 'Vendor bills',
|
|
1231
|
+
'vendorBill.kicker': 'Vendor payable',
|
|
1232
|
+
'vendorBill.subtitle': 'Record, review, and track payment of purchase invoices.',
|
|
1233
|
+
'vendorBill.summary.total': 'Total bills',
|
|
1234
|
+
'vendorBill.summary.draft': 'Draft',
|
|
1235
|
+
'vendorBill.summary.posted': 'Posted',
|
|
1236
|
+
'vendorBill.summary.unpaid': 'Unpaid',
|
|
1237
|
+
'vendorBill.create.title': 'Create a vendor bill',
|
|
1238
|
+
'vendorBill.create.hint': 'Enter the document, vendor, expense line, and payable account.',
|
|
1239
|
+
'vendorBill.list.title': 'Current vendor bills',
|
|
1240
|
+
'vendorBill.list.hint': 'Open a document to review journal items, post it, or track payment.',
|
|
1241
|
+
'vendorBill.empty': 'No vendor bills yet',
|
|
1242
|
+
'vendorBill.emptyHint': 'Create the first bill to start tracking accounts payable.',
|
|
1243
|
+
'error.invalid': 'The form is invalid. Check required fields and try again.',
|
|
1244
|
+
'payments.title': 'Payments',
|
|
1245
|
+
'payment.kicker': 'Bank and cash',
|
|
1246
|
+
'payment.subtitle': 'Record receipts, disbursements, and reconciliation against open items.',
|
|
1247
|
+
'payment.summary.total': 'Total payments',
|
|
1248
|
+
'payment.summary.inbound': 'Receipts',
|
|
1249
|
+
'payment.summary.outbound': 'Disbursements',
|
|
1250
|
+
'payment.summary.open': 'Open items',
|
|
1251
|
+
'payment.create.title': 'Register a payment',
|
|
1252
|
+
'payment.create.hint': 'Choose the cash direction, partner, liquidity journal, and matching account.',
|
|
1253
|
+
'payment.list.title': 'Recorded payments',
|
|
1254
|
+
'payment.list.hint': 'Review payment direction, value, and posting status.',
|
|
1255
|
+
'payment.empty': 'No payments yet',
|
|
1256
|
+
'payment.emptyHint': 'Register the first receipt or disbursement to start tracking cash flow.',
|
|
1257
|
+
'trialBalance.title': 'Trial balance',
|
|
1258
|
+
'trial.kicker': 'General ledger report',
|
|
1259
|
+
'trial.subtitle': 'Reconcile total debits and credits by account for the period.',
|
|
1260
|
+
'trial.summary.debit': 'Total debit',
|
|
1261
|
+
'trial.summary.credit': 'Total credit',
|
|
1262
|
+
'trial.summary.balance': 'Difference',
|
|
1263
|
+
'trial.filter.title': 'Reporting period',
|
|
1264
|
+
'trial.filter.hint': 'Leave dates blank to calculate across all posted entries.',
|
|
1265
|
+
'trial.result.title': 'Balances by account',
|
|
1266
|
+
'trial.result.hint': 'Total debit and credit must balance across the chart of accounts.',
|
|
1267
|
+
'trial.empty': 'No figures for this period',
|
|
1268
|
+
'trial.emptyHint': 'Change the dates or post journal entries before recalculating.',
|
|
1269
|
+
'generalLedger.title': 'General ledger',
|
|
1270
|
+
'ledger.kicker': 'Ledger detail',
|
|
1271
|
+
'ledger.subtitle': 'Track debit and credit movements by account and period.',
|
|
1272
|
+
'ledger.summary.lines': 'Journal items',
|
|
1273
|
+
'ledger.summary.debit': 'Total debit',
|
|
1274
|
+
'ledger.summary.credit': 'Total credit',
|
|
1275
|
+
'ledger.filter.title': 'Ledger filters',
|
|
1276
|
+
'ledger.filter.hint': 'Choose an account or leave it blank to show all posted journal items.',
|
|
1277
|
+
'ledger.result.title': 'Account movements',
|
|
1278
|
+
'ledger.result.hint': 'Each item relates the movement to its journal entry and posting date.',
|
|
1279
|
+
'ledger.empty': 'No matching movements',
|
|
1280
|
+
'ledger.emptyHint': 'Change the account or date range to view other data.',
|
|
1281
|
+
'partnerStatement.title': 'Partner ledger',
|
|
1282
|
+
'partnerLedger.kicker': 'Partner receivables and payables',
|
|
1283
|
+
'partnerLedger.subtitle': 'Track receivable, payable, and residual movements by partner.',
|
|
1284
|
+
'partnerLedger.summary.debit': 'Total debit',
|
|
1285
|
+
'partnerLedger.summary.credit': 'Total credit',
|
|
1286
|
+
'partnerLedger.summary.residual': 'Residual',
|
|
1287
|
+
'partnerLedger.filter.title': 'Select a partner',
|
|
1288
|
+
'partnerLedger.filter.hint': 'The report includes only posted receivable and payable journal items.',
|
|
1289
|
+
'partnerLedger.result.title': 'Partner movements',
|
|
1290
|
+
'partnerLedger.result.hint': 'Review documents, debit/credit movements, and unreconciled amounts.',
|
|
1291
|
+
'partnerLedger.select': 'No partner selected',
|
|
1292
|
+
'partnerLedger.selectHint': 'Choose a partner to view its ledger.',
|
|
1293
|
+
'partnerLedger.empty': 'No partner movements',
|
|
1294
|
+
'partnerLedger.emptyHint': 'The selected partner has no posted receivable or payable items.',
|
|
1295
|
+
'lines.title': 'Journal items',
|
|
1296
|
+
'lines.add': 'Add journal item',
|
|
1297
|
+
'move.kicker': 'Accounting document',
|
|
1298
|
+
'move.actions': 'Document actions',
|
|
1299
|
+
'move.collaboration': 'Document conversation and activities',
|
|
1300
|
+
'terms.lines': 'Due milestones',
|
|
1301
|
+
'action.create': 'Create',
|
|
1302
|
+
'action.createTerm': 'Create term',
|
|
1303
|
+
'action.addTermLine': 'Add due milestone',
|
|
1304
|
+
'action.addLine': 'Add line',
|
|
1305
|
+
'action.post': 'Post',
|
|
1306
|
+
'action.cancel': 'Cancel',
|
|
1307
|
+
'action.registerPayment': 'Register payment',
|
|
1308
|
+
'action.calculate': 'Calculate',
|
|
1309
|
+
'field.code': 'Code',
|
|
1310
|
+
'field.name': 'Name',
|
|
1311
|
+
'field.accountType': 'Account type',
|
|
1312
|
+
'field.reconcile': 'Allow reconciliation',
|
|
1313
|
+
'field.type': 'Type',
|
|
1314
|
+
'field.defaultAccountId': 'Default account',
|
|
1315
|
+
'field.sequence': 'Sequence',
|
|
1316
|
+
'field.description': 'Description',
|
|
1317
|
+
'field.typeTaxUse': 'Tax use',
|
|
1318
|
+
'field.taxScope': 'Tax scope',
|
|
1319
|
+
'field.amountType': 'Tax computation',
|
|
1320
|
+
'field.amount': 'Amount / rate',
|
|
1321
|
+
'field.paymentAmount': 'Amount',
|
|
1322
|
+
'field.priceInclude': 'Included in price',
|
|
1323
|
+
'field.includeBaseAmount': 'Affects tax base',
|
|
1324
|
+
'field.note': 'Note',
|
|
1325
|
+
'field.journalId': 'Journal',
|
|
1326
|
+
'field.moveType': 'Document type',
|
|
1327
|
+
'field.date': 'Date',
|
|
1328
|
+
'field.ref': 'Reference',
|
|
1329
|
+
'field.partnerId': 'Partner',
|
|
1330
|
+
'field.state': 'State',
|
|
1331
|
+
'field.paymentState': 'Payment',
|
|
1332
|
+
'field.amountTotal': 'Total',
|
|
1333
|
+
'field.accountId': 'Account',
|
|
1334
|
+
'field.debit': 'Debit',
|
|
1335
|
+
'field.credit': 'Credit',
|
|
1336
|
+
'field.residual': 'Residual',
|
|
1337
|
+
'field.invoiceDate': 'Invoice date',
|
|
1338
|
+
'field.paymentTermId': 'Payment term',
|
|
1339
|
+
'field.productId': 'Variant ID',
|
|
1340
|
+
'field.productUomId': 'UoM ID',
|
|
1341
|
+
'field.quantity': 'Quantity',
|
|
1342
|
+
'field.priceUnit': 'Unit price',
|
|
1343
|
+
'field.discount': 'Discount %',
|
|
1344
|
+
'field.lineAccountId': 'Income / expense account',
|
|
1345
|
+
'field.counterpartAccountId': 'Receivable / payable account',
|
|
1346
|
+
'field.taxId': 'Tax',
|
|
1347
|
+
'field.taxAccountId': 'Tax account',
|
|
1348
|
+
'field.paymentType': 'Payment type',
|
|
1349
|
+
'field.partnerType': 'Partner type',
|
|
1350
|
+
'field.destinationAccountId': 'Counterpart account',
|
|
1351
|
+
'field.memo': 'Memo',
|
|
1352
|
+
'field.paymentReference': 'Payment reference',
|
|
1353
|
+
'field.reconcileLineId': 'Reconcile with open item',
|
|
1354
|
+
'field.termValue': 'Value type',
|
|
1355
|
+
'field.valueAmount': 'Value',
|
|
1356
|
+
'field.delayType': 'Due computation',
|
|
1357
|
+
'field.nbDays': 'Days',
|
|
1358
|
+
'field.daysNextMonth': 'Day of next month',
|
|
1359
|
+
'field.dateFrom': 'Date from',
|
|
1360
|
+
'field.dateTo': 'Date to',
|
|
1361
|
+
'field.balance': 'Balance',
|
|
1362
|
+
'field.entry': 'Entry',
|
|
1363
|
+
'move.notFound': 'Journal entry not found.',
|
|
1364
|
+
yes: 'Yes',
|
|
1365
|
+
no: 'No',
|
|
1366
|
+
empty: 'No data yet.',
|
|
1367
|
+
emptyHint: 'Create the first record or change the filters.',
|
|
1368
|
+
};
|
|
1369
|
+
const selection = {
|
|
1370
|
+
accountType: {
|
|
1371
|
+
asset_receivable: 'Receivable',
|
|
1372
|
+
asset_cash: 'Bank and Cash',
|
|
1373
|
+
asset_current: 'Current Assets',
|
|
1374
|
+
asset_non_current: 'Non-current Assets',
|
|
1375
|
+
asset_prepayments: 'Prepayments',
|
|
1376
|
+
asset_fixed: 'Fixed Assets',
|
|
1377
|
+
liability_payable: 'Payable',
|
|
1378
|
+
liability_credit_card: 'Credit Card',
|
|
1379
|
+
liability_current: 'Current Liabilities',
|
|
1380
|
+
liability_non_current: 'Non-current Liabilities',
|
|
1381
|
+
equity: 'Equity',
|
|
1382
|
+
equity_unaffected: 'Current Year Earnings',
|
|
1383
|
+
income: 'Income',
|
|
1384
|
+
income_other: 'Other Income',
|
|
1385
|
+
expense: 'Expenses',
|
|
1386
|
+
expense_other: 'Other Expenses',
|
|
1387
|
+
expense_depreciation: 'Depreciation',
|
|
1388
|
+
expense_direct_cost: 'Cost of Revenue',
|
|
1389
|
+
off_balance: 'Off-Balance Sheet',
|
|
1390
|
+
},
|
|
1391
|
+
journalType: { sale: 'Sales', purchase: 'Purchase', cash: 'Cash', bank: 'Bank', general: 'Miscellaneous' },
|
|
1392
|
+
taxUse: { sale: 'Sales', purchase: 'Purchases', none: 'None' },
|
|
1393
|
+
taxScope: { service: 'Services', consu: 'Goods' },
|
|
1394
|
+
taxAmountType: {
|
|
1395
|
+
group: 'Group of Taxes',
|
|
1396
|
+
fixed: 'Fixed',
|
|
1397
|
+
percent: 'Percentage',
|
|
1398
|
+
division: 'Percentage Tax Included',
|
|
1399
|
+
},
|
|
1400
|
+
moveType: {
|
|
1401
|
+
entry: 'Journal Entry',
|
|
1402
|
+
out_invoice: 'Customer Invoice',
|
|
1403
|
+
out_refund: 'Customer Credit Note',
|
|
1404
|
+
in_invoice: 'Vendor Bill',
|
|
1405
|
+
in_refund: 'Vendor Credit Note',
|
|
1406
|
+
out_receipt: 'Sales Receipt',
|
|
1407
|
+
in_receipt: 'Purchase Receipt',
|
|
1408
|
+
},
|
|
1409
|
+
moveState: { draft: 'Draft', posted: 'Posted', cancel: 'Cancelled' },
|
|
1410
|
+
paymentState: {
|
|
1411
|
+
not_paid: 'Not Paid',
|
|
1412
|
+
in_payment: 'In Payment',
|
|
1413
|
+
paid: 'Paid',
|
|
1414
|
+
partial: 'Partially Paid',
|
|
1415
|
+
reversed: 'Reversed',
|
|
1416
|
+
blocked: 'Blocked',
|
|
1417
|
+
invoicing_legacy: 'Invoicing App Legacy',
|
|
1418
|
+
},
|
|
1419
|
+
paymentType: { outbound: 'Send', inbound: 'Receive' },
|
|
1420
|
+
partnerType: { customer: 'Customer', supplier: 'Vendor' },
|
|
1421
|
+
paymentTermValue: { percent: 'Percent', fixed: 'Fixed amount' },
|
|
1422
|
+
paymentTermDelay: {
|
|
1423
|
+
days_after: 'Days after invoice date',
|
|
1424
|
+
days_after_end_of_month: 'Days after end of month',
|
|
1425
|
+
days_after_end_of_next_month: 'Days after end of next month',
|
|
1426
|
+
days_end_of_month_on_the: 'Days after, then day of next month',
|
|
1427
|
+
},
|
|
1428
|
+
paymentStatus: {
|
|
1429
|
+
draft: 'Draft',
|
|
1430
|
+
in_process: 'In Process',
|
|
1431
|
+
paid: 'Paid',
|
|
1432
|
+
canceled: 'Canceled',
|
|
1433
|
+
rejected: 'Rejected',
|
|
1434
|
+
},
|
|
1435
|
+
};
|
|
1436
|
+
const viSelection = {
|
|
1437
|
+
accountType: {
|
|
1438
|
+
asset_receivable: 'Phải thu',
|
|
1439
|
+
asset_cash: 'Ngân hàng và tiền mặt',
|
|
1440
|
+
asset_current: 'Tài sản ngắn hạn',
|
|
1441
|
+
asset_non_current: 'Tài sản dài hạn',
|
|
1442
|
+
asset_prepayments: 'Chi phí trả trước',
|
|
1443
|
+
asset_fixed: 'Tài sản cố định',
|
|
1444
|
+
liability_payable: 'Phải trả',
|
|
1445
|
+
liability_credit_card: 'Thẻ tín dụng',
|
|
1446
|
+
liability_current: 'Nợ ngắn hạn',
|
|
1447
|
+
liability_non_current: 'Nợ dài hạn',
|
|
1448
|
+
equity: 'Vốn chủ sở hữu',
|
|
1449
|
+
equity_unaffected: 'Lợi nhuận năm hiện tại',
|
|
1450
|
+
income: 'Doanh thu',
|
|
1451
|
+
income_other: 'Thu nhập khác',
|
|
1452
|
+
expense: 'Chi phí',
|
|
1453
|
+
expense_other: 'Chi phí khác',
|
|
1454
|
+
expense_depreciation: 'Khấu hao',
|
|
1455
|
+
expense_direct_cost: 'Giá vốn',
|
|
1456
|
+
off_balance: 'Ngoài bảng cân đối',
|
|
1457
|
+
},
|
|
1458
|
+
journalType: {
|
|
1459
|
+
sale: 'Bán hàng',
|
|
1460
|
+
purchase: 'Mua hàng',
|
|
1461
|
+
cash: 'Tiền mặt',
|
|
1462
|
+
bank: 'Ngân hàng',
|
|
1463
|
+
general: 'Nghiệp vụ khác',
|
|
1464
|
+
},
|
|
1465
|
+
taxUse: { sale: 'Bán hàng', purchase: 'Mua hàng', none: 'Không áp dụng' },
|
|
1466
|
+
taxScope: { service: 'Dịch vụ', consu: 'Hàng hoá' },
|
|
1467
|
+
taxAmountType: {
|
|
1468
|
+
group: 'Nhóm thuế',
|
|
1469
|
+
fixed: 'Cố định',
|
|
1470
|
+
percent: 'Phần trăm',
|
|
1471
|
+
division: 'Phần trăm đã gồm thuế',
|
|
1472
|
+
},
|
|
1473
|
+
moveType: {
|
|
1474
|
+
entry: 'Bút toán',
|
|
1475
|
+
out_invoice: 'Hoá đơn khách hàng',
|
|
1476
|
+
out_refund: 'Hoá đơn điều chỉnh khách hàng',
|
|
1477
|
+
in_invoice: 'Hoá đơn nhà cung cấp',
|
|
1478
|
+
in_refund: 'Hoá đơn điều chỉnh nhà cung cấp',
|
|
1479
|
+
out_receipt: 'Biên nhận bán hàng',
|
|
1480
|
+
in_receipt: 'Biên nhận mua hàng',
|
|
1481
|
+
},
|
|
1482
|
+
moveState: { draft: 'Nháp', posted: 'Đã ghi sổ', cancel: 'Đã huỷ' },
|
|
1483
|
+
paymentState: {
|
|
1484
|
+
not_paid: 'Chưa thanh toán',
|
|
1485
|
+
in_payment: 'Đang thanh toán',
|
|
1486
|
+
paid: 'Đã thanh toán',
|
|
1487
|
+
partial: 'Thanh toán một phần',
|
|
1488
|
+
reversed: 'Đã đảo',
|
|
1489
|
+
blocked: 'Bị chặn',
|
|
1490
|
+
invoicing_legacy: 'Kế thừa hệ thống cũ',
|
|
1491
|
+
},
|
|
1492
|
+
paymentType: { outbound: 'Gửi tiền', inbound: 'Nhận tiền' },
|
|
1493
|
+
partnerType: { customer: 'Khách hàng', supplier: 'Nhà cung cấp' },
|
|
1494
|
+
paymentTermValue: { percent: 'Phần trăm', fixed: 'Số tiền cố định' },
|
|
1495
|
+
paymentTermDelay: {
|
|
1496
|
+
days_after: 'Số ngày sau ngày hoá đơn',
|
|
1497
|
+
days_after_end_of_month: 'Số ngày sau cuối tháng',
|
|
1498
|
+
days_after_end_of_next_month: 'Số ngày sau cuối tháng kế tiếp',
|
|
1499
|
+
days_end_of_month_on_the: 'Cộng ngày rồi chốt ngày trong tháng sau',
|
|
1500
|
+
},
|
|
1501
|
+
paymentStatus: {
|
|
1502
|
+
draft: 'Nháp',
|
|
1503
|
+
in_process: 'Đang xử lý',
|
|
1504
|
+
paid: 'Đã thanh toán',
|
|
1505
|
+
canceled: 'Đã huỷ',
|
|
1506
|
+
rejected: 'Bị từ chối',
|
|
1507
|
+
},
|
|
1508
|
+
};
|
|
1509
|
+
for (const [group, values] of Object.entries(selection))
|
|
1510
|
+
for (const [key, value] of Object.entries(values)) {
|
|
1511
|
+
en[`${group}.${key}`] = value;
|
|
1512
|
+
vi[`${group}.${key}`] = viSelection[group]?.[key] ?? value;
|
|
1513
|
+
}
|
|
1514
|
+
Object.assign(MESSAGES.vi, vi);
|
|
1515
|
+
Object.assign(MESSAGES.en, en);
|
|
1516
|
+
//# sourceMappingURL=index.js.map
|