@spaceinvoices/react-ui 0.1.1 → 0.4.0
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 +1 -1
- package/registry.json +86 -122
- package/src/components/activities/activity-timeline.tsx +8 -1
- package/src/components/activities/locales/es.ts +30 -0
- package/src/components/activities/locales/fr.ts +30 -0
- package/src/components/activities/locales/hr.ts +30 -0
- package/src/components/activities/locales/it.ts +30 -0
- package/src/components/activities/locales/nl.ts +30 -0
- package/src/components/activities/locales/pl.ts +30 -0
- package/src/components/activities/locales/pt.ts +30 -0
- package/src/components/advance-invoices/advance-invoices.hooks.ts +2 -2
- package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +21 -7
- package/src/components/advance-invoices/create/locales/es.ts +29 -0
- package/src/components/advance-invoices/create/locales/fr.ts +28 -0
- package/src/components/advance-invoices/create/locales/hr.ts +27 -0
- package/src/components/advance-invoices/create/locales/it.ts +29 -0
- package/src/components/advance-invoices/create/locales/nl.ts +28 -0
- package/src/components/advance-invoices/create/locales/pl.ts +28 -0
- package/src/components/advance-invoices/create/locales/pt.ts +29 -0
- package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +3 -3
- package/src/components/advance-invoices/list/list-table.tsx +20 -3
- package/src/components/advance-invoices/list/locales/de.ts +9 -0
- package/src/components/advance-invoices/list/locales/en.ts +8 -0
- package/src/components/advance-invoices/list/locales/es.ts +41 -0
- package/src/components/advance-invoices/list/locales/fr.ts +41 -0
- package/src/components/advance-invoices/list/locales/hr.ts +41 -0
- package/src/components/advance-invoices/list/locales/it.ts +41 -0
- package/src/components/advance-invoices/list/locales/nl.ts +41 -0
- package/src/components/advance-invoices/list/locales/pl.ts +41 -0
- package/src/components/advance-invoices/list/locales/pt.ts +41 -0
- package/src/components/advance-invoices/list/locales/sl.ts +9 -0
- package/src/components/credit-notes/create/create-credit-note-form.tsx +19 -5
- package/src/components/credit-notes/create/locales/es.ts +68 -0
- package/src/components/credit-notes/create/locales/fr.ts +69 -0
- package/src/components/credit-notes/create/locales/hr.ts +68 -0
- package/src/components/credit-notes/create/locales/it.ts +68 -0
- package/src/components/credit-notes/create/locales/nl.ts +69 -0
- package/src/components/credit-notes/create/locales/pl.ts +68 -0
- package/src/components/credit-notes/create/locales/pt.ts +68 -0
- package/src/components/credit-notes/list/list-table.tsx +25 -8
- package/src/components/credit-notes/list/locales/de.ts +10 -2
- package/src/components/credit-notes/list/locales/en.ts +8 -0
- package/src/components/credit-notes/list/locales/es.ts +41 -0
- package/src/components/credit-notes/list/locales/fr.ts +41 -0
- package/src/components/credit-notes/list/locales/hr.ts +41 -0
- package/src/components/credit-notes/list/locales/it.ts +41 -0
- package/src/components/credit-notes/list/locales/nl.ts +41 -0
- package/src/components/credit-notes/list/locales/pl.ts +41 -0
- package/src/components/credit-notes/list/locales/pt.ts +41 -0
- package/src/components/credit-notes/list/locales/sl.ts +10 -2
- package/src/components/customers/create-customer-form/create-customer-form.tsx +21 -3
- package/src/components/customers/create-customer-form/locales/de.ts +1 -0
- package/src/components/customers/create-customer-form/locales/es.ts +21 -0
- package/src/components/customers/create-customer-form/locales/fr.ts +21 -0
- package/src/components/customers/create-customer-form/locales/hr.ts +21 -0
- package/src/components/customers/create-customer-form/locales/it.ts +21 -0
- package/src/components/customers/create-customer-form/locales/nl.ts +21 -0
- package/src/components/customers/create-customer-form/locales/pl.ts +21 -0
- package/src/components/customers/create-customer-form/locales/pt.ts +21 -0
- package/src/components/customers/create-customer-form/locales/sl.ts +1 -0
- package/src/components/customers/customer-list-table/customer-list-row-actions.tsx +72 -16
- package/src/components/customers/customer-list-table/customer-list-table.tsx +35 -2
- package/src/components/customers/customer-list-table/locales/de.ts +9 -0
- package/src/components/customers/customer-list-table/locales/en.ts +10 -0
- package/src/components/customers/customer-list-table/locales/es.ts +25 -0
- package/src/components/customers/customer-list-table/locales/fr.ts +25 -0
- package/src/components/customers/customer-list-table/locales/hr.ts +25 -0
- package/src/components/customers/customer-list-table/locales/it.ts +25 -0
- package/src/components/customers/customer-list-table/locales/nl.ts +25 -0
- package/src/components/customers/customer-list-table/locales/pl.ts +25 -0
- package/src/components/customers/customer-list-table/locales/pt.ts +25 -0
- package/src/components/customers/customer-list-table/locales/sl.ts +9 -0
- package/src/components/customers/customers.hooks.test.ts +8 -8
- package/src/components/customers/customers.hooks.ts +6 -1
- package/src/components/customers/edit-customer-form/edit-customer-form.tsx +143 -0
- package/src/components/customers/edit-customer-form/locales/de.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/es.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/fr.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/hr.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/it.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/nl.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/pl.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/pt.ts +13 -0
- package/src/components/customers/edit-customer-form/locales/sl.ts +13 -0
- package/src/components/customers/index.ts +1 -0
- package/src/components/dashboard/collection-rate-card/collection-rate-card.tsx +9 -1
- package/src/components/dashboard/collection-rate-card/locales/de.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/es.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/fr.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/hr.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/it.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/nl.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/pl.ts +3 -0
- package/src/components/dashboard/collection-rate-card/locales/pt.ts +3 -0
- package/src/components/dashboard/invoice-status-chart/invoice-status-chart.tsx +9 -1
- package/src/components/dashboard/invoice-status-chart/locales/de.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/es.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/fr.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/hr.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/it.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/nl.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/pl.ts +9 -0
- package/src/components/dashboard/invoice-status-chart/locales/pt.ts +9 -0
- package/src/components/dashboard/payment-methods-chart/locales/de.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/es.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/fr.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/hr.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/it.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/nl.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/pl.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/locales/pt.ts +12 -0
- package/src/components/dashboard/payment-methods-chart/payment-methods-chart.tsx +9 -1
- package/src/components/dashboard/payment-trend-chart/locales/de.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/es.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/fr.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/hr.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/it.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/nl.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/pl.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/locales/pt.ts +5 -0
- package/src/components/dashboard/payment-trend-chart/payment-trend-chart.tsx +10 -2
- package/src/components/dashboard/revenue-trend-chart/locales/de.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/es.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/fr.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/hr.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/it.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/nl.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/pl.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/locales/pt.ts +5 -0
- package/src/components/dashboard/revenue-trend-chart/revenue-trend-chart.tsx +10 -2
- package/src/components/dashboard/top-customers-chart/locales/de.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/es.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/fr.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/hr.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/it.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/nl.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/pl.ts +5 -0
- package/src/components/dashboard/top-customers-chart/locales/pt.ts +5 -0
- package/src/components/dashboard/top-customers-chart/top-customers-chart.tsx +10 -2
- package/src/components/documents/create/document-add-item-form.tsx +1 -1
- package/src/components/documents/create/form-types.ts +1 -5
- package/src/components/documents/create/mark-as-paid-section.tsx +60 -23
- package/src/components/documents/create/prepare-document-submission.test.ts +2 -2
- package/src/components/documents/create/prepare-document-submission.ts +12 -7
- package/src/components/documents/create/prepare-preview-data.test.ts +1 -1
- package/src/components/documents/documents.hooks.ts +5 -48
- package/src/components/documents/shared/document-preview-display.tsx +12 -1
- package/src/components/documents/view/document-actions-bar.tsx +28 -13
- package/src/components/documents/view/document-activities-list.tsx +166 -0
- package/src/components/documents/view/document-details-card.tsx +14 -7
- package/src/components/documents/view/document-payments-list.tsx +8 -1
- package/src/components/documents/view/index.ts +1 -0
- package/src/components/documents/view/locales/de.ts +32 -0
- package/src/components/documents/view/locales/es.ts +115 -0
- package/src/components/documents/view/locales/fr.ts +115 -0
- package/src/components/documents/view/locales/hr.ts +115 -0
- package/src/components/documents/view/locales/it.ts +115 -0
- package/src/components/documents/view/locales/nl.ts +116 -0
- package/src/components/documents/view/locales/pl.ts +115 -0
- package/src/components/documents/view/locales/pt.ts +115 -0
- package/src/components/documents/view/locales/sl.ts +32 -0
- package/src/components/entities/create-entity-form.tsx +12 -2
- package/src/components/entities/entity-settings-form/entity-settings-form.tsx +18 -0
- package/src/components/entities/entity-settings-form/locales/de.ts +3 -1
- package/src/components/entities/entity-settings-form/locales/es.ts +197 -0
- package/src/components/entities/entity-settings-form/locales/fr.ts +196 -0
- package/src/components/entities/entity-settings-form/locales/hr.ts +189 -0
- package/src/components/entities/entity-settings-form/locales/it.ts +195 -0
- package/src/components/entities/entity-settings-form/locales/nl.ts +192 -0
- package/src/components/entities/entity-settings-form/locales/pl.ts +193 -0
- package/src/components/entities/entity-settings-form/locales/pt.ts +194 -0
- package/src/components/entities/entity-settings-form/locales/sl.ts +2 -0
- package/src/components/entities/fina-settings-form/fina-settings-form.tsx +461 -0
- package/src/components/entities/fina-settings-form/fina-settings.hooks.ts +215 -0
- package/src/components/entities/fina-settings-form/index.ts +3 -0
- package/src/components/entities/fina-settings-form/locales/de.ts +148 -0
- package/src/components/entities/fina-settings-form/locales/en.ts +145 -0
- package/src/components/entities/fina-settings-form/locales/es.ts +146 -0
- package/src/components/entities/fina-settings-form/locales/fr.ts +145 -0
- package/src/components/entities/fina-settings-form/locales/hr.ts +147 -0
- package/src/components/entities/fina-settings-form/locales/it.ts +147 -0
- package/src/components/entities/fina-settings-form/locales/nl.ts +147 -0
- package/src/components/entities/fina-settings-form/locales/pl.ts +145 -0
- package/src/components/entities/fina-settings-form/locales/pt.ts +147 -0
- package/src/components/entities/fina-settings-form/locales/sl.ts +147 -0
- package/src/components/entities/fina-settings-form/sections/certificate-settings-section.tsx +233 -0
- package/src/components/entities/fina-settings-form/sections/premises-management-section.tsx +363 -0
- package/src/components/entities/fina-settings-form/sections/register-premise-dialog.tsx +395 -0
- package/src/components/entities/furs-settings-form/furs-settings-form.tsx +24 -9
- package/src/components/entities/furs-settings-form/furs-settings.hooks.ts +15 -11
- package/src/components/entities/furs-settings-form/locales/de.ts +54 -88
- package/src/components/entities/furs-settings-form/locales/en.ts +15 -0
- package/src/components/entities/furs-settings-form/locales/es.ts +198 -0
- package/src/components/entities/furs-settings-form/locales/fr.ts +198 -0
- package/src/components/entities/furs-settings-form/locales/hr.ts +197 -0
- package/src/components/entities/furs-settings-form/locales/it.ts +198 -0
- package/src/components/entities/furs-settings-form/locales/nl.ts +197 -0
- package/src/components/entities/furs-settings-form/locales/pl.ts +196 -0
- package/src/components/entities/furs-settings-form/locales/pt.ts +197 -0
- package/src/components/entities/furs-settings-form/locales/sl.ts +16 -0
- package/src/components/entities/furs-settings-form/sections/certificate-settings-section.tsx +19 -4
- package/src/components/entities/furs-settings-form/sections/general-settings-section.tsx +121 -1
- package/src/components/entities/furs-settings-form/sections/register-premise-dialog.tsx +17 -66
- package/src/components/entities/keys.ts +1 -1
- package/src/components/entities/settings/company-settings-form.tsx +28 -0
- package/src/components/entities/settings/pdf-template-selector/locales/es.ts +18 -0
- package/src/components/entities/settings/pdf-template-selector/locales/fr.ts +18 -0
- package/src/components/entities/settings/pdf-template-selector/locales/hr.ts +18 -0
- package/src/components/entities/settings/pdf-template-selector/locales/it.ts +18 -0
- package/src/components/entities/settings/pdf-template-selector/locales/nl.ts +17 -0
- package/src/components/entities/settings/pdf-template-selector/locales/pl.ts +18 -0
- package/src/components/entities/settings/pdf-template-selector/locales/pt.ts +18 -0
- package/src/components/estimates/create/create-estimate-form.tsx +14 -0
- package/src/components/estimates/create/locales/es.ts +57 -0
- package/src/components/estimates/create/locales/fr.ts +58 -0
- package/src/components/estimates/create/locales/hr.ts +57 -0
- package/src/components/estimates/create/locales/it.ts +57 -0
- package/src/components/estimates/create/locales/nl.ts +58 -0
- package/src/components/estimates/create/locales/pl.ts +57 -0
- package/src/components/estimates/create/locales/pt.ts +58 -0
- package/src/components/estimates/create/prepare-estimate-submission.ts +1 -1
- package/src/components/estimates/list/list-table.tsx +20 -3
- package/src/components/estimates/list/locales/de.ts +9 -0
- package/src/components/estimates/list/locales/en.ts +8 -0
- package/src/components/estimates/list/locales/es.ts +32 -0
- package/src/components/estimates/list/locales/fr.ts +32 -0
- package/src/components/estimates/list/locales/hr.ts +32 -0
- package/src/components/estimates/list/locales/it.ts +32 -0
- package/src/components/estimates/list/locales/nl.ts +32 -0
- package/src/components/estimates/list/locales/pl.ts +32 -0
- package/src/components/estimates/list/locales/pt.ts +32 -0
- package/src/components/estimates/list/locales/sl.ts +9 -0
- package/src/components/export/document-export-form.tsx +0 -2
- package/src/components/invoices/create/create-invoice-form.tsx +24 -10
- package/src/components/invoices/create/eslog-validation.test.ts +2 -0
- package/src/components/invoices/create/locales/es.ts +103 -0
- package/src/components/invoices/create/locales/fr.ts +105 -0
- package/src/components/invoices/create/locales/hr.ts +103 -0
- package/src/components/invoices/create/locales/it.ts +105 -0
- package/src/components/invoices/create/locales/nl.ts +104 -0
- package/src/components/invoices/create/locales/pl.ts +104 -0
- package/src/components/invoices/create/locales/pt.ts +105 -0
- package/src/components/invoices/create/prepare-invoice-submission.test.ts +54 -55
- package/src/components/invoices/create/prepare-invoice-submission.ts +3 -3
- package/src/components/invoices/index.ts +1 -1
- package/src/components/invoices/list/list-table.tsx +20 -3
- package/src/components/invoices/list/locales/de.ts +9 -0
- package/src/components/invoices/list/locales/en.ts +8 -0
- package/src/components/invoices/list/locales/es.ts +42 -0
- package/src/components/invoices/list/locales/fr.ts +42 -0
- package/src/components/invoices/list/locales/hr.ts +42 -0
- package/src/components/invoices/list/locales/it.ts +42 -0
- package/src/components/invoices/list/locales/nl.ts +42 -0
- package/src/components/invoices/list/locales/pl.ts +42 -0
- package/src/components/invoices/list/locales/pt.ts +42 -0
- package/src/components/invoices/list/locales/sl.ts +9 -0
- package/src/components/invoices/send-email-dialog/locales/es.ts +18 -0
- package/src/components/invoices/send-email-dialog/locales/fr.ts +18 -0
- package/src/components/invoices/send-email-dialog/locales/hr.ts +17 -0
- package/src/components/invoices/send-email-dialog/locales/it.ts +18 -0
- package/src/components/invoices/send-email-dialog/locales/nl.ts +18 -0
- package/src/components/invoices/send-email-dialog/locales/pl.ts +18 -0
- package/src/components/invoices/send-email-dialog/locales/pt.ts +18 -0
- package/src/components/invoices/send-email-dialog/send-email-dialog.tsx +22 -14
- package/src/components/invoices/shared/scaled-document-preview.tsx +1 -0
- package/src/components/invoices/view/eslog-info-display.tsx +1 -0
- package/src/components/invoices/view/fiscalization-status-card.tsx +121 -0
- package/src/components/items/create-item-form/create-item-form.tsx +14 -0
- package/src/components/items/create-item-form/locales/en.ts +5 -0
- package/src/components/items/create-item-form/locales/es.ts +14 -0
- package/src/components/items/create-item-form/locales/fr.ts +14 -0
- package/src/components/items/create-item-form/locales/hr.ts +14 -0
- package/src/components/items/create-item-form/locales/it.ts +14 -0
- package/src/components/items/create-item-form/locales/nl.ts +14 -0
- package/src/components/items/create-item-form/locales/pl.ts +14 -0
- package/src/components/items/create-item-form/locales/pt.ts +14 -0
- package/src/components/items/edit-item-form/edit-item-form.tsx +170 -0
- package/src/components/items/edit-item-form/locales/de.ts +12 -0
- package/src/components/items/edit-item-form/locales/es.ts +12 -0
- package/src/components/items/edit-item-form/locales/fr.ts +12 -0
- package/src/components/items/edit-item-form/locales/hr.ts +12 -0
- package/src/components/items/edit-item-form/locales/it.ts +12 -0
- package/src/components/items/edit-item-form/locales/nl.ts +12 -0
- package/src/components/items/edit-item-form/locales/pl.ts +12 -0
- package/src/components/items/edit-item-form/locales/pt.ts +12 -0
- package/src/components/items/edit-item-form/locales/sl.ts +12 -0
- package/src/components/items/item-list-table/item-list-table.tsx +20 -13
- package/src/components/items/item-list-table/locales/de.ts +6 -0
- package/src/components/items/item-list-table/locales/en.ts +5 -0
- package/src/components/items/item-list-table/locales/es.ts +16 -0
- package/src/components/items/item-list-table/locales/fr.ts +16 -0
- package/src/components/items/item-list-table/locales/hr.ts +16 -0
- package/src/components/items/item-list-table/locales/it.ts +16 -0
- package/src/components/items/item-list-table/locales/nl.ts +16 -0
- package/src/components/items/item-list-table/locales/pl.ts +16 -0
- package/src/components/items/item-list-table/locales/pt.ts +16 -0
- package/src/components/items/item-list-table/locales/sl.ts +6 -0
- package/src/components/items/items.hooks.ts +7 -2
- package/src/components/payments/create-payment-form/create-payment-form.tsx +14 -0
- package/src/components/payments/create-payment-form/locales/es.ts +20 -0
- package/src/components/payments/create-payment-form/locales/fr.ts +20 -0
- package/src/components/payments/create-payment-form/locales/hr.ts +20 -0
- package/src/components/payments/create-payment-form/locales/it.ts +20 -0
- package/src/components/payments/create-payment-form/locales/nl.ts +20 -0
- package/src/components/payments/create-payment-form/locales/pl.ts +20 -0
- package/src/components/payments/create-payment-form/locales/pt.ts +20 -0
- package/src/components/payments/edit-payment-form/edit-payment-form.tsx +18 -2
- package/src/components/payments/edit-payment-form/locales/es.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/fr.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/hr.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/it.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/nl.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/pl.ts +20 -0
- package/src/components/payments/edit-payment-form/locales/pt.ts +20 -0
- package/src/components/payments/list/list-row-actions.tsx +14 -0
- package/src/components/payments/list/list-table.tsx +21 -2
- package/src/components/payments/list/locales/de.ts +6 -0
- package/src/components/payments/list/locales/en.ts +7 -0
- package/src/components/payments/list/locales/es.ts +25 -0
- package/src/components/payments/list/locales/fr.ts +25 -0
- package/src/components/payments/list/locales/hr.ts +25 -0
- package/src/components/payments/list/locales/it.ts +25 -0
- package/src/components/payments/list/locales/nl.ts +25 -0
- package/src/components/payments/list/locales/pl.ts +25 -0
- package/src/components/payments/list/locales/pt.ts +25 -0
- package/src/components/payments/list/locales/sl.ts +6 -0
- package/src/components/payments/payments.hooks.ts +7 -2
- package/src/components/request-logs/index.ts +1 -1
- package/src/components/table/data-table.tsx +8 -3
- package/src/components/table/filter-panel.tsx +4 -4
- package/src/components/table/hooks/use-table-query.ts +3 -0
- package/src/components/table/table-empty-state.tsx +11 -4
- package/src/components/table/table-no-results.tsx +6 -4
- package/src/components/table/types.ts +2 -2
- package/src/components/tax-reports/kir-export-form.tsx +0 -1
- package/src/components/taxes/create-tax-form/create-tax-form.tsx +14 -0
- package/src/components/taxes/create-tax-form/locales/en.ts +1 -0
- package/src/components/taxes/create-tax-form/locales/es.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/fr.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/hr.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/it.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/nl.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/pl.ts +8 -0
- package/src/components/taxes/create-tax-form/locales/pt.ts +8 -0
- package/src/components/taxes/edit-tax-form/edit-tax-form.tsx +119 -0
- package/src/components/taxes/edit-tax-form/locales/de.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/es.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/fr.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/hr.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/it.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/nl.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/pl.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/pt.ts +6 -0
- package/src/components/taxes/edit-tax-form/locales/sl.ts +6 -0
- package/src/components/taxes/tax-list-table/locales/de.ts +6 -0
- package/src/components/taxes/tax-list-table/locales/en.ts +6 -0
- package/src/components/taxes/tax-list-table/locales/es.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/fr.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/hr.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/it.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/nl.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/pl.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/pt.ts +17 -0
- package/src/components/taxes/tax-list-table/locales/sl.ts +6 -0
- package/src/components/taxes/tax-list-table/tax-list-table.tsx +18 -0
- package/src/components/taxes/taxes.hooks.ts +12 -7
- package/src/components/ui/tooltip.tsx +2 -2
- package/src/components/wl-subscription/locked-feature.tsx +1 -0
- package/src/components/wl-subscription/upgrade-modal.tsx +1 -0
- package/src/generated/schemas/acceptentityinvitation_body.ts +17 -0
- package/src/generated/schemas/addentityuser_body.ts +18 -0
- package/src/generated/schemas/advanceinvoice.ts +184 -12
- package/src/generated/schemas/creditnote.ts +99 -127
- package/src/generated/schemas/customadvanceinvoice.ts +246 -0
- package/src/generated/schemas/customcreditnote.ts +237 -0
- package/src/generated/schemas/customer.ts +26 -0
- package/src/generated/schemas/customestimate.ts +181 -0
- package/src/generated/schemas/custominvoice.ts +237 -0
- package/src/generated/schemas/entity.ts +66 -7
- package/src/generated/schemas/entityuserrole.ts +19 -0
- package/src/generated/schemas/estimate.ts +149 -1
- package/src/generated/schemas/finasettings.ts +25 -0
- package/src/generated/schemas/furssettings.ts +1 -2
- package/src/generated/schemas/index.ts +24 -5
- package/src/generated/schemas/invoice.ts +224 -22
- package/src/generated/schemas/me.ts +22 -0
- package/src/generated/schemas/registerfinamovablepremise_body.ts +26 -0
- package/src/generated/schemas/registerfinarealestatepremise_body.ts +37 -0
- package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +342 -0
- package/src/generated/schemas/rendercreditnotepreview_body.ts +344 -0
- package/src/generated/schemas/renderestimatepreview_body.ts +284 -0
- package/src/generated/schemas/renderinvoicepreview_body.ts +344 -0
- package/src/generated/schemas/senddocument_body.ts +23 -0
- package/src/generated/schemas/sendemail_body.ts +8 -10
- package/src/generated/schemas/stripeappconnect_body.ts +18 -0
- package/src/generated/schemas/stripeappcreateinvoice_body.ts +20 -0
- package/src/generated/schemas/stripeappupdatesettings_body.ts +26 -0
- package/src/generated/schemas/webhook.ts +143 -0
- package/src/hooks/create-resource-hooks.ts +85 -1
- package/src/hooks/use-duplicate-document.ts +19 -11
- package/src/hooks/use-next-document-number.ts +1 -1
- package/src/hooks/use-resource-mutation.ts +4 -3
- package/src/lib/browser-cookies.ts +12 -1
- package/src/lib/cookies.ts +2 -2
- package/src/lib/translation.ts +1 -1
- package/src/providers/entities-provider.tsx +105 -39
- package/src/providers/sdk-provider.tsx +7 -3
- package/src/providers/white-label-provider.tsx +5 -2
- package/src/providers/wl-subscription-provider.tsx +1 -0
- package/src/components/invoices/view/furs-info-display.tsx +0 -213
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Crear presupuesto",
|
|
3
|
+
"Create Quote": "Crear oferta",
|
|
4
|
+
Estimate: "Presupuesto",
|
|
5
|
+
Quote: "Oferta",
|
|
6
|
+
"Click to switch to Quote": "Haga clic para cambiar a Oferta",
|
|
7
|
+
"Click to switch to Estimate": "Haga clic para cambiar a Presupuesto",
|
|
8
|
+
Details: "Detalles",
|
|
9
|
+
Number: "Número",
|
|
10
|
+
Date: "Fecha",
|
|
11
|
+
"Due Date": "Fecha de vencimiento",
|
|
12
|
+
"Valid Until": "Válido hasta",
|
|
13
|
+
Recipient: "Destinatario",
|
|
14
|
+
"Search or create customer...": "Buscar o crear cliente...",
|
|
15
|
+
Clear: "Limpiar",
|
|
16
|
+
Name: "Nombre",
|
|
17
|
+
Address: "Dirección",
|
|
18
|
+
"Address 2": "Dirección 2",
|
|
19
|
+
"Post Code": "Código postal",
|
|
20
|
+
City: "Ciudad",
|
|
21
|
+
State: "Provincia",
|
|
22
|
+
Country: "País",
|
|
23
|
+
"Tax Number": "Número fiscal",
|
|
24
|
+
Items: "Artículos",
|
|
25
|
+
"Add item": "Añadir artículo",
|
|
26
|
+
Tax: "Impuesto",
|
|
27
|
+
"Tax rate": "Tasa de impuesto",
|
|
28
|
+
"Add tax": "Añadir impuesto",
|
|
29
|
+
"Select tax...": "Seleccionar impuesto...",
|
|
30
|
+
"Loading...": "Cargando...",
|
|
31
|
+
"No taxes found": "No se encontraron impuestos",
|
|
32
|
+
"Add new tax...": "Añadir nuevo impuesto...",
|
|
33
|
+
Note: "Nota",
|
|
34
|
+
"Insert variable": "Insertar variable",
|
|
35
|
+
"Add payment instructions, terms, or other notes...": "Añada instrucciones de pago, condiciones u otras notas...",
|
|
36
|
+
"Payment Terms": "Condiciones de pago",
|
|
37
|
+
"Add payment terms...": "Añada condiciones de pago...",
|
|
38
|
+
Quantity: "Cantidad",
|
|
39
|
+
Price: "Precio",
|
|
40
|
+
Unit: "Unidad",
|
|
41
|
+
Discount: "Descuento",
|
|
42
|
+
Description: "Descripción",
|
|
43
|
+
Save: "Guardar",
|
|
44
|
+
"Save as Draft": "Guardar como borrador",
|
|
45
|
+
"Pick a date": "Seleccionar una fecha",
|
|
46
|
+
Currency: "Moneda",
|
|
47
|
+
"Select currency": "Seleccionar moneda",
|
|
48
|
+
"Percentage discount": "Descuento porcentual",
|
|
49
|
+
"Fixed amount discount": "Descuento fijo",
|
|
50
|
+
Percentage: "Porcentaje",
|
|
51
|
+
"Fixed amount": "Importe fijo",
|
|
52
|
+
"Taxes disabled": "Impuestos desactivados",
|
|
53
|
+
"Gross price": "Precio bruto",
|
|
54
|
+
"Net price": "Precio neto",
|
|
55
|
+
"Gross price (tax included)": "Precio bruto (impuestos incluidos)",
|
|
56
|
+
"Net price (before tax)": "Precio neto (antes de impuestos)",
|
|
57
|
+
} as const;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Créer un devis",
|
|
3
|
+
"Create Quote": "Créer une offre",
|
|
4
|
+
Estimate: "Devis",
|
|
5
|
+
Quote: "Offre",
|
|
6
|
+
"Click to switch to Quote": "Cliquez pour passer à Offre",
|
|
7
|
+
"Click to switch to Estimate": "Cliquez pour passer à Devis",
|
|
8
|
+
Details: "Détails",
|
|
9
|
+
Number: "Numéro",
|
|
10
|
+
Date: "Date",
|
|
11
|
+
"Due Date": "Date d'échéance",
|
|
12
|
+
"Valid Until": "Valable jusqu'au",
|
|
13
|
+
Recipient: "Destinataire",
|
|
14
|
+
"Search or create customer...": "Rechercher ou créer un client...",
|
|
15
|
+
Clear: "Effacer",
|
|
16
|
+
Name: "Nom",
|
|
17
|
+
Address: "Adresse",
|
|
18
|
+
"Address 2": "Adresse 2",
|
|
19
|
+
"Post Code": "Code postal",
|
|
20
|
+
City: "Ville",
|
|
21
|
+
State: "Région",
|
|
22
|
+
Country: "Pays",
|
|
23
|
+
"Tax Number": "Numéro de TVA",
|
|
24
|
+
Items: "Articles",
|
|
25
|
+
"Add item": "Ajouter un article",
|
|
26
|
+
Tax: "Taxe",
|
|
27
|
+
"Tax rate": "Taux de taxe",
|
|
28
|
+
"Add tax": "Ajouter une taxe",
|
|
29
|
+
"Select tax...": "Sélectionner une taxe...",
|
|
30
|
+
"Loading...": "Chargement...",
|
|
31
|
+
"No taxes found": "Aucune taxe trouvée",
|
|
32
|
+
"Add new tax...": "Ajouter une nouvelle taxe...",
|
|
33
|
+
Note: "Note",
|
|
34
|
+
"Insert variable": "Insérer une variable",
|
|
35
|
+
"Add payment instructions, terms, or other notes...":
|
|
36
|
+
"Ajoutez des instructions de paiement, des conditions ou d'autres notes...",
|
|
37
|
+
"Payment Terms": "Conditions de paiement",
|
|
38
|
+
"Add payment terms...": "Ajoutez des conditions de paiement...",
|
|
39
|
+
Quantity: "Quantité",
|
|
40
|
+
Price: "Prix",
|
|
41
|
+
Unit: "Unité",
|
|
42
|
+
Discount: "Remise",
|
|
43
|
+
Description: "Description",
|
|
44
|
+
Save: "Enregistrer",
|
|
45
|
+
"Save as Draft": "Enregistrer comme brouillon",
|
|
46
|
+
"Pick a date": "Choisir une date",
|
|
47
|
+
Currency: "Devise",
|
|
48
|
+
"Select currency": "Sélectionner la devise",
|
|
49
|
+
"Percentage discount": "Remise en pourcentage",
|
|
50
|
+
"Fixed amount discount": "Remise fixe",
|
|
51
|
+
Percentage: "Pourcentage",
|
|
52
|
+
"Fixed amount": "Montant fixe",
|
|
53
|
+
"Taxes disabled": "Taxes désactivées",
|
|
54
|
+
"Gross price": "Prix brut",
|
|
55
|
+
"Net price": "Prix net",
|
|
56
|
+
"Gross price (tax included)": "Prix brut (taxes incluses)",
|
|
57
|
+
"Net price (before tax)": "Prix net (avant taxes)",
|
|
58
|
+
} as const;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Kreiraj predračun",
|
|
3
|
+
"Create Quote": "Kreiraj ponudu",
|
|
4
|
+
Estimate: "Predračun",
|
|
5
|
+
Quote: "Ponuda",
|
|
6
|
+
"Click to switch to Quote": "Kliknite za prebacivanje na Ponudu",
|
|
7
|
+
"Click to switch to Estimate": "Kliknite za prebacivanje na Predračun",
|
|
8
|
+
Details: "Pojedinosti",
|
|
9
|
+
Number: "Broj",
|
|
10
|
+
Date: "Datum",
|
|
11
|
+
"Due Date": "Rok plaćanja",
|
|
12
|
+
"Valid Until": "Vrijedi do",
|
|
13
|
+
Recipient: "Primatelj",
|
|
14
|
+
"Search or create customer...": "Pretraži ili kreiraj kupca...",
|
|
15
|
+
Clear: "Očisti",
|
|
16
|
+
Name: "Naziv",
|
|
17
|
+
Address: "Adresa",
|
|
18
|
+
"Address 2": "Adresa 2",
|
|
19
|
+
"Post Code": "Poštanski broj",
|
|
20
|
+
City: "Grad",
|
|
21
|
+
State: "Županija",
|
|
22
|
+
Country: "Država",
|
|
23
|
+
"Tax Number": "OIB",
|
|
24
|
+
Items: "Stavke",
|
|
25
|
+
"Add item": "Dodaj stavku",
|
|
26
|
+
Tax: "Porez",
|
|
27
|
+
"Tax rate": "Porezna stopa",
|
|
28
|
+
"Add tax": "Dodaj porez",
|
|
29
|
+
"Select tax...": "Odaberi porez...",
|
|
30
|
+
"Loading...": "Učitavanje...",
|
|
31
|
+
"No taxes found": "Nisu pronađeni porezi",
|
|
32
|
+
"Add new tax...": "Dodaj novi porez...",
|
|
33
|
+
Note: "Napomena",
|
|
34
|
+
"Insert variable": "Umetni varijablu",
|
|
35
|
+
"Add payment instructions, terms, or other notes...": "Dodajte upute za plaćanje, uvjete ili druge napomene...",
|
|
36
|
+
"Payment Terms": "Uvjeti plaćanja",
|
|
37
|
+
"Add payment terms...": "Dodajte uvjete plaćanja...",
|
|
38
|
+
Quantity: "Količina",
|
|
39
|
+
Price: "Cijena",
|
|
40
|
+
Unit: "Jedinica",
|
|
41
|
+
Discount: "Popust",
|
|
42
|
+
Description: "Opis",
|
|
43
|
+
Save: "Spremi",
|
|
44
|
+
"Save as Draft": "Spremi kao skicu",
|
|
45
|
+
"Pick a date": "Odaberite datum",
|
|
46
|
+
Currency: "Valuta",
|
|
47
|
+
"Select currency": "Odaberi valutu",
|
|
48
|
+
"Percentage discount": "Postotni popust",
|
|
49
|
+
"Fixed amount discount": "Fiksni popust",
|
|
50
|
+
Percentage: "Postotak",
|
|
51
|
+
"Fixed amount": "Fiksni iznos",
|
|
52
|
+
"Taxes disabled": "Porezi onemogućeni",
|
|
53
|
+
"Gross price": "Bruto cijena",
|
|
54
|
+
"Net price": "Neto cijena",
|
|
55
|
+
"Gross price (tax included)": "Bruto cijena (s porezom)",
|
|
56
|
+
"Net price (before tax)": "Neto cijena (prije poreza)",
|
|
57
|
+
} as const;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Crea preventivo",
|
|
3
|
+
"Create Quote": "Crea offerta",
|
|
4
|
+
Estimate: "Preventivo",
|
|
5
|
+
Quote: "Offerta",
|
|
6
|
+
"Click to switch to Quote": "Clicca per passare a Offerta",
|
|
7
|
+
"Click to switch to Estimate": "Clicca per passare a Preventivo",
|
|
8
|
+
Details: "Dettagli",
|
|
9
|
+
Number: "Numero",
|
|
10
|
+
Date: "Data",
|
|
11
|
+
"Due Date": "Data di scadenza",
|
|
12
|
+
"Valid Until": "Valido fino al",
|
|
13
|
+
Recipient: "Destinatario",
|
|
14
|
+
"Search or create customer...": "Cerca o crea cliente...",
|
|
15
|
+
Clear: "Cancella",
|
|
16
|
+
Name: "Nome",
|
|
17
|
+
Address: "Indirizzo",
|
|
18
|
+
"Address 2": "Indirizzo 2",
|
|
19
|
+
"Post Code": "CAP",
|
|
20
|
+
City: "Città",
|
|
21
|
+
State: "Provincia",
|
|
22
|
+
Country: "Paese",
|
|
23
|
+
"Tax Number": "Partita IVA",
|
|
24
|
+
Items: "Voci",
|
|
25
|
+
"Add item": "Aggiungi voce",
|
|
26
|
+
Tax: "Imposta",
|
|
27
|
+
"Tax rate": "Aliquota fiscale",
|
|
28
|
+
"Add tax": "Aggiungi imposta",
|
|
29
|
+
"Select tax...": "Seleziona imposta...",
|
|
30
|
+
"Loading...": "Caricamento...",
|
|
31
|
+
"No taxes found": "Nessuna imposta trovata",
|
|
32
|
+
"Add new tax...": "Aggiungi nuova imposta...",
|
|
33
|
+
Note: "Nota",
|
|
34
|
+
"Insert variable": "Inserisci variabile",
|
|
35
|
+
"Add payment instructions, terms, or other notes...": "Aggiungi istruzioni di pagamento, condizioni o altre note...",
|
|
36
|
+
"Payment Terms": "Condizioni di pagamento",
|
|
37
|
+
"Add payment terms...": "Aggiungi condizioni di pagamento...",
|
|
38
|
+
Quantity: "Quantità",
|
|
39
|
+
Price: "Prezzo",
|
|
40
|
+
Unit: "Unità",
|
|
41
|
+
Discount: "Sconto",
|
|
42
|
+
Description: "Descrizione",
|
|
43
|
+
Save: "Salva",
|
|
44
|
+
"Save as Draft": "Salva come bozza",
|
|
45
|
+
"Pick a date": "Seleziona una data",
|
|
46
|
+
Currency: "Valuta",
|
|
47
|
+
"Select currency": "Seleziona valuta",
|
|
48
|
+
"Percentage discount": "Sconto percentuale",
|
|
49
|
+
"Fixed amount discount": "Sconto fisso",
|
|
50
|
+
Percentage: "Percentuale",
|
|
51
|
+
"Fixed amount": "Importo fisso",
|
|
52
|
+
"Taxes disabled": "Imposte disabilitate",
|
|
53
|
+
"Gross price": "Prezzo lordo",
|
|
54
|
+
"Net price": "Prezzo netto",
|
|
55
|
+
"Gross price (tax included)": "Prezzo lordo (imposte incluse)",
|
|
56
|
+
"Net price (before tax)": "Prezzo netto (prima delle imposte)",
|
|
57
|
+
} as const;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Offerte aanmaken",
|
|
3
|
+
"Create Quote": "Prijsopgave aanmaken",
|
|
4
|
+
Estimate: "Offerte",
|
|
5
|
+
Quote: "Prijsopgave",
|
|
6
|
+
"Click to switch to Quote": "Klik om naar Prijsopgave te wisselen",
|
|
7
|
+
"Click to switch to Estimate": "Klik om naar Offerte te wisselen",
|
|
8
|
+
Details: "Details",
|
|
9
|
+
Number: "Nummer",
|
|
10
|
+
Date: "Datum",
|
|
11
|
+
"Due Date": "Vervaldatum",
|
|
12
|
+
"Valid Until": "Geldig tot",
|
|
13
|
+
Recipient: "Ontvanger",
|
|
14
|
+
"Search or create customer...": "Klant zoeken of aanmaken...",
|
|
15
|
+
Clear: "Wissen",
|
|
16
|
+
Name: "Naam",
|
|
17
|
+
Address: "Adres",
|
|
18
|
+
"Address 2": "Adres 2",
|
|
19
|
+
"Post Code": "Postcode",
|
|
20
|
+
City: "Stad",
|
|
21
|
+
State: "Provincie",
|
|
22
|
+
Country: "Land",
|
|
23
|
+
"Tax Number": "BTW-nummer",
|
|
24
|
+
Items: "Artikelen",
|
|
25
|
+
"Add item": "Artikel toevoegen",
|
|
26
|
+
Tax: "Belasting",
|
|
27
|
+
"Tax rate": "Belastingtarief",
|
|
28
|
+
"Add tax": "Belasting toevoegen",
|
|
29
|
+
"Select tax...": "Belasting selecteren...",
|
|
30
|
+
"Loading...": "Laden...",
|
|
31
|
+
"No taxes found": "Geen belastingen gevonden",
|
|
32
|
+
"Add new tax...": "Nieuwe belasting toevoegen...",
|
|
33
|
+
Note: "Notitie",
|
|
34
|
+
"Insert variable": "Variabele invoegen",
|
|
35
|
+
"Add payment instructions, terms, or other notes...":
|
|
36
|
+
"Voeg betalingsinstructies, voorwaarden of andere notities toe...",
|
|
37
|
+
"Payment Terms": "Betalingsvoorwaarden",
|
|
38
|
+
"Add payment terms...": "Voeg betalingsvoorwaarden toe...",
|
|
39
|
+
Quantity: "Aantal",
|
|
40
|
+
Price: "Prijs",
|
|
41
|
+
Unit: "Eenheid",
|
|
42
|
+
Discount: "Korting",
|
|
43
|
+
Description: "Beschrijving",
|
|
44
|
+
Save: "Opslaan",
|
|
45
|
+
"Save as Draft": "Opslaan als concept",
|
|
46
|
+
"Pick a date": "Kies een datum",
|
|
47
|
+
Currency: "Valuta",
|
|
48
|
+
"Select currency": "Valuta selecteren",
|
|
49
|
+
"Percentage discount": "Percentuele korting",
|
|
50
|
+
"Fixed amount discount": "Vaste korting",
|
|
51
|
+
Percentage: "Percentage",
|
|
52
|
+
"Fixed amount": "Vast bedrag",
|
|
53
|
+
"Taxes disabled": "Belastingen uitgeschakeld",
|
|
54
|
+
"Gross price": "Brutoprijs",
|
|
55
|
+
"Net price": "Nettoprijs",
|
|
56
|
+
"Gross price (tax included)": "Brutoprijs (inclusief belasting)",
|
|
57
|
+
"Net price (before tax)": "Nettoprijs (exclusief belasting)",
|
|
58
|
+
} as const;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Utwórz kosztorys",
|
|
3
|
+
"Create Quote": "Utwórz ofertę",
|
|
4
|
+
Estimate: "Kosztorys",
|
|
5
|
+
Quote: "Oferta",
|
|
6
|
+
"Click to switch to Quote": "Kliknij, aby przełączyć na Ofertę",
|
|
7
|
+
"Click to switch to Estimate": "Kliknij, aby przełączyć na Kosztorys",
|
|
8
|
+
Details: "Szczegóły",
|
|
9
|
+
Number: "Numer",
|
|
10
|
+
Date: "Data",
|
|
11
|
+
"Due Date": "Termin płatności",
|
|
12
|
+
"Valid Until": "Ważne do",
|
|
13
|
+
Recipient: "Odbiorca",
|
|
14
|
+
"Search or create customer...": "Szukaj lub utwórz klienta...",
|
|
15
|
+
Clear: "Wyczyść",
|
|
16
|
+
Name: "Nazwa",
|
|
17
|
+
Address: "Adres",
|
|
18
|
+
"Address 2": "Adres 2",
|
|
19
|
+
"Post Code": "Kod pocztowy",
|
|
20
|
+
City: "Miasto",
|
|
21
|
+
State: "Województwo",
|
|
22
|
+
Country: "Kraj",
|
|
23
|
+
"Tax Number": "NIP",
|
|
24
|
+
Items: "Pozycje",
|
|
25
|
+
"Add item": "Dodaj pozycję",
|
|
26
|
+
Tax: "Podatek",
|
|
27
|
+
"Tax rate": "Stawka podatkowa",
|
|
28
|
+
"Add tax": "Dodaj podatek",
|
|
29
|
+
"Select tax...": "Wybierz podatek...",
|
|
30
|
+
"Loading...": "Ładowanie...",
|
|
31
|
+
"No taxes found": "Nie znaleziono podatków",
|
|
32
|
+
"Add new tax...": "Dodaj nowy podatek...",
|
|
33
|
+
Note: "Uwaga",
|
|
34
|
+
"Insert variable": "Wstaw zmienną",
|
|
35
|
+
"Add payment instructions, terms, or other notes...": "Dodaj instrukcje płatności, warunki lub inne uwagi...",
|
|
36
|
+
"Payment Terms": "Warunki płatności",
|
|
37
|
+
"Add payment terms...": "Dodaj warunki płatności...",
|
|
38
|
+
Quantity: "Ilość",
|
|
39
|
+
Price: "Cena",
|
|
40
|
+
Unit: "Jednostka",
|
|
41
|
+
Discount: "Rabat",
|
|
42
|
+
Description: "Opis",
|
|
43
|
+
Save: "Zapisz",
|
|
44
|
+
"Save as Draft": "Zapisz jako szkic",
|
|
45
|
+
"Pick a date": "Wybierz datę",
|
|
46
|
+
Currency: "Waluta",
|
|
47
|
+
"Select currency": "Wybierz walutę",
|
|
48
|
+
"Percentage discount": "Rabat procentowy",
|
|
49
|
+
"Fixed amount discount": "Rabat kwotowy",
|
|
50
|
+
Percentage: "Procent",
|
|
51
|
+
"Fixed amount": "Kwota stała",
|
|
52
|
+
"Taxes disabled": "Podatki wyłączone",
|
|
53
|
+
"Gross price": "Cena brutto",
|
|
54
|
+
"Net price": "Cena netto",
|
|
55
|
+
"Gross price (tax included)": "Cena brutto (z podatkiem)",
|
|
56
|
+
"Net price (before tax)": "Cena netto (przed podatkiem)",
|
|
57
|
+
} as const;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"Create Estimate": "Criar orçamento",
|
|
3
|
+
"Create Quote": "Criar proposta",
|
|
4
|
+
Estimate: "Orçamento",
|
|
5
|
+
Quote: "Proposta",
|
|
6
|
+
"Click to switch to Quote": "Clique para mudar para Proposta",
|
|
7
|
+
"Click to switch to Estimate": "Clique para mudar para Orçamento",
|
|
8
|
+
Details: "Detalhes",
|
|
9
|
+
Number: "Número",
|
|
10
|
+
Date: "Data",
|
|
11
|
+
"Due Date": "Data de vencimento",
|
|
12
|
+
"Valid Until": "Válido até",
|
|
13
|
+
Recipient: "Destinatário",
|
|
14
|
+
"Search or create customer...": "Pesquisar ou criar cliente...",
|
|
15
|
+
Clear: "Limpar",
|
|
16
|
+
Name: "Nome",
|
|
17
|
+
Address: "Morada",
|
|
18
|
+
"Address 2": "Morada 2",
|
|
19
|
+
"Post Code": "Código postal",
|
|
20
|
+
City: "Cidade",
|
|
21
|
+
State: "Distrito",
|
|
22
|
+
Country: "País",
|
|
23
|
+
"Tax Number": "Número fiscal",
|
|
24
|
+
Items: "Itens",
|
|
25
|
+
"Add item": "Adicionar item",
|
|
26
|
+
Tax: "Imposto",
|
|
27
|
+
"Tax rate": "Taxa de imposto",
|
|
28
|
+
"Add tax": "Adicionar imposto",
|
|
29
|
+
"Select tax...": "Selecionar imposto...",
|
|
30
|
+
"Loading...": "A carregar...",
|
|
31
|
+
"No taxes found": "Nenhum imposto encontrado",
|
|
32
|
+
"Add new tax...": "Adicionar novo imposto...",
|
|
33
|
+
Note: "Nota",
|
|
34
|
+
"Insert variable": "Inserir variável",
|
|
35
|
+
"Add payment instructions, terms, or other notes...":
|
|
36
|
+
"Adicione instruções de pagamento, condições ou outras notas...",
|
|
37
|
+
"Payment Terms": "Condições de pagamento",
|
|
38
|
+
"Add payment terms...": "Adicione condições de pagamento...",
|
|
39
|
+
Quantity: "Quantidade",
|
|
40
|
+
Price: "Preço",
|
|
41
|
+
Unit: "Unidade",
|
|
42
|
+
Discount: "Desconto",
|
|
43
|
+
Description: "Descrição",
|
|
44
|
+
Save: "Guardar",
|
|
45
|
+
"Save as Draft": "Guardar como rascunho",
|
|
46
|
+
"Pick a date": "Selecionar uma data",
|
|
47
|
+
Currency: "Moeda",
|
|
48
|
+
"Select currency": "Selecionar moeda",
|
|
49
|
+
"Percentage discount": "Desconto percentual",
|
|
50
|
+
"Fixed amount discount": "Desconto fixo",
|
|
51
|
+
Percentage: "Percentagem",
|
|
52
|
+
"Fixed amount": "Montante fixo",
|
|
53
|
+
"Taxes disabled": "Impostos desativados",
|
|
54
|
+
"Gross price": "Preço bruto",
|
|
55
|
+
"Net price": "Preço líquido",
|
|
56
|
+
"Gross price (tax included)": "Preço bruto (impostos incluídos)",
|
|
57
|
+
"Net price (before tax)": "Preço líquido (antes de impostos)",
|
|
58
|
+
} as const;
|
|
@@ -27,7 +27,7 @@ export function prepareEstimateSubmission(
|
|
|
27
27
|
const baseSubmission = prepareDocumentSubmission(values, {
|
|
28
28
|
originalCustomer: options.originalCustomer,
|
|
29
29
|
documentType: "estimate",
|
|
30
|
-
secondaryDate: values.date_valid_till,
|
|
30
|
+
secondaryDate: values.date_valid_till ?? undefined,
|
|
31
31
|
priceModes: options.priceModes,
|
|
32
32
|
isDraft: options.isDraft,
|
|
33
33
|
}) as CreateEstimateRequest;
|
|
@@ -17,11 +17,27 @@ import { useSDK } from "@/ui/providers/sdk-provider";
|
|
|
17
17
|
|
|
18
18
|
import EstimateListRowActions from "./list-row-actions";
|
|
19
19
|
import de from "./locales/de";
|
|
20
|
+
import en from "./locales/en";
|
|
21
|
+
import es from "./locales/es";
|
|
22
|
+
import fr from "./locales/fr";
|
|
23
|
+
import hr from "./locales/hr";
|
|
24
|
+
import it from "./locales/it";
|
|
25
|
+
import nl from "./locales/nl";
|
|
26
|
+
import pl from "./locales/pl";
|
|
27
|
+
import pt from "./locales/pt";
|
|
20
28
|
import sl from "./locales/sl";
|
|
21
29
|
|
|
22
30
|
const translations = {
|
|
31
|
+
en,
|
|
23
32
|
sl,
|
|
24
33
|
de,
|
|
34
|
+
it,
|
|
35
|
+
fr,
|
|
36
|
+
es,
|
|
37
|
+
pt,
|
|
38
|
+
nl,
|
|
39
|
+
pl,
|
|
40
|
+
hr,
|
|
25
41
|
} as const;
|
|
26
42
|
|
|
27
43
|
type EstimateListTableProps = {
|
|
@@ -145,12 +161,13 @@ export default function EstimateListTable({
|
|
|
145
161
|
onDownloadStart={onDownloadStart}
|
|
146
162
|
onDownloadSuccess={onDownloadSuccess}
|
|
147
163
|
onDownloadError={onDownloadError}
|
|
148
|
-
{
|
|
164
|
+
t={t}
|
|
165
|
+
locale={i18nProps.locale}
|
|
149
166
|
/>
|
|
150
167
|
),
|
|
151
168
|
},
|
|
152
169
|
],
|
|
153
|
-
[t, onRowClick, onDuplicate, onDownloadStart, onDownloadSuccess, onDownloadError, i18nProps],
|
|
170
|
+
[t, onRowClick, onDuplicate, onDownloadStart, onDownloadSuccess, onDownloadError, i18nProps.locale],
|
|
154
171
|
);
|
|
155
172
|
|
|
156
173
|
return (
|
|
@@ -161,7 +178,7 @@ export default function EstimateListTable({
|
|
|
161
178
|
onFetch={handleFetch}
|
|
162
179
|
cacheKey="estimates"
|
|
163
180
|
resourceName="estimate"
|
|
164
|
-
createNewLink=
|
|
181
|
+
createNewLink={entityId ? `/app/${entityId}/documents/add/estimate` : undefined}
|
|
165
182
|
entityId={entityId}
|
|
166
183
|
filterConfig={filterConfig}
|
|
167
184
|
t={t}
|
|
@@ -23,4 +23,13 @@ export default {
|
|
|
23
23
|
To: "Bis",
|
|
24
24
|
"Clear filters": "Filter löschen",
|
|
25
25
|
"Created At": "Erstellt am",
|
|
26
|
+
Unshare: "Freigabe aufheben",
|
|
27
|
+
// Empty state translations
|
|
28
|
+
"Your list is empty": "Ihre Angebotsliste ist leer",
|
|
29
|
+
"Get started by creating your first entry": "Erstellen Sie Ihr erstes Angebot",
|
|
30
|
+
"Create new": "Angebot erstellen",
|
|
31
|
+
// No results translations
|
|
32
|
+
"No results found": "Keine Angebote gefunden",
|
|
33
|
+
"Try adjusting your search criteria": "Versuchen Sie, Ihre Suchkriterien anzupassen",
|
|
34
|
+
"Clear search": "Suche zurücksetzen",
|
|
26
35
|
} as const;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
// Empty state translations
|
|
3
|
+
"Your list is empty": "Your estimate list is empty",
|
|
4
|
+
"Get started by creating your first entry": "Get started by creating your first estimate",
|
|
5
|
+
"Create new": "Create estimate",
|
|
6
|
+
// No results translations
|
|
7
|
+
"No results found": "No estimates found",
|
|
8
|
+
} as const;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Draft: "Borrador",
|
|
3
|
+
Number: "Número",
|
|
4
|
+
Customer: "Cliente",
|
|
5
|
+
Date: "Fecha",
|
|
6
|
+
"Valid Until": "Válido hasta",
|
|
7
|
+
Total: "Total",
|
|
8
|
+
"Total with Tax": "Total con impuestos",
|
|
9
|
+
Actions: "Acciones",
|
|
10
|
+
"Open menu": "Abrir menú",
|
|
11
|
+
"Copy estimate ID": "Copiar ID del presupuesto",
|
|
12
|
+
"View estimate": "Ver presupuesto",
|
|
13
|
+
"Download PDF": "Descargar PDF",
|
|
14
|
+
"Downloading...": "Descargando...",
|
|
15
|
+
Duplicate: "Duplicar",
|
|
16
|
+
Estimate: "Presupuesto",
|
|
17
|
+
"Failed to download PDF": "Error al descargar el PDF",
|
|
18
|
+
"Search...": "Buscar...",
|
|
19
|
+
Filters: "Filtros",
|
|
20
|
+
"Date Range": "Rango de fechas",
|
|
21
|
+
From: "Desde",
|
|
22
|
+
To: "Hasta",
|
|
23
|
+
"Clear filters": "Limpiar filtros",
|
|
24
|
+
"Created At": "Creado el",
|
|
25
|
+
Unshare: "Dejar de compartir",
|
|
26
|
+
"Your list is empty": "Su lista de presupuestos está vacía",
|
|
27
|
+
"Get started by creating your first entry": "Comience creando su primer presupuesto",
|
|
28
|
+
"Create new": "Crear presupuesto",
|
|
29
|
+
"No results found": "No se encontraron presupuestos",
|
|
30
|
+
"Try adjusting your search criteria": "Intente ajustar sus criterios de búsqueda",
|
|
31
|
+
"Clear search": "Limpiar búsqueda",
|
|
32
|
+
} as const;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Draft: "Brouillon",
|
|
3
|
+
Number: "Numéro",
|
|
4
|
+
Customer: "Client",
|
|
5
|
+
Date: "Date",
|
|
6
|
+
"Valid Until": "Valable jusqu'au",
|
|
7
|
+
Total: "Total",
|
|
8
|
+
"Total with Tax": "Total TTC",
|
|
9
|
+
Actions: "Actions",
|
|
10
|
+
"Open menu": "Ouvrir le menu",
|
|
11
|
+
"Copy estimate ID": "Copier l'ID du devis",
|
|
12
|
+
"View estimate": "Voir le devis",
|
|
13
|
+
"Download PDF": "Télécharger le PDF",
|
|
14
|
+
"Downloading...": "Téléchargement...",
|
|
15
|
+
Duplicate: "Dupliquer",
|
|
16
|
+
Estimate: "Devis",
|
|
17
|
+
"Failed to download PDF": "Échec du téléchargement du PDF",
|
|
18
|
+
"Search...": "Recherche...",
|
|
19
|
+
Filters: "Filtres",
|
|
20
|
+
"Date Range": "Plage de dates",
|
|
21
|
+
From: "Du",
|
|
22
|
+
To: "Au",
|
|
23
|
+
"Clear filters": "Effacer les filtres",
|
|
24
|
+
"Created At": "Créé le",
|
|
25
|
+
Unshare: "Annuler le partage",
|
|
26
|
+
"Your list is empty": "Votre liste de devis est vide",
|
|
27
|
+
"Get started by creating your first entry": "Commencez par créer votre premier devis",
|
|
28
|
+
"Create new": "Créer un devis",
|
|
29
|
+
"No results found": "Aucun devis trouvé",
|
|
30
|
+
"Try adjusting your search criteria": "Essayez d'ajuster vos critères de recherche",
|
|
31
|
+
"Clear search": "Effacer la recherche",
|
|
32
|
+
} as const;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Draft: "Skica",
|
|
3
|
+
Number: "Broj",
|
|
4
|
+
Customer: "Kupac",
|
|
5
|
+
Date: "Datum",
|
|
6
|
+
"Valid Until": "Vrijedi do",
|
|
7
|
+
Total: "Ukupno",
|
|
8
|
+
"Total with Tax": "Ukupno s PDV-om",
|
|
9
|
+
Actions: "Radnje",
|
|
10
|
+
"Open menu": "Otvori izbornik",
|
|
11
|
+
"Copy estimate ID": "Kopiraj ID predračuna",
|
|
12
|
+
"View estimate": "Pogledaj predračun",
|
|
13
|
+
"Download PDF": "Preuzmi PDF",
|
|
14
|
+
"Downloading...": "Preuzimanje...",
|
|
15
|
+
Duplicate: "Dupliciraj",
|
|
16
|
+
Estimate: "Predračun",
|
|
17
|
+
"Failed to download PDF": "Preuzimanje PDF-a nije uspjelo",
|
|
18
|
+
"Search...": "Pretraži...",
|
|
19
|
+
Filters: "Filtri",
|
|
20
|
+
"Date Range": "Raspon datuma",
|
|
21
|
+
From: "Od",
|
|
22
|
+
To: "Do",
|
|
23
|
+
"Clear filters": "Očisti filtre",
|
|
24
|
+
"Created At": "Kreirano",
|
|
25
|
+
Unshare: "Ukloni dijeljenje",
|
|
26
|
+
"Your list is empty": "Vaš popis predračuna je prazan",
|
|
27
|
+
"Get started by creating your first entry": "Započnite kreiranjem prvog predračuna",
|
|
28
|
+
"Create new": "Kreiraj predračun",
|
|
29
|
+
"No results found": "Nisu pronađeni predračuni",
|
|
30
|
+
"Try adjusting your search criteria": "Pokušajte prilagoditi kriterije pretraživanja",
|
|
31
|
+
"Clear search": "Očisti pretraživanje",
|
|
32
|
+
} as const;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Draft: "Bozza",
|
|
3
|
+
Number: "Numero",
|
|
4
|
+
Customer: "Cliente",
|
|
5
|
+
Date: "Data",
|
|
6
|
+
"Valid Until": "Valido fino al",
|
|
7
|
+
Total: "Totale",
|
|
8
|
+
"Total with Tax": "Totale con IVA",
|
|
9
|
+
Actions: "Azioni",
|
|
10
|
+
"Open menu": "Apri menu",
|
|
11
|
+
"Copy estimate ID": "Copia ID preventivo",
|
|
12
|
+
"View estimate": "Visualizza preventivo",
|
|
13
|
+
"Download PDF": "Scarica PDF",
|
|
14
|
+
"Downloading...": "Download in corso...",
|
|
15
|
+
Duplicate: "Duplica",
|
|
16
|
+
Estimate: "Preventivo",
|
|
17
|
+
"Failed to download PDF": "Download del PDF non riuscito",
|
|
18
|
+
"Search...": "Ricerca...",
|
|
19
|
+
Filters: "Filtri",
|
|
20
|
+
"Date Range": "Intervallo di date",
|
|
21
|
+
From: "Da",
|
|
22
|
+
To: "A",
|
|
23
|
+
"Clear filters": "Cancella filtri",
|
|
24
|
+
"Created At": "Creato il",
|
|
25
|
+
Unshare: "Rimuovi condivisione",
|
|
26
|
+
"Your list is empty": "La lista dei preventivi è vuota",
|
|
27
|
+
"Get started by creating your first entry": "Inizia creando il tuo primo preventivo",
|
|
28
|
+
"Create new": "Crea preventivo",
|
|
29
|
+
"No results found": "Nessun preventivo trovato",
|
|
30
|
+
"Try adjusting your search criteria": "Prova a modificare i criteri di ricerca",
|
|
31
|
+
"Clear search": "Cancella ricerca",
|
|
32
|
+
} as const;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Draft: "Concept",
|
|
3
|
+
Number: "Nummer",
|
|
4
|
+
Customer: "Klant",
|
|
5
|
+
Date: "Datum",
|
|
6
|
+
"Valid Until": "Geldig tot",
|
|
7
|
+
Total: "Totaal",
|
|
8
|
+
"Total with Tax": "Totaal inclusief BTW",
|
|
9
|
+
Actions: "Acties",
|
|
10
|
+
"Open menu": "Menu openen",
|
|
11
|
+
"Copy estimate ID": "Offerte-ID kopiëren",
|
|
12
|
+
"View estimate": "Offerte bekijken",
|
|
13
|
+
"Download PDF": "PDF downloaden",
|
|
14
|
+
"Downloading...": "Downloaden...",
|
|
15
|
+
Duplicate: "Dupliceren",
|
|
16
|
+
Estimate: "Offerte",
|
|
17
|
+
"Failed to download PDF": "PDF downloaden mislukt",
|
|
18
|
+
"Search...": "Zoeken...",
|
|
19
|
+
Filters: "Filters",
|
|
20
|
+
"Date Range": "Datumbereik",
|
|
21
|
+
From: "Van",
|
|
22
|
+
To: "Tot",
|
|
23
|
+
"Clear filters": "Filters wissen",
|
|
24
|
+
"Created At": "Aangemaakt op",
|
|
25
|
+
Unshare: "Delen opheffen",
|
|
26
|
+
"Your list is empty": "Uw offertelijst is leeg",
|
|
27
|
+
"Get started by creating your first entry": "Begin met het aanmaken van uw eerste offerte",
|
|
28
|
+
"Create new": "Offerte aanmaken",
|
|
29
|
+
"No results found": "Geen offertes gevonden",
|
|
30
|
+
"Try adjusting your search criteria": "Probeer uw zoekcriteria aan te passen",
|
|
31
|
+
"Clear search": "Zoekopdracht wissen",
|
|
32
|
+
} as const;
|