@spaceinvoices/react-ui 0.4.11 → 0.4.12
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/cli/dist/index.js +1 -1
- package/package.json +3 -2
- package/registry.json +30 -31
- package/src/common/autocomplete.tsx +41 -25
- package/src/components/activities/locales/bg.ts +21 -0
- package/src/components/activities/locales/cs.ts +21 -0
- package/src/components/activities/locales/en.ts +21 -0
- package/src/components/activities/locales/et.ts +21 -0
- package/src/components/activities/locales/fi.ts +21 -0
- package/src/components/activities/locales/is.ts +21 -0
- package/src/components/activities/locales/nb.ts +21 -0
- package/src/components/activities/locales/sk.ts +21 -0
- package/src/components/activities/locales/sv.ts +21 -0
- package/src/components/advance-invoices/advance-invoices.hooks.ts +2 -3
- package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +290 -69
- package/src/components/advance-invoices/create/locales/bg.ts +48 -0
- package/src/components/advance-invoices/create/locales/cs.ts +48 -0
- package/src/components/advance-invoices/create/locales/en.ts +48 -0
- package/src/components/advance-invoices/create/locales/et.ts +48 -0
- package/src/components/advance-invoices/create/locales/fi.ts +48 -0
- package/src/components/advance-invoices/create/locales/hr.ts +17 -17
- package/src/components/advance-invoices/create/locales/is.ts +48 -0
- package/src/components/advance-invoices/create/locales/nb.ts +48 -0
- package/src/components/advance-invoices/create/locales/sk.ts +48 -0
- package/src/components/advance-invoices/create/locales/sl.ts +9 -7
- package/src/components/advance-invoices/create/locales/sv.ts +48 -0
- package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +16 -2
- package/src/components/advance-invoices/list/list-row-actions.tsx +48 -16
- package/src/components/advance-invoices/list/list-table.tsx +33 -8
- package/src/components/advance-invoices/list/locales/bg.ts +51 -0
- package/src/components/advance-invoices/list/locales/cs.ts +51 -0
- package/src/components/advance-invoices/list/locales/en.ts +33 -2
- package/src/components/advance-invoices/list/locales/et.ts +51 -0
- package/src/components/advance-invoices/list/locales/fi.ts +51 -0
- package/src/components/advance-invoices/list/locales/hr.ts +15 -15
- package/src/components/advance-invoices/list/locales/is.ts +51 -0
- package/src/components/advance-invoices/list/locales/nb.ts +51 -0
- package/src/components/advance-invoices/list/locales/sk.ts +51 -0
- package/src/components/advance-invoices/list/locales/sv.ts +51 -0
- package/src/components/advance-invoices/list/use-advance-invoice-download.ts +3 -5
- package/src/components/common/autocomplete-locales.ts +101 -0
- package/src/components/company-registry/company-registry.hooks.ts +3 -7
- package/src/components/credit-notes/create/create-credit-note-form.tsx +211 -22
- package/src/components/credit-notes/create/locales/bg.ts +87 -0
- package/src/components/credit-notes/create/locales/cs.ts +87 -0
- package/src/components/credit-notes/create/locales/en.ts +87 -0
- package/src/components/credit-notes/create/locales/et.ts +87 -0
- package/src/components/credit-notes/create/locales/fi.ts +87 -0
- package/src/components/credit-notes/create/locales/hr.ts +24 -24
- package/src/components/credit-notes/create/locales/is.ts +87 -0
- package/src/components/credit-notes/create/locales/nb.ts +87 -0
- package/src/components/credit-notes/create/locales/sk.ts +87 -0
- package/src/components/credit-notes/create/locales/sl.ts +9 -9
- package/src/components/credit-notes/create/locales/sv.ts +87 -0
- package/src/components/credit-notes/create/prepare-credit-note-submission.ts +32 -0
- package/src/components/credit-notes/credit-notes.hooks.ts +15 -3
- package/src/components/credit-notes/list/list-row-actions.tsx +19 -7
- package/src/components/credit-notes/list/list-table.tsx +58 -7
- package/src/components/credit-notes/list/locales/bg.ts +48 -0
- package/src/components/credit-notes/list/locales/cs.ts +48 -0
- package/src/components/credit-notes/list/locales/en.ts +31 -2
- package/src/components/credit-notes/list/locales/et.ts +48 -0
- package/src/components/credit-notes/list/locales/fi.ts +48 -0
- package/src/components/credit-notes/list/locales/hr.ts +12 -12
- package/src/components/credit-notes/list/locales/is.ts +48 -0
- package/src/components/credit-notes/list/locales/nb.ts +48 -0
- package/src/components/credit-notes/list/locales/sk.ts +48 -0
- package/src/components/credit-notes/list/locales/sv.ts +48 -0
- package/src/components/credit-notes/list/use-credit-note-download.ts +3 -5
- package/src/components/customers/create-customer-form/locales/bg.ts +21 -0
- package/src/components/customers/create-customer-form/locales/cs.ts +21 -0
- package/src/components/customers/create-customer-form/locales/en.ts +21 -0
- package/src/components/customers/create-customer-form/locales/et.ts +21 -0
- package/src/components/customers/create-customer-form/locales/fi.ts +21 -0
- package/src/components/customers/create-customer-form/locales/hr.ts +11 -11
- package/src/components/customers/create-customer-form/locales/is.ts +21 -0
- package/src/components/customers/create-customer-form/locales/nb.ts +21 -0
- package/src/components/customers/create-customer-form/locales/sk.ts +21 -0
- package/src/components/customers/create-customer-form/locales/sv.ts +21 -0
- package/src/components/customers/customer-autocomplete.tsx +32 -4
- package/src/components/customers/customer-list-table/customer-list-table.tsx +8 -6
- package/src/components/customers/customer-list-table/locales/bg.ts +25 -0
- package/src/components/customers/customer-list-table/locales/cs.ts +25 -0
- package/src/components/customers/customer-list-table/locales/en.ts +17 -2
- package/src/components/customers/customer-list-table/locales/et.ts +25 -0
- package/src/components/customers/customer-list-table/locales/fi.ts +25 -0
- package/src/components/customers/customer-list-table/locales/hr.ts +11 -11
- package/src/components/customers/customer-list-table/locales/is.ts +25 -0
- package/src/components/customers/customer-list-table/locales/nb.ts +25 -0
- package/src/components/customers/customer-list-table/locales/sk.ts +25 -0
- package/src/components/customers/customer-list-table/locales/sv.ts +25 -0
- package/src/components/customers/customers.hooks.ts +14 -17
- package/src/components/customers/edit-customer-form/locales/bg.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/cs.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/en.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/et.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/fi.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/hr.ts +5 -5
- package/src/components/customers/edit-customer-form/locales/is.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/nb.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/sk.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/sv.ts +13 -0
- package/src/components/dashboard/collection-rate-card/collection-rate-card.tsx +7 -6
- package/src/components/dashboard/collection-rate-card/locales/en.ts +3 -0
- package/src/components/dashboard/collection-rate-card/use-collection-rate.ts +8 -7
- package/src/components/dashboard/invoice-status-chart/invoice-status-chart.tsx +7 -4
- package/src/components/dashboard/invoice-status-chart/locales/bg.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/cs.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/de.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/en.ts +10 -0
- package/src/components/dashboard/invoice-status-chart/locales/es.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/et.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/fi.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/fr.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/hr.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/is.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/it.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/nb.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/nl.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/pl.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/pt.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/sk.ts +5 -5
- package/src/components/dashboard/invoice-status-chart/locales/sl.ts +1 -1
- package/src/components/dashboard/invoice-status-chart/locales/sv.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/bg.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/cs.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/en.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/et.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/fi.ts +6 -6
- package/src/components/dashboard/payment-methods-chart/locales/hr.ts +3 -3
- package/src/components/dashboard/payment-methods-chart/locales/is.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/nb.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/sk.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/locales/sv.ts +5 -5
- package/src/components/dashboard/payment-methods-chart/payment-methods-chart.tsx +4 -3
- package/src/components/dashboard/payment-trend-chart/locales/bg.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/cs.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/en.ts +6 -0
- package/src/components/dashboard/payment-trend-chart/locales/et.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/fi.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/is.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/nb.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/sk.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/locales/sv.ts +1 -1
- package/src/components/dashboard/payment-trend-chart/payment-trend-chart.tsx +4 -3
- package/src/components/dashboard/payment-trend-chart/use-payment-trend.ts +12 -9
- package/src/components/dashboard/revenue-card.tsx +3 -3
- package/src/components/dashboard/revenue-trend-chart/locales/bg.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/cs.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/en.ts +6 -0
- package/src/components/dashboard/revenue-trend-chart/locales/et.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/fi.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/is.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/nb.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/sk.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/locales/sv.ts +1 -1
- package/src/components/dashboard/revenue-trend-chart/revenue-trend-chart.tsx +4 -3
- package/src/components/dashboard/revenue-trend-chart/use-revenue-trend.ts +4 -3
- package/src/components/dashboard/shared/local-date.ts +11 -0
- package/src/components/dashboard/shared/use-revenue-data.ts +6 -5
- package/src/components/dashboard/shared/use-stats-query.ts +7 -11
- package/src/components/dashboard/stat-card.tsx +3 -3
- package/src/components/dashboard/tax-collected-card/tax-collected-card.tsx +11 -9
- package/src/components/dashboard/tax-collected-card/use-tax-collected.ts +3 -2
- package/src/components/dashboard/top-customers-chart/locales/bg.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/cs.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/en.ts +7 -0
- package/src/components/dashboard/top-customers-chart/locales/et.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/fi.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/is.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/nb.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/sk.ts +2 -2
- package/src/components/dashboard/top-customers-chart/locales/sv.ts +2 -2
- package/src/components/dashboard/top-customers-chart/top-customers-chart.tsx +4 -3
- package/src/components/dashboard/top-customers-chart/use-top-customers.ts +7 -20
- package/src/components/delivery-notes/create/create-delivery-note-form.tsx +61 -31
- package/src/components/delivery-notes/create/locales/bg.ts +68 -0
- package/src/components/delivery-notes/create/locales/cs.ts +68 -0
- package/src/components/delivery-notes/create/locales/en.ts +68 -0
- package/src/components/delivery-notes/create/locales/et.ts +68 -0
- package/src/components/delivery-notes/create/locales/fi.ts +68 -0
- package/src/components/delivery-notes/create/locales/hr.ts +6 -6
- package/src/components/delivery-notes/create/locales/is.ts +68 -0
- package/src/components/delivery-notes/create/locales/nb.ts +68 -0
- package/src/components/delivery-notes/create/locales/sk.ts +68 -0
- package/src/components/delivery-notes/create/locales/sl.ts +5 -5
- package/src/components/delivery-notes/create/locales/sv.ts +68 -0
- package/src/components/delivery-notes/delivery-notes.hooks.ts +20 -3
- package/src/components/delivery-notes/list/list-row-actions.tsx +62 -16
- package/src/components/delivery-notes/list/list-table.tsx +42 -9
- package/src/components/delivery-notes/list/locales/bg.ts +40 -0
- package/src/components/delivery-notes/list/locales/cs.ts +40 -0
- package/src/components/delivery-notes/list/locales/et.ts +40 -0
- package/src/components/delivery-notes/list/locales/fi.ts +40 -0
- package/src/components/delivery-notes/list/locales/is.ts +40 -0
- package/src/components/delivery-notes/list/locales/nb.ts +40 -0
- package/src/components/delivery-notes/list/locales/sk.ts +40 -0
- package/src/components/delivery-notes/list/locales/sv.ts +40 -0
- package/src/components/delivery-notes/list/use-delivery-note-download.ts +3 -5
- package/src/components/documents/create/document-add-item-form.tsx +256 -147
- package/src/components/documents/create/document-add-item-tax-rate-field.tsx +2 -1
- package/src/components/documents/create/document-details-section.tsx +30 -12
- package/src/components/documents/create/document-item-validation.ts +50 -0
- package/src/components/documents/create/document-items-section.tsx +44 -6
- package/src/components/documents/create/document-recipient-section.tsx +10 -2
- package/src/components/documents/create/linked-documents-info.tsx +4 -3
- package/src/components/documents/create/live-preview.tsx +19 -15
- package/src/components/documents/create/mark-as-paid-section.tsx +77 -20
- package/src/components/documents/create/payment-rows.ts +291 -0
- package/src/components/documents/create/prepare-document-submission.ts +24 -13
- package/src/components/documents/create/scroll-to-first-invalid-field.ts +27 -0
- package/src/components/documents/create/smart-code-insert-button.tsx +5 -53
- package/src/components/documents/create/use-document-customer-form.ts +74 -25
- package/src/components/documents/documents.hooks.ts +3 -5
- package/src/components/documents/index.ts +1 -0
- package/src/components/documents/public/index.ts +1 -0
- package/src/components/documents/public/public-document-summary.tsx +343 -0
- package/src/components/documents/shared/document-preview-display.tsx +65 -39
- package/src/components/documents/shared/index.ts +6 -1
- package/src/components/documents/shared/scaled-document-preview.tsx +33 -19
- package/src/components/documents/types.ts +24 -0
- package/src/components/documents/view/document-actions-bar.tsx +241 -62
- package/src/components/documents/view/document-activities-list.tsx +23 -11
- package/src/components/documents/view/document-details-card.tsx +7 -27
- package/src/components/documents/view/document-payments-list.tsx +114 -57
- package/src/components/documents/view/document-relations-list.tsx +26 -6
- package/src/components/documents/view/document-sidebar.tsx +25 -3
- package/src/components/documents/view/document-version-history.tsx +137 -0
- package/src/components/documents/view/index.ts +1 -0
- package/src/components/documents/view/locales/bg.ts +143 -0
- package/src/components/documents/view/locales/cs.ts +143 -0
- package/src/components/documents/view/locales/de.ts +13 -0
- package/src/components/documents/view/locales/en.ts +143 -0
- package/src/components/documents/view/locales/es.ts +13 -0
- package/src/components/documents/view/locales/et.ts +143 -0
- package/src/components/documents/view/locales/fi.ts +143 -0
- package/src/components/documents/view/locales/fr.ts +13 -0
- package/src/components/documents/view/locales/hr.ts +13 -0
- package/src/components/documents/view/locales/is.ts +143 -0
- package/src/components/documents/view/locales/it.ts +13 -0
- package/src/components/documents/view/locales/nb.ts +143 -0
- package/src/components/documents/view/locales/nl.ts +13 -0
- package/src/components/documents/view/locales/pl.ts +13 -0
- package/src/components/documents/view/locales/pt.ts +13 -0
- package/src/components/documents/view/locales/sk.ts +143 -0
- package/src/components/documents/view/locales/sl.ts +13 -0
- package/src/components/documents/view/locales/sv.ts +143 -0
- package/src/components/documents/view/use-document-download.ts +18 -17
- package/src/components/entities/create-entity-form.tsx +200 -12
- package/src/components/entities/entities.hooks.ts +15 -7
- package/src/components/entities/entity-settings-form/entity-settings-form.tsx +121 -65
- package/src/components/entities/entity-settings-form/input-with-preview.tsx +28 -4
- package/src/components/entities/entity-settings-form/locales/bg.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/cs.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/de.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/en.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/es.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/et.ts +198 -0
- package/src/components/entities/entity-settings-form/locales/fi.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/fr.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/hr.ts +16 -11
- package/src/components/entities/entity-settings-form/locales/is.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/it.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/nb.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/nl.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/pl.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/pt.ts +8 -3
- package/src/components/entities/entity-settings-form/locales/sk.ts +199 -0
- package/src/components/entities/entity-settings-form/locales/sl.ts +20 -15
- package/src/components/entities/entity-settings-form/locales/sv.ts +205 -0
- package/src/components/entities/fina-settings-form/fina-operator-required-dialog.tsx +34 -9
- package/src/components/entities/fina-settings-form/fina-settings-form.tsx +2 -0
- package/src/components/entities/fina-settings-form/fina-settings.hooks.ts +14 -45
- package/src/components/entities/fina-settings-form/locales/bg.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/cs.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/et.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/fi.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/hr.ts +11 -10
- package/src/components/entities/fina-settings-form/locales/is.ts +164 -0
- package/src/components/entities/fina-settings-form/locales/nb.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/sk.ts +163 -0
- package/src/components/entities/fina-settings-form/locales/sl.ts +8 -7
- package/src/components/entities/fina-settings-form/locales/sv.ts +165 -0
- package/src/components/entities/furs-settings-form/furs-operator-required-dialog.tsx +34 -9
- package/src/components/entities/furs-settings-form/furs-settings-form.tsx +13 -1
- package/src/components/entities/furs-settings-form/furs-settings.hooks.ts +141 -42
- package/src/components/entities/furs-settings-form/locales/bg.ts +242 -0
- package/src/components/entities/furs-settings-form/locales/cs.ts +241 -0
- package/src/components/entities/furs-settings-form/locales/de.ts +42 -15
- package/src/components/entities/furs-settings-form/locales/en.ts +24 -0
- package/src/components/entities/furs-settings-form/locales/es.ts +42 -15
- package/src/components/entities/furs-settings-form/locales/et.ts +242 -0
- package/src/components/entities/furs-settings-form/locales/fi.ts +243 -0
- package/src/components/entities/furs-settings-form/locales/fr.ts +43 -15
- package/src/components/entities/furs-settings-form/locales/hr.ts +44 -19
- package/src/components/entities/furs-settings-form/locales/is.ts +242 -0
- package/src/components/entities/furs-settings-form/locales/it.ts +42 -15
- package/src/components/entities/furs-settings-form/locales/nb.ts +242 -0
- package/src/components/entities/furs-settings-form/locales/nl.ts +42 -15
- package/src/components/entities/furs-settings-form/locales/pl.ts +40 -15
- package/src/components/entities/furs-settings-form/locales/pt.ts +42 -15
- package/src/components/entities/furs-settings-form/locales/sk.ts +243 -0
- package/src/components/entities/furs-settings-form/locales/sl.ts +34 -10
- package/src/components/entities/furs-settings-form/locales/sv.ts +242 -0
- package/src/components/entities/furs-settings-form/sections/enable-fiscalization-section.tsx +11 -0
- package/src/components/entities/furs-settings-form/sections/furs-internal-act-download-card.tsx +111 -0
- package/src/components/entities/furs-settings-form/sections/general-settings-section.tsx +27 -0
- package/src/components/entities/furs-settings-form/sections/premises-management-section.tsx +23 -16
- package/src/components/entities/furs-settings-form/sections/register-premise-dialog.tsx +89 -31
- package/src/components/entities/settings/branding-settings-form.tsx +11 -30
- package/src/components/entities/settings/company-settings-form.tsx +2 -1
- package/src/components/entities/settings/defaults-settings-form.tsx +106 -3
- package/src/components/entities/settings/email-settings-form.tsx +245 -3
- package/src/components/entities/settings/eslog-settings-form.tsx +2 -1
- package/src/components/entities/settings/number-format-settings-form.tsx +2 -1
- package/src/components/entities/settings/pdf-template-selector/locales/bg.ts +20 -0
- package/src/components/entities/settings/pdf-template-selector/locales/cs.ts +20 -0
- package/src/components/entities/settings/pdf-template-selector/locales/en.ts +20 -0
- package/src/components/entities/settings/pdf-template-selector/locales/et.ts +19 -0
- package/src/components/entities/settings/pdf-template-selector/locales/fi.ts +20 -0
- package/src/components/entities/settings/pdf-template-selector/locales/is.ts +19 -0
- package/src/components/entities/settings/pdf-template-selector/locales/nb.ts +19 -0
- package/src/components/entities/settings/pdf-template-selector/locales/sk.ts +20 -0
- package/src/components/entities/settings/pdf-template-selector/locales/sv.ts +19 -0
- package/src/components/entities/settings/tax-rules-settings-form.tsx +21 -6
- package/src/components/estimates/create/create-estimate-form.tsx +70 -34
- package/src/components/estimates/create/locales/bg.ts +76 -0
- package/src/components/estimates/create/locales/cs.ts +76 -0
- package/src/components/estimates/create/locales/en.ts +76 -0
- package/src/components/estimates/create/locales/et.ts +76 -0
- package/src/components/estimates/create/locales/fi.ts +76 -0
- package/src/components/estimates/create/locales/hr.ts +8 -8
- package/src/components/estimates/create/locales/is.ts +76 -0
- package/src/components/estimates/create/locales/nb.ts +76 -0
- package/src/components/estimates/create/locales/sk.ts +76 -0
- package/src/components/estimates/create/locales/sl.ts +8 -8
- package/src/components/estimates/create/locales/sv.ts +76 -0
- package/src/components/estimates/create/prepare-estimate-submission.ts +4 -1
- package/src/components/estimates/estimates.hooks.ts +15 -3
- package/src/components/estimates/list/list-row-actions.tsx +34 -7
- package/src/components/estimates/list/list-table.tsx +78 -10
- package/src/components/estimates/list/locales/bg.ts +38 -0
- package/src/components/estimates/list/locales/cs.ts +38 -0
- package/src/components/estimates/list/locales/en.ts +27 -2
- package/src/components/estimates/list/locales/et.ts +38 -0
- package/src/components/estimates/list/locales/fi.ts +38 -0
- package/src/components/estimates/list/locales/hr.ts +2 -2
- package/src/components/estimates/list/locales/is.ts +38 -0
- package/src/components/estimates/list/locales/nb.ts +38 -0
- package/src/components/estimates/list/locales/sk.ts +38 -0
- package/src/components/estimates/list/locales/sv.ts +38 -0
- package/src/components/estimates/list/use-estimate-download.ts +3 -5
- package/src/components/export/document-export-form.tsx +72 -15
- package/src/components/export/sales-per-item-export-form.tsx +3 -2
- package/src/components/invoices/create/create-invoice-form.tsx +294 -76
- package/src/components/invoices/create/eslog-validation.ts +97 -8
- package/src/components/invoices/create/locales/bg.ts +164 -0
- package/src/components/invoices/create/locales/cs.ts +164 -0
- package/src/components/invoices/create/locales/de.ts +24 -0
- package/src/components/invoices/create/locales/en.ts +164 -0
- package/src/components/invoices/create/locales/es.ts +24 -0
- package/src/components/invoices/create/locales/et.ts +164 -0
- package/src/components/invoices/create/locales/fi.ts +164 -0
- package/src/components/invoices/create/locales/fr.ts +23 -0
- package/src/components/invoices/create/locales/hr.ts +32 -9
- package/src/components/invoices/create/locales/is.ts +164 -0
- package/src/components/invoices/create/locales/it.ts +24 -0
- package/src/components/invoices/create/locales/nb.ts +164 -0
- package/src/components/invoices/create/locales/nl.ts +23 -0
- package/src/components/invoices/create/locales/pl.ts +23 -0
- package/src/components/invoices/create/locales/pt.ts +24 -0
- package/src/components/invoices/create/locales/sk.ts +164 -0
- package/src/components/invoices/create/locales/sl.ts +32 -9
- package/src/components/invoices/create/locales/sv.ts +166 -0
- package/src/components/invoices/create/prepare-invoice-submission.ts +19 -2
- package/src/components/invoices/invoices-furs.hooks.ts +11 -8
- package/src/components/invoices/invoices.hooks.ts +27 -10
- package/src/components/invoices/list/list-row-actions.tsx +54 -21
- package/src/components/invoices/list/list-table.tsx +92 -11
- package/src/components/invoices/list/locales/bg.ts +49 -0
- package/src/components/invoices/list/locales/cs.ts +49 -0
- package/src/components/invoices/list/locales/en.ts +34 -2
- package/src/components/invoices/list/locales/et.ts +49 -0
- package/src/components/invoices/list/locales/fi.ts +49 -0
- package/src/components/invoices/list/locales/is.ts +49 -0
- package/src/components/invoices/list/locales/nb.ts +49 -0
- package/src/components/invoices/list/locales/sk.ts +49 -0
- package/src/components/invoices/list/locales/sv.ts +49 -0
- package/src/components/invoices/list/use-invoice-download.ts +3 -5
- package/src/components/invoices/send-email-dialog/locales/bg.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/cs.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/de.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/en.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/es.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/et.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/fi.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/fr.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/hr.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/is.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/it.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/nb.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/nl.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/pl.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/pt.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/sk.ts +58 -0
- package/src/components/invoices/send-email-dialog/locales/sl.ts +21 -0
- package/src/components/invoices/send-email-dialog/locales/sv.ts +58 -0
- package/src/components/invoices/send-email-dialog/send-email-dialog.tsx +188 -93
- package/src/components/invoices/view/eslog-info-display.tsx +2 -0
- package/src/components/invoices/view/fiscalization-status-card.tsx +2 -0
- package/src/components/items/create-item-form/create-item-form.tsx +29 -0
- package/src/components/items/create-item-form/locales/bg.ts +13 -0
- package/src/components/items/create-item-form/locales/cs.ts +13 -0
- package/src/components/items/create-item-form/locales/et.ts +13 -0
- package/src/components/items/create-item-form/locales/fi.ts +13 -0
- package/src/components/items/create-item-form/locales/is.ts +13 -0
- package/src/components/items/create-item-form/locales/nb.ts +13 -0
- package/src/components/items/create-item-form/locales/sk.ts +13 -0
- package/src/components/items/create-item-form/locales/sv.ts +13 -0
- package/src/components/items/edit-item-form/edit-item-form.tsx +39 -1
- package/src/components/items/edit-item-form/locales/bg.ts +12 -0
- package/src/components/items/edit-item-form/locales/cs.ts +12 -0
- package/src/components/items/edit-item-form/locales/en.ts +12 -0
- package/src/components/items/edit-item-form/locales/et.ts +12 -0
- package/src/components/items/edit-item-form/locales/fi.ts +12 -0
- package/src/components/items/edit-item-form/locales/is.ts +12 -0
- package/src/components/items/edit-item-form/locales/nb.ts +12 -0
- package/src/components/items/edit-item-form/locales/sk.ts +12 -0
- package/src/components/items/edit-item-form/locales/sv.ts +12 -0
- package/src/components/items/item-combobox.tsx +51 -18
- package/src/components/items/item-list-table/item-list-table.tsx +47 -23
- package/src/components/items/item-list-table/locales/bg.ts +16 -0
- package/src/components/items/item-list-table/locales/cs.ts +16 -0
- package/src/components/items/item-list-table/locales/en.ts +4 -3
- package/src/components/items/item-list-table/locales/et.ts +16 -0
- package/src/components/items/item-list-table/locales/fi.ts +16 -0
- package/src/components/items/item-list-table/locales/is.ts +16 -0
- package/src/components/items/item-list-table/locales/nb.ts +16 -0
- package/src/components/items/item-list-table/locales/sk.ts +16 -0
- package/src/components/items/item-list-table/locales/sv.ts +16 -0
- package/src/components/items/items.hooks.ts +15 -15
- package/src/components/payments/create-payment-form/create-payment-form.tsx +11 -7
- package/src/components/payments/create-payment-form/locales/bg.ts +20 -0
- package/src/components/payments/create-payment-form/locales/cs.ts +20 -0
- package/src/components/payments/create-payment-form/locales/en.ts +20 -0
- package/src/components/payments/create-payment-form/locales/et.ts +20 -0
- package/src/components/payments/create-payment-form/locales/fi.ts +20 -0
- package/src/components/payments/create-payment-form/locales/hr.ts +2 -2
- package/src/components/payments/create-payment-form/locales/is.ts +20 -0
- package/src/components/payments/create-payment-form/locales/nb.ts +20 -0
- package/src/components/payments/create-payment-form/locales/sk.ts +20 -0
- package/src/components/payments/create-payment-form/locales/sl.ts +4 -4
- package/src/components/payments/create-payment-form/locales/sv.ts +20 -0
- package/src/components/payments/edit-payment-form/edit-payment-form.tsx +5 -1
- package/src/components/payments/edit-payment-form/locales/bg.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/cs.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/en.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/et.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/fi.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/hr.ts +2 -2
- package/src/components/payments/edit-payment-form/locales/is.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/nb.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/sk.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/sl.ts +4 -4
- package/src/components/payments/edit-payment-form/locales/sv.ts +20 -0
- package/src/components/payments/list/list-row-actions.tsx +10 -2
- package/src/components/payments/list/list-table.tsx +51 -45
- package/src/components/payments/list/locales/bg.ts +42 -0
- package/src/components/payments/list/locales/cs.ts +42 -0
- package/src/components/payments/list/locales/de.ts +18 -0
- package/src/components/payments/list/locales/en.ts +37 -2
- package/src/components/payments/list/locales/es.ts +18 -0
- package/src/components/payments/list/locales/et.ts +42 -0
- package/src/components/payments/list/locales/fi.ts +42 -0
- package/src/components/payments/list/locales/fr.ts +18 -0
- package/src/components/payments/list/locales/hr.ts +18 -0
- package/src/components/payments/list/locales/is.ts +42 -0
- package/src/components/payments/list/locales/it.ts +18 -0
- package/src/components/payments/list/locales/nb.ts +42 -0
- package/src/components/payments/list/locales/nl.ts +18 -0
- package/src/components/payments/list/locales/pl.ts +18 -0
- package/src/components/payments/list/locales/pt.ts +18 -0
- package/src/components/payments/list/locales/sk.ts +42 -0
- package/src/components/payments/list/locales/sl.ts +18 -1
- package/src/components/payments/list/locales/sv.ts +42 -0
- package/src/components/payments/payments.hooks.ts +13 -6
- package/src/components/recurring-invoices/create-recurring-invoice-form/create-recurring-invoice-form.tsx +23 -17
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/bg.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/cs.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/en.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/et.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/fi.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/hr.ts +6 -6
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/is.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/nb.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sk.ts +44 -0
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sl.ts +4 -4
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sv.ts +44 -0
- package/src/components/recurring-invoices/list/list-row-actions.tsx +3 -5
- package/src/components/recurring-invoices/list/list-table.tsx +10 -7
- package/src/components/recurring-invoices/list/locales/bg.ts +28 -0
- package/src/components/recurring-invoices/list/locales/cs.ts +28 -0
- package/src/components/recurring-invoices/list/locales/en.ts +23 -0
- package/src/components/recurring-invoices/list/locales/et.ts +28 -0
- package/src/components/recurring-invoices/list/locales/fi.ts +28 -0
- package/src/components/recurring-invoices/list/locales/is.ts +28 -0
- package/src/components/recurring-invoices/list/locales/nb.ts +28 -0
- package/src/components/recurring-invoices/list/locales/sk.ts +28 -0
- package/src/components/recurring-invoices/list/locales/sv.ts +28 -0
- package/src/components/recurring-invoices/recurring-invoices.hooks.ts +11 -8
- package/src/components/request-logs/request-log-detail.tsx +30 -23
- package/src/components/request-logs/request-log-list-table.tsx +88 -45
- package/src/components/table/README.md +47 -9
- package/src/components/table/data-table.tsx +232 -92
- package/src/components/table/filter-bar.tsx +1 -1
- package/src/components/table/filter-panel.tsx +51 -22
- package/src/components/table/hooks/use-table-state.ts +64 -11
- package/src/components/table/index.ts +3 -0
- package/src/components/table/locales.ts +119 -4
- package/src/components/table/selection-toolbar.tsx +65 -9
- package/src/components/table/sorting.ts +80 -0
- package/src/components/table/table-skeleton.tsx +15 -9
- package/src/components/table/types.ts +17 -0
- package/src/components/tax-reports/index.ts +8 -0
- package/src/components/tax-reports/kir-export-form.tsx +4 -5
- package/src/components/tax-reports/slovenia-accounting-mappings-fields.tsx +271 -0
- package/src/components/tax-reports/slovenia-tax-profile-step.tsx +21 -10
- package/src/components/tax-reports/slovenia-vod-export-form.tsx +452 -0
- package/src/components/tax-reports/slovenia-yearly-export-form.tsx +17 -16
- package/src/components/tax-reports/slovenia-yearly-review-step.tsx +40 -18
- package/src/components/taxes/create-tax-form/create-tax-form.tsx +48 -2
- package/src/components/taxes/create-tax-form/locales/bg.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/cs.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/et.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/fi.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/is.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/nb.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/sk.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/sv.ts +8 -0
- package/src/components/taxes/edit-tax-form/edit-tax-form.tsx +80 -11
- package/src/components/taxes/edit-tax-form/locales/bg.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/cs.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/en.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/et.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/fi.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/is.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/nb.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/sk.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/sv.ts +6 -0
- package/src/components/taxes/tax-list-table/locales/bg.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/cs.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/en.ts +4 -3
- package/src/components/taxes/tax-list-table/locales/et.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/fi.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/is.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/nb.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/sk.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/sv.ts +17 -0
- package/src/components/taxes/tax-list-table/tax-list-table.tsx +53 -19
- package/src/components/taxes/taxes.hooks.ts +53 -12
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/drawer.tsx +2 -2
- package/src/components/ui/form.tsx +118 -2
- package/src/components/ui/progress.tsx +6 -4
- package/src/components/ui/select.tsx +118 -1
- package/src/components/ui/sonner.tsx +17 -36
- package/src/components/ui/sticky-form-footer.tsx +6 -1
- package/src/components/ui/tooltip.tsx +15 -2
- package/src/components/webhook-logs/webhook-delivery-detail.tsx +22 -22
- package/src/components/webhook-logs/webhook-delivery-list-table.tsx +92 -17
- package/src/components/wl-subscription/locked-feature.tsx +11 -10
- package/src/components/wl-subscription/paywall.tsx +184 -72
- package/src/components/wl-subscription/upgrade-modal.tsx +28 -31
- package/src/generate-schemas.ts +14 -4
- package/src/generated/schemas/account_webhook.ts +43 -0
- package/src/generated/schemas/accountwebhook.ts +67 -0
- package/src/generated/schemas/entity.ts +255 -16
- package/src/generated/schemas/exportsloveniavodxml_body.ts +16 -0
- package/src/generated/schemas/furssettings.ts +1 -0
- package/src/generated/schemas/incomingpurchasedocument.ts +198 -0
- package/src/generated/schemas/incomingpurchasedocumentpayment.ts +38 -0
- package/src/generated/schemas/index.ts +10 -0
- package/src/generated/schemas/item.ts +36 -0
- package/src/generated/schemas/me.ts +23 -19
- package/src/generated/schemas/order.ts +2 -0
- package/src/generated/schemas/orderintegration.ts +8 -4
- package/src/generated/schemas/payment.ts +5 -0
- package/src/generated/schemas/ptatcudseries.ts +30 -0
- package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +35 -3
- package/src/generated/schemas/rendercreditnotepreview_body.ts +35 -3
- package/src/generated/schemas/renderdeliverynotepreview_body.ts +12 -5
- package/src/generated/schemas/renderestimatepreview_body.ts +38 -5
- package/src/generated/schemas/renderinvoicepreview_body.ts +39 -5
- package/src/generated/schemas/senddocument_body.ts +1 -0
- package/src/generated/schemas/sendemail_body.ts +67 -39
- package/src/generated/schemas/sloveniataxprofile.ts +97 -21
- package/src/generated/schemas/starteslogexport_body.ts +33 -0
- package/src/generated/schemas/startpdfexport_body.ts +94 -78
- package/src/generated/schemas/supplier.ts +59 -0
- package/src/generated/schemas/syncshopifyorders_body.ts +20 -0
- package/src/generated/schemas/tax.ts +2 -0
- package/src/generated/schemas/uploadfile_body.ts +1 -0
- package/src/generated/schemas/userptsettings.ts +26 -0
- package/src/generated/schemas/voidinvoice_body.ts +20 -0
- package/src/generated/schemas/webhook.ts +2 -0
- package/src/hooks/create-resource-hooks.ts +22 -19
- package/src/hooks/use-duplicate-document.ts +10 -8
- package/src/hooks/use-eslog-validation.ts +5 -1
- package/src/hooks/use-next-document-number.ts +13 -6
- package/src/hooks/use-resolved-entity-id.ts +14 -0
- package/src/hooks/use-resource-mutation.ts +11 -30
- package/src/hooks/use-transaction-type-check.ts +3 -8
- package/src/lib/browser-cookies.ts +1 -1
- package/src/lib/country-capabilities.ts +114 -0
- package/src/lib/date-fns-locale.ts +1 -20
- package/src/lib/eslog-export.ts +32 -0
- package/src/lib/fiscalization-options.ts +21 -1
- package/src/lib/formatting.ts +27 -0
- package/src/lib/furs-error-utils.ts +29 -0
- package/src/lib/locale.ts +4 -0
- package/src/lib/payment-display.ts +95 -0
- package/src/lib/pt-document-input.ts +67 -0
- package/src/lib/schemas/shared.ts +1 -0
- package/src/lib/template-variables.tsx +102 -4
- package/src/lib/translation.ts +51 -33
- package/src/lib/white-label-capabilities.ts +626 -0
- package/src/lib/zod-validation-message.ts +291 -0
- package/src/providers/entities-provider.tsx +32 -14
- package/src/providers/sdk-provider.tsx +112 -12
- package/src/providers/space-invoices-provider.tsx +129 -0
- package/src/providers/white-label-provider.tsx +96 -4
- package/src/providers/wl-subscription-provider.tsx +144 -10
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Invoice } from "@spaceinvoices/js-sdk";
|
|
2
|
+
import { invoices } from "@spaceinvoices/js-sdk";
|
|
2
3
|
import { AlertTriangle } from "lucide-react";
|
|
4
|
+
import type { ReactNode } from "react";
|
|
3
5
|
import { useCallback, useMemo, useState } from "react";
|
|
4
6
|
import { DataTable } from "@/ui/components/table/data-table";
|
|
5
7
|
import { FormattedDate } from "@/ui/components/table/date-cell";
|
|
@@ -16,9 +18,9 @@ import type {
|
|
|
16
18
|
import { Badge } from "@/ui/components/ui/badge";
|
|
17
19
|
import { Button } from "@/ui/components/ui/button";
|
|
18
20
|
import { Tooltip, TooltipContent, TooltipTrigger } from "@/ui/components/ui/tooltip";
|
|
21
|
+
import { getEslogSelectionState } from "@/ui/lib/eslog-export";
|
|
19
22
|
import { getFiscalizationFailureType } from "@/ui/lib/fiscalization";
|
|
20
23
|
import { createTranslation } from "@/ui/lib/translation";
|
|
21
|
-
import { useSDK } from "@/ui/providers/sdk-provider";
|
|
22
24
|
|
|
23
25
|
import InvoiceListRowActions from "./list-row-actions";
|
|
24
26
|
import de from "./locales/de";
|
|
@@ -32,7 +34,7 @@ import pl from "./locales/pl";
|
|
|
32
34
|
import pt from "./locales/pt";
|
|
33
35
|
import sl from "./locales/sl";
|
|
34
36
|
|
|
35
|
-
const
|
|
37
|
+
export const invoiceListTranslations = withTableTranslations({
|
|
36
38
|
en,
|
|
37
39
|
sl,
|
|
38
40
|
de,
|
|
@@ -50,6 +52,7 @@ type InvoiceListTableProps = {
|
|
|
50
52
|
namespace?: string;
|
|
51
53
|
locale?: string;
|
|
52
54
|
translationLocale?: string;
|
|
55
|
+
cacheKey?: string;
|
|
53
56
|
entityId?: string;
|
|
54
57
|
onView?: (invoice: Invoice) => void;
|
|
55
58
|
onAddPayment?: (invoice: Invoice) => void;
|
|
@@ -58,15 +61,28 @@ type InvoiceListTableProps = {
|
|
|
58
61
|
onDownloadSuccess?: (fileName: string) => void;
|
|
59
62
|
onDownloadError?: (error: string) => void;
|
|
60
63
|
onExportSelected?: (documentIds: string[]) => void;
|
|
64
|
+
onExportEslogSelected?: (documentIds: string[]) => void;
|
|
65
|
+
pdfExportDisabled?: boolean;
|
|
66
|
+
pdfExportDisabledTooltip?: string;
|
|
67
|
+
eslogExportDisabled?: boolean;
|
|
68
|
+
eslogExportDisabledTooltip?: string;
|
|
61
69
|
onRetryFiscalization?: (documentIds: string[]) => void;
|
|
62
70
|
fiscalizationFeatures?: ("furs" | "fina")[];
|
|
63
71
|
onVoid?: (invoice: Invoice) => void;
|
|
64
72
|
isVoiding?: boolean;
|
|
65
73
|
onCreateNew?: () => void;
|
|
74
|
+
allowSendEmail?: boolean;
|
|
75
|
+
showSearchToolbar?: boolean;
|
|
76
|
+
showPagination?: boolean;
|
|
77
|
+
contentInsetClassName?: string;
|
|
78
|
+
bottomPaddingClassName?: string;
|
|
79
|
+
emptyState?: ReactNode;
|
|
80
|
+
hiddenColumnIds?: string[];
|
|
66
81
|
} & ListTableProps<Invoice>;
|
|
67
82
|
|
|
68
83
|
export default function InvoiceListTable({
|
|
69
84
|
queryParams,
|
|
85
|
+
cacheKey = "invoices",
|
|
70
86
|
onRowClick,
|
|
71
87
|
onView,
|
|
72
88
|
onAddPayment,
|
|
@@ -78,31 +94,41 @@ export default function InvoiceListTable({
|
|
|
78
94
|
onDownloadSuccess,
|
|
79
95
|
onDownloadError,
|
|
80
96
|
onExportSelected,
|
|
97
|
+
onExportEslogSelected,
|
|
98
|
+
pdfExportDisabled,
|
|
99
|
+
pdfExportDisabledTooltip,
|
|
100
|
+
eslogExportDisabled,
|
|
101
|
+
eslogExportDisabledTooltip,
|
|
81
102
|
onRetryFiscalization,
|
|
82
103
|
fiscalizationFeatures,
|
|
83
104
|
onVoid,
|
|
84
105
|
isVoiding,
|
|
85
106
|
onCreateNew,
|
|
107
|
+
allowSendEmail = true,
|
|
108
|
+
showSearchToolbar,
|
|
109
|
+
showPagination,
|
|
110
|
+
contentInsetClassName,
|
|
111
|
+
bottomPaddingClassName,
|
|
112
|
+
emptyState,
|
|
113
|
+
hiddenColumnIds,
|
|
86
114
|
...i18nProps
|
|
87
115
|
}: InvoiceListTableProps) {
|
|
88
116
|
const t = createTranslation({
|
|
89
|
-
translations,
|
|
90
|
-
locale: i18nProps.translationLocale ?? i18nProps.locale,
|
|
91
117
|
...i18nProps,
|
|
118
|
+
translations: invoiceListTranslations,
|
|
92
119
|
});
|
|
93
120
|
|
|
94
|
-
const { sdk } = useSDK();
|
|
95
121
|
const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set());
|
|
96
122
|
|
|
97
123
|
const handleFetch = useTableFetch(async (params: TableQueryParams) => {
|
|
98
|
-
if (!sdk) throw new Error("SDK not initialized");
|
|
99
124
|
if (!params.entity_id) throw new Error("Entity ID required");
|
|
100
125
|
|
|
101
|
-
const response = await
|
|
126
|
+
const response = await invoices.list({
|
|
102
127
|
entity_id: params.entity_id,
|
|
103
128
|
limit: params.limit,
|
|
104
129
|
next_cursor: params.next_cursor,
|
|
105
130
|
prev_cursor: params.prev_cursor,
|
|
131
|
+
order_by: params.order_by,
|
|
106
132
|
search: params.search,
|
|
107
133
|
query: params.query,
|
|
108
134
|
});
|
|
@@ -127,6 +153,12 @@ export default function InvoiceListTable({
|
|
|
127
153
|
}
|
|
128
154
|
}, [selectedIds, onExportSelected]);
|
|
129
155
|
|
|
156
|
+
const handleExportEslog = useCallback(() => {
|
|
157
|
+
if (selectedIds.size > 0 && onExportEslogSelected) {
|
|
158
|
+
onExportEslogSelected(Array.from(selectedIds));
|
|
159
|
+
}
|
|
160
|
+
}, [selectedIds, onExportEslogSelected]);
|
|
161
|
+
|
|
130
162
|
const handleDeselectAll = useCallback(() => {
|
|
131
163
|
setSelectedIds(new Set());
|
|
132
164
|
}, []);
|
|
@@ -134,6 +166,7 @@ export default function InvoiceListTable({
|
|
|
134
166
|
const selectionToolbar = useCallback(
|
|
135
167
|
(count: number, data: Invoice[]) => {
|
|
136
168
|
const selectedDocs = data.filter((d) => selectedIds.has(d.id));
|
|
169
|
+
const eslogSelection = getEslogSelectionState(selectedDocs);
|
|
137
170
|
const failedDocs = selectedDocs.filter((d) => {
|
|
138
171
|
const failureType = getFiscalizationFailureType(d as any);
|
|
139
172
|
return failureType && fiscalizationFeatures?.includes(failureType);
|
|
@@ -149,6 +182,23 @@ export default function InvoiceListTable({
|
|
|
149
182
|
<SelectionToolbar
|
|
150
183
|
selectedCount={count}
|
|
151
184
|
onExportPdfs={onExportSelected ? handleExportPdfs : undefined}
|
|
185
|
+
exportPdfsDisabled={pdfExportDisabled}
|
|
186
|
+
exportPdfsTooltip={pdfExportDisabledTooltip}
|
|
187
|
+
onExportEslog={onExportEslogSelected ? handleExportEslog : undefined}
|
|
188
|
+
exportEslogDisabled={eslogExportDisabled || eslogSelection.noneEligible}
|
|
189
|
+
exportEslogTooltip={
|
|
190
|
+
eslogExportDisabled
|
|
191
|
+
? eslogExportDisabledTooltip
|
|
192
|
+
: eslogSelection.noneEligible
|
|
193
|
+
? t("None of the selected documents are valid for e-SLOG export")
|
|
194
|
+
: undefined
|
|
195
|
+
}
|
|
196
|
+
exportEslogWarning={!eslogExportDisabled && eslogSelection.partiallyEligible}
|
|
197
|
+
exportEslogWarningTooltip={
|
|
198
|
+
!eslogExportDisabled && eslogSelection.partiallyEligible
|
|
199
|
+
? t("Some selected documents are not valid for e-SLOG export and will be skipped")
|
|
200
|
+
: undefined
|
|
201
|
+
}
|
|
152
202
|
onRetryFiscalization={showRetry ? () => onRetryFiscalization(failedDocs.map((d) => d.id)) : undefined}
|
|
153
203
|
retryFiscalizationDisabled={someFailed && !allFailed}
|
|
154
204
|
retryFiscalizationTooltip={
|
|
@@ -161,8 +211,14 @@ export default function InvoiceListTable({
|
|
|
161
211
|
},
|
|
162
212
|
[
|
|
163
213
|
handleExportPdfs,
|
|
214
|
+
handleExportEslog,
|
|
164
215
|
handleDeselectAll,
|
|
165
216
|
onExportSelected,
|
|
217
|
+
onExportEslogSelected,
|
|
218
|
+
pdfExportDisabled,
|
|
219
|
+
pdfExportDisabledTooltip,
|
|
220
|
+
eslogExportDisabled,
|
|
221
|
+
eslogExportDisabledTooltip,
|
|
166
222
|
onRetryFiscalization,
|
|
167
223
|
fiscalizationFeatures,
|
|
168
224
|
selectedIds,
|
|
@@ -175,6 +231,9 @@ export default function InvoiceListTable({
|
|
|
175
231
|
{
|
|
176
232
|
id: "number",
|
|
177
233
|
header: t("Number"),
|
|
234
|
+
sort: {
|
|
235
|
+
defaultDirection: "desc",
|
|
236
|
+
},
|
|
178
237
|
cell: (invoice) => {
|
|
179
238
|
const failureType = getFiscalizationFailureType(invoice as any);
|
|
180
239
|
const showWarning = failureType && fiscalizationFeatures?.includes(failureType);
|
|
@@ -213,23 +272,29 @@ export default function InvoiceListTable({
|
|
|
213
272
|
{
|
|
214
273
|
id: "date",
|
|
215
274
|
header: t("Date"),
|
|
275
|
+
sort: {
|
|
276
|
+
defaultDirection: "desc",
|
|
277
|
+
},
|
|
216
278
|
cell: (invoice) => <FormattedDate date={invoice.date} locale={i18nProps.locale} />,
|
|
217
279
|
},
|
|
218
280
|
{
|
|
219
281
|
id: "date_due",
|
|
220
282
|
header: t("Date Due"),
|
|
283
|
+
sort: true,
|
|
221
284
|
cell: (invoice) => <FormattedDate date={invoice.date_due} locale={i18nProps.locale} />,
|
|
222
285
|
},
|
|
223
286
|
{
|
|
224
287
|
id: "total",
|
|
225
288
|
header: t("Total"),
|
|
226
289
|
align: "right",
|
|
290
|
+
sort: true,
|
|
227
291
|
cell: (invoice) => invoice.total,
|
|
228
292
|
},
|
|
229
293
|
{
|
|
230
294
|
id: "total_with_tax",
|
|
231
295
|
header: t("Total with Tax"),
|
|
232
296
|
align: "right",
|
|
297
|
+
sort: true,
|
|
233
298
|
cell: (invoice) => invoice.total_with_tax,
|
|
234
299
|
},
|
|
235
300
|
{
|
|
@@ -252,6 +317,7 @@ export default function InvoiceListTable({
|
|
|
252
317
|
onDownloadError={onDownloadError}
|
|
253
318
|
onVoid={onVoid}
|
|
254
319
|
isVoiding={isVoiding}
|
|
320
|
+
allowSendEmail={allowSendEmail}
|
|
255
321
|
t={t}
|
|
256
322
|
locale={i18nProps.locale}
|
|
257
323
|
/>
|
|
@@ -269,17 +335,27 @@ export default function InvoiceListTable({
|
|
|
269
335
|
onDownloadError,
|
|
270
336
|
onVoid,
|
|
271
337
|
isVoiding,
|
|
338
|
+
allowSendEmail,
|
|
272
339
|
i18nProps.locale,
|
|
273
340
|
fiscalizationFeatures,
|
|
274
341
|
],
|
|
275
342
|
);
|
|
276
343
|
|
|
344
|
+
const visibleColumns = useMemo(() => {
|
|
345
|
+
if (!hiddenColumnIds?.length) {
|
|
346
|
+
return columns;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
const hidden = new Set(hiddenColumnIds);
|
|
350
|
+
return columns.filter((column) => !hidden.has(column.id));
|
|
351
|
+
}, [columns, hiddenColumnIds]);
|
|
352
|
+
|
|
277
353
|
return (
|
|
278
354
|
<DataTable
|
|
279
|
-
columns={
|
|
355
|
+
columns={visibleColumns}
|
|
280
356
|
queryParams={queryParams}
|
|
281
357
|
resourceName="invoice"
|
|
282
|
-
cacheKey=
|
|
358
|
+
cacheKey={cacheKey}
|
|
283
359
|
createNewLink={entityId ? `/app/${entityId}/documents/add/invoice` : undefined}
|
|
284
360
|
onCreateNew={onCreateNew}
|
|
285
361
|
onFetch={handleFetch}
|
|
@@ -289,16 +365,21 @@ export default function InvoiceListTable({
|
|
|
289
365
|
filterConfig={filterConfig}
|
|
290
366
|
t={t}
|
|
291
367
|
locale={i18nProps.locale}
|
|
292
|
-
selectable={!!(onExportSelected || onRetryFiscalization)}
|
|
368
|
+
selectable={!!(onExportSelected || onExportEslogSelected || onRetryFiscalization)}
|
|
293
369
|
selectedIds={selectedIds}
|
|
294
370
|
onSelectionChange={setSelectedIds}
|
|
295
371
|
selectionToolbar={selectionToolbar}
|
|
372
|
+
showSearchToolbar={showSearchToolbar}
|
|
373
|
+
showPagination={showPagination}
|
|
374
|
+
contentInsetClassName={contentInsetClassName}
|
|
375
|
+
bottomPaddingClassName={bottomPaddingClassName}
|
|
376
|
+
emptyState={emptyState}
|
|
296
377
|
/>
|
|
297
378
|
);
|
|
298
379
|
}
|
|
299
380
|
|
|
300
381
|
/** Status badge for invoices */
|
|
301
|
-
function InvoiceStatusBadge({ invoice, t }: { invoice: Invoice; t: (key: string) => string }) {
|
|
382
|
+
export function InvoiceStatusBadge({ invoice, t }: { invoice: Invoice; t: (key: string) => string }) {
|
|
302
383
|
if ((invoice as any).voided_at) {
|
|
303
384
|
return (
|
|
304
385
|
<Badge variant="outline" className="border-red-500 bg-red-50 text-red-700 dark:bg-red-950 dark:text-red-400">
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Номер",
|
|
17
|
+
Customer: "Клиент",
|
|
18
|
+
Date: "Дата",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Общо",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Действия",
|
|
23
|
+
"Open menu": "Отворете менюто",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Добави плащане",
|
|
27
|
+
"Download PDF": "Изтегли PDF",
|
|
28
|
+
"Downloading...": "Изтегляне...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Фактура",
|
|
32
|
+
"Failed to download PDF": "Неуспешно изтегляне на PDF",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Период",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Статус",
|
|
40
|
+
Paid: "Платено",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Просрочени",
|
|
43
|
+
Voided: "Анулирана",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Прекрати споделяне",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Číslo",
|
|
17
|
+
Customer: "Zákazník",
|
|
18
|
+
Date: "Datum",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Celkem",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Akce",
|
|
23
|
+
"Open menu": "Otevřít nabídku",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Přidat platbu",
|
|
27
|
+
"Download PDF": "Stáhnout PDF",
|
|
28
|
+
"Downloading...": "Stahování...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Faktura",
|
|
32
|
+
"Failed to download PDF": "Stažení PDF se nezdařilo",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Časový rozsah",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Stav",
|
|
40
|
+
Paid: "Zaplaceno",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Po splatnosti",
|
|
43
|
+
Voided: "Stornováno",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Zrušit sdílení",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
// Empty state translations
|
|
3
2
|
"Your list is empty": "Your invoice list is empty",
|
|
4
3
|
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
5
4
|
"Create new": "Create invoice",
|
|
6
|
-
// No results translations
|
|
7
5
|
"No results found": "No invoices found",
|
|
8
6
|
selected: "selected",
|
|
9
7
|
"Export PDFs": "Export PDFs",
|
|
@@ -14,4 +12,38 @@ export default {
|
|
|
14
12
|
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
15
13
|
"Retry Fiscalization": "Retry Fiscalization",
|
|
16
14
|
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Number",
|
|
17
|
+
Customer: "Customer",
|
|
18
|
+
Date: "Date",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Total",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Actions",
|
|
23
|
+
"Open menu": "Open menu",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Add Payment",
|
|
27
|
+
"Download PDF": "Download PDF",
|
|
28
|
+
"Downloading...": "Downloading...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Invoice",
|
|
32
|
+
"Failed to download PDF": "Failed to download PDF",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Date Range",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Status",
|
|
40
|
+
Paid: "Paid",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Overdue",
|
|
43
|
+
Voided: "Voided",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Unshare",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
17
49
|
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Number",
|
|
17
|
+
Customer: "Klient",
|
|
18
|
+
Date: "Kuupäev",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Kokku",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Tegevused",
|
|
23
|
+
"Open menu": "Ava menüü",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Lisa makse",
|
|
27
|
+
"Download PDF": "Laadi PDF alla",
|
|
28
|
+
"Downloading...": "Allalaadimine...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Arve",
|
|
32
|
+
"Failed to download PDF": "PDF-i allalaadimine ebaõnnestus",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Kuupäevavahemik",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Olek",
|
|
40
|
+
Paid: "Makstud",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Üle tähtaja",
|
|
43
|
+
Voided: "Tühistatud",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Lõpeta jagamine",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Number",
|
|
17
|
+
Customer: "Asiakas",
|
|
18
|
+
Date: "Päivämäärä",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Total",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Toiminnot",
|
|
23
|
+
"Open menu": "Avaa valikko",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Add Payment",
|
|
27
|
+
"Download PDF": "Lataa PDF",
|
|
28
|
+
"Downloading...": "Ladataan...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Lasku",
|
|
32
|
+
"Failed to download PDF": "PDF:n lataaminen epäonnistui",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Date Range",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Tila",
|
|
40
|
+
Paid: "Maksettu",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Overdue",
|
|
43
|
+
Voided: "Voided",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Poista jakaminen",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Númer",
|
|
17
|
+
Customer: "Viðskiptavinur",
|
|
18
|
+
Date: "Dagsetning",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Samtals",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Aðgerðir",
|
|
23
|
+
"Open menu": "Opna valmynd",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Bæta við greiðslu",
|
|
27
|
+
"Download PDF": "Hlaða niður PDF",
|
|
28
|
+
"Downloading...": "Hleður niður...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Reikningur",
|
|
32
|
+
"Failed to download PDF": "Ekki tókst að hlaða niður PDF",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Dagsetningarbil",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Staða",
|
|
40
|
+
Paid: "Greitt",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Á gjalddaga",
|
|
43
|
+
Voided: "Ógildur",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Hætta deilingu",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Nummer",
|
|
17
|
+
Customer: "Kunde",
|
|
18
|
+
Date: "Dato",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Totalt",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Handlinger",
|
|
23
|
+
"Open menu": "Åpne menyen",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Legg til betaling",
|
|
27
|
+
"Download PDF": "Last ned PDF",
|
|
28
|
+
"Downloading...": "Laster ned...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Faktura",
|
|
32
|
+
"Failed to download PDF": "Kunne ikke laste ned PDF",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Datointervall",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Status",
|
|
40
|
+
Paid: "Betalt",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Forfalt",
|
|
43
|
+
Voided: "Annullert",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Fjern deling",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Your list is empty": "Your invoice list is empty",
|
|
3
|
+
"Get started by creating your first entry": "Get started by creating your first invoice",
|
|
4
|
+
"Create new": "Create invoice",
|
|
5
|
+
"No results found": "No invoices found",
|
|
6
|
+
selected: "selected",
|
|
7
|
+
"Export PDFs": "Export PDFs",
|
|
8
|
+
"Deselect all": "Deselect all",
|
|
9
|
+
Void: "Void",
|
|
10
|
+
"Partially Paid": "Partially Paid",
|
|
11
|
+
"FURS fiscalization failed": "FURS fiscalization failed",
|
|
12
|
+
"FINA fiscalization failed": "FINA fiscalization failed",
|
|
13
|
+
"Retry Fiscalization": "Retry Fiscalization",
|
|
14
|
+
"Some selected documents don't have failed fiscalization": "Some selected documents don't have failed fiscalization",
|
|
15
|
+
Draft: "Draft",
|
|
16
|
+
Number: "Číslo",
|
|
17
|
+
Customer: "Zákazník",
|
|
18
|
+
Date: "Dátum",
|
|
19
|
+
"Date Due": "Date Due",
|
|
20
|
+
Total: "Celkom",
|
|
21
|
+
"Total with Tax": "Total with Tax",
|
|
22
|
+
Actions: "Akcie",
|
|
23
|
+
"Open menu": "Otvoriť menu",
|
|
24
|
+
"Copy invoice ID": "Copy invoice ID",
|
|
25
|
+
"View invoice": "View invoice",
|
|
26
|
+
"Add Payment": "Pridat platbu",
|
|
27
|
+
"Download PDF": "Stiahnut PDF",
|
|
28
|
+
"Downloading...": "Sťahujem...",
|
|
29
|
+
Duplicate: "Duplicate",
|
|
30
|
+
"Send Email": "Send Email",
|
|
31
|
+
Invoice: "Faktura",
|
|
32
|
+
"Failed to download PDF": "Nepodarilo sa stiahnuť PDF",
|
|
33
|
+
"Search...": "Search...",
|
|
34
|
+
Filters: "Filters",
|
|
35
|
+
"Date Range": "Rozsah dátumov",
|
|
36
|
+
From: "From",
|
|
37
|
+
To: "To",
|
|
38
|
+
"Clear filters": "Clear filters",
|
|
39
|
+
Status: "Stav",
|
|
40
|
+
Paid: "Zaplatené",
|
|
41
|
+
Unpaid: "Unpaid",
|
|
42
|
+
Overdue: "Po splatnosti",
|
|
43
|
+
Voided: "Stornovaná",
|
|
44
|
+
"Created At": "Created At",
|
|
45
|
+
Unshare: "Zrušiť zdieľanie",
|
|
46
|
+
"Try adjusting your search criteria": "Try adjusting your search criteria",
|
|
47
|
+
"Clear search": "Clear search",
|
|
48
|
+
"Clear all": "Clear all",
|
|
49
|
+
} as const;
|