@spaceinvoices/react-ui 0.4.12 → 0.4.31
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/src/common/autocomplete.tsx +7 -1
- package/src/components/advance-invoices/advance-invoices.hooks.ts +35 -44
- package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +189 -73
- package/src/components/advance-invoices/create/locales/bg.ts +17 -9
- package/src/components/advance-invoices/create/locales/cs.ts +17 -9
- package/src/components/advance-invoices/create/locales/de.ts +15 -7
- package/src/components/advance-invoices/create/locales/en.ts +15 -7
- package/src/components/advance-invoices/create/locales/es.ts +15 -7
- package/src/components/advance-invoices/create/locales/et.ts +17 -9
- package/src/components/advance-invoices/create/locales/fi.ts +18 -10
- package/src/components/advance-invoices/create/locales/fr.ts +16 -8
- package/src/components/advance-invoices/create/locales/hr.ts +15 -7
- package/src/components/advance-invoices/create/locales/is.ts +17 -9
- package/src/components/advance-invoices/create/locales/it.ts +15 -7
- package/src/components/advance-invoices/create/locales/nb.ts +17 -9
- package/src/components/advance-invoices/create/locales/nl.ts +15 -7
- package/src/components/advance-invoices/create/locales/pl.ts +17 -9
- package/src/components/advance-invoices/create/locales/pt.ts +16 -8
- package/src/components/advance-invoices/create/locales/sk.ts +17 -9
- package/src/components/advance-invoices/create/locales/sl.ts +14 -5
- package/src/components/advance-invoices/create/locales/sv.ts +17 -9
- package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +47 -1
- package/src/components/advance-invoices/list/list-table.tsx +2 -1
- package/src/components/credit-notes/create/create-credit-note-form.tsx +253 -85
- package/src/components/credit-notes/create/locales/bg.ts +22 -8
- package/src/components/credit-notes/create/locales/cs.ts +22 -8
- package/src/components/credit-notes/create/locales/de.ts +20 -7
- package/src/components/credit-notes/create/locales/en.ts +19 -5
- package/src/components/credit-notes/create/locales/es.ts +20 -7
- package/src/components/credit-notes/create/locales/et.ts +22 -8
- package/src/components/credit-notes/create/locales/fi.ts +23 -9
- package/src/components/credit-notes/create/locales/fr.ts +21 -8
- package/src/components/credit-notes/create/locales/hr.ts +20 -7
- package/src/components/credit-notes/create/locales/is.ts +22 -8
- package/src/components/credit-notes/create/locales/it.ts +20 -7
- package/src/components/credit-notes/create/locales/nb.ts +22 -8
- package/src/components/credit-notes/create/locales/nl.ts +20 -7
- package/src/components/credit-notes/create/locales/pl.ts +22 -9
- package/src/components/credit-notes/create/locales/pt.ts +21 -8
- package/src/components/credit-notes/create/locales/sk.ts +22 -8
- package/src/components/credit-notes/create/locales/sl.ts +19 -5
- package/src/components/credit-notes/create/locales/sv.ts +22 -8
- package/src/components/credit-notes/create/prepare-credit-note-submission.ts +35 -1
- package/src/components/credit-notes/credit-notes.hooks.ts +21 -2
- package/src/components/credit-notes/list/list-table.tsx +2 -1
- package/src/components/delivery-notes/create/create-delivery-note-form.tsx +132 -30
- package/src/components/delivery-notes/create/locales/bg.ts +1 -0
- package/src/components/delivery-notes/create/locales/cs.ts +1 -0
- package/src/components/delivery-notes/create/locales/de.ts +1 -0
- package/src/components/delivery-notes/create/locales/en.ts +1 -0
- package/src/components/delivery-notes/create/locales/es.ts +1 -0
- package/src/components/delivery-notes/create/locales/et.ts +1 -0
- package/src/components/delivery-notes/create/locales/fi.ts +1 -0
- package/src/components/delivery-notes/create/locales/fr.ts +1 -0
- package/src/components/delivery-notes/create/locales/hr.ts +1 -0
- package/src/components/delivery-notes/create/locales/is.ts +1 -0
- package/src/components/delivery-notes/create/locales/it.ts +1 -0
- package/src/components/delivery-notes/create/locales/nb.ts +1 -0
- package/src/components/delivery-notes/create/locales/nl.ts +1 -0
- package/src/components/delivery-notes/create/locales/pl.ts +1 -0
- package/src/components/delivery-notes/create/locales/pt.ts +1 -0
- package/src/components/delivery-notes/create/locales/sk.ts +1 -0
- package/src/components/delivery-notes/create/locales/sl.ts +1 -0
- package/src/components/delivery-notes/create/locales/sv.ts +1 -0
- package/src/components/delivery-notes/create/prepare-delivery-note-submission.ts +34 -1
- package/src/components/delivery-notes/delivery-notes.hooks.ts +15 -1
- package/src/components/delivery-notes/list/list-table.tsx +2 -1
- package/src/components/documents/create/custom-create-template.ts +114 -0
- package/src/components/documents/create/document-add-item-form.tsx +12 -8
- package/src/components/documents/create/document-add-item-tax-rate-field.tsx +1 -2
- package/src/components/documents/create/document-date-validation.ts +111 -0
- package/src/components/documents/create/document-details-section.tsx +93 -48
- package/src/components/documents/create/document-form-item.ts +67 -0
- package/src/components/documents/create/document-item-validation.ts +6 -2
- package/src/components/documents/create/form-types.ts +2 -2
- package/src/components/documents/create/linked-documents-info.tsx +2 -11
- package/src/components/documents/create/live-preview.tsx +3 -3
- package/src/components/documents/create/mark-as-paid-section.tsx +14 -11
- package/src/components/documents/create/payment-rows.ts +30 -0
- package/src/components/documents/create/prepare-document-submission.ts +143 -103
- package/src/components/documents/create/prepare-preview-data.ts +12 -0
- package/src/components/documents/create/preserved-expected-total.ts +90 -0
- package/src/components/documents/public/public-document-summary.tsx +6 -13
- package/src/components/documents/view/document-actions-bar.tsx +10 -1
- package/src/components/documents/view/document-details-card.tsx +4 -12
- package/src/components/documents/view/document-relations-list.tsx +4 -4
- package/src/components/documents/view/locales/bg.ts +8 -8
- package/src/components/documents/view/locales/cs.ts +8 -8
- package/src/components/documents/view/locales/de.ts +1 -1
- package/src/components/documents/view/locales/en.ts +14 -14
- package/src/components/documents/view/locales/es.ts +1 -1
- package/src/components/documents/view/locales/et.ts +8 -8
- package/src/components/documents/view/locales/fi.ts +10 -10
- package/src/components/documents/view/locales/fr.ts +1 -1
- package/src/components/documents/view/locales/hr.ts +6 -6
- package/src/components/documents/view/locales/is.ts +8 -8
- package/src/components/documents/view/locales/it.ts +1 -1
- package/src/components/documents/view/locales/nb.ts +8 -8
- package/src/components/documents/view/locales/nl.ts +1 -1
- package/src/components/documents/view/locales/pl.ts +1 -1
- package/src/components/documents/view/locales/pt.ts +1 -1
- package/src/components/documents/view/locales/sk.ts +8 -8
- package/src/components/documents/view/locales/sl.ts +9 -9
- package/src/components/documents/view/locales/sv.ts +1 -1
- package/src/components/documents/view/use-document-download.ts +2 -2
- package/src/components/entities/entity-settings-form/locales/bg.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/cs.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/de.ts +9 -0
- package/src/components/entities/entity-settings-form/locales/en.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/es.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/et.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/fi.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/fr.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/hr.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/is.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/it.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/nb.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/nl.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/pl.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/pt.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/sk.ts +7 -0
- package/src/components/entities/entity-settings-form/locales/sl.ts +12 -4
- package/src/components/entities/entity-settings-form/locales/sv.ts +7 -0
- package/src/components/entities/settings/tax-rules-settings-form.tsx +36 -0
- package/src/components/estimates/create/create-estimate-form.tsx +195 -47
- package/src/components/estimates/create/locales/bg.ts +6 -5
- package/src/components/estimates/create/locales/cs.ts +6 -5
- package/src/components/estimates/create/locales/de.ts +4 -3
- package/src/components/estimates/create/locales/en.ts +4 -3
- package/src/components/estimates/create/locales/es.ts +4 -3
- package/src/components/estimates/create/locales/et.ts +6 -5
- package/src/components/estimates/create/locales/fi.ts +9 -8
- package/src/components/estimates/create/locales/fr.ts +4 -3
- package/src/components/estimates/create/locales/hr.ts +7 -6
- package/src/components/estimates/create/locales/is.ts +6 -5
- package/src/components/estimates/create/locales/it.ts +4 -3
- package/src/components/estimates/create/locales/nb.ts +6 -5
- package/src/components/estimates/create/locales/nl.ts +4 -3
- package/src/components/estimates/create/locales/pl.ts +4 -3
- package/src/components/estimates/create/locales/pt.ts +4 -3
- package/src/components/estimates/create/locales/sk.ts +6 -5
- package/src/components/estimates/create/locales/sl.ts +7 -6
- package/src/components/estimates/create/locales/sv.ts +6 -5
- package/src/components/estimates/create/prepare-estimate-submission.ts +37 -3
- package/src/components/estimates/estimates.hooks.ts +11 -2
- package/src/components/estimates/list/list-table.tsx +11 -1
- package/src/components/estimates/list/locales/bg.ts +2 -0
- package/src/components/estimates/list/locales/cs.ts +2 -0
- package/src/components/estimates/list/locales/de.ts +2 -0
- package/src/components/estimates/list/locales/en.ts +2 -0
- package/src/components/estimates/list/locales/es.ts +2 -0
- package/src/components/estimates/list/locales/et.ts +2 -0
- package/src/components/estimates/list/locales/fi.ts +2 -0
- package/src/components/estimates/list/locales/fr.ts +2 -0
- package/src/components/estimates/list/locales/hr.ts +7 -5
- package/src/components/estimates/list/locales/is.ts +2 -0
- package/src/components/estimates/list/locales/it.ts +2 -0
- package/src/components/estimates/list/locales/nb.ts +2 -0
- package/src/components/estimates/list/locales/nl.ts +2 -0
- package/src/components/estimates/list/locales/pl.ts +2 -0
- package/src/components/estimates/list/locales/pt.ts +2 -0
- package/src/components/estimates/list/locales/sk.ts +2 -0
- package/src/components/estimates/list/locales/sl.ts +9 -7
- package/src/components/estimates/list/locales/sv.ts +2 -0
- package/src/components/invoices/create/create-invoice-form.tsx +230 -60
- package/src/components/invoices/create/locales/bg.ts +23 -14
- package/src/components/invoices/create/locales/cs.ts +23 -14
- package/src/components/invoices/create/locales/de.ts +17 -9
- package/src/components/invoices/create/locales/en.ts +16 -7
- package/src/components/invoices/create/locales/es.ts +18 -9
- package/src/components/invoices/create/locales/et.ts +23 -14
- package/src/components/invoices/create/locales/fi.ts +24 -15
- package/src/components/invoices/create/locales/fr.ts +19 -11
- package/src/components/invoices/create/locales/hr.ts +18 -9
- package/src/components/invoices/create/locales/is.ts +23 -14
- package/src/components/invoices/create/locales/it.ts +19 -11
- package/src/components/invoices/create/locales/nb.ts +23 -14
- package/src/components/invoices/create/locales/nl.ts +19 -10
- package/src/components/invoices/create/locales/pl.ts +19 -11
- package/src/components/invoices/create/locales/pt.ts +19 -10
- package/src/components/invoices/create/locales/sk.ts +23 -14
- package/src/components/invoices/create/locales/sl.ts +17 -9
- package/src/components/invoices/create/locales/sv.ts +17 -8
- package/src/components/invoices/create/prepare-invoice-submission.ts +55 -1
- package/src/components/invoices/invoices.hooks.ts +11 -2
- package/src/components/invoices/list/list-table.tsx +2 -1
- package/src/components/invoices/send-email-dialog/locales/bg.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/cs.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/de.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/en.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/es.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/et.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/fi.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/fr.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/hr.ts +8 -3
- package/src/components/invoices/send-email-dialog/locales/is.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/it.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/nb.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/nl.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/pl.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/pt.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/sk.ts +5 -0
- package/src/components/invoices/send-email-dialog/locales/sl.ts +8 -3
- package/src/components/invoices/send-email-dialog/locales/sv.ts +5 -0
- package/src/components/invoices/send-email-dialog/send-email-dialog.tsx +2 -1
- package/src/components/items/item-combobox.tsx +4 -4
- package/src/components/payments/create-payment-form/create-payment-form.tsx +5 -2
- package/src/components/payments/edit-payment-form/edit-payment-form.tsx +5 -1
- package/src/components/recurring-invoices/create-recurring-invoice-form/create-recurring-invoice-form.tsx +98 -22
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/bg.ts +26 -26
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/cs.ts +25 -25
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/et.ts +26 -26
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/fi.ts +36 -36
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/is.ts +26 -26
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/nb.ts +26 -26
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sk.ts +25 -25
- package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sv.ts +26 -26
- package/src/components/recurring-invoices/list/list-row-actions.tsx +9 -1
- package/src/components/recurring-invoices/list/list-table.tsx +53 -5
- package/src/components/recurring-invoices/list/locales/bg.ts +4 -0
- package/src/components/recurring-invoices/list/locales/cs.ts +4 -0
- package/src/components/recurring-invoices/list/locales/de.ts +4 -0
- package/src/components/recurring-invoices/list/locales/en.ts +4 -0
- package/src/components/recurring-invoices/list/locales/es.ts +4 -0
- package/src/components/recurring-invoices/list/locales/et.ts +4 -0
- package/src/components/recurring-invoices/list/locales/fi.ts +4 -0
- package/src/components/recurring-invoices/list/locales/fr.ts +4 -0
- package/src/components/recurring-invoices/list/locales/hr.ts +4 -0
- package/src/components/recurring-invoices/list/locales/is.ts +4 -0
- package/src/components/recurring-invoices/list/locales/it.ts +4 -0
- package/src/components/recurring-invoices/list/locales/nb.ts +4 -0
- package/src/components/recurring-invoices/list/locales/nl.ts +4 -0
- package/src/components/recurring-invoices/list/locales/pl.ts +4 -0
- package/src/components/recurring-invoices/list/locales/pt.ts +4 -0
- package/src/components/recurring-invoices/list/locales/sk.ts +4 -0
- package/src/components/recurring-invoices/list/locales/sl.ts +4 -0
- package/src/components/recurring-invoices/list/locales/sv.ts +4 -0
- package/src/components/tax-reports/slovenia-tax-profile-step.tsx +4 -1
- package/src/components/tax-reports/slovenia-yearly-export-form.tsx +3 -0
- package/src/components/tax-reports/slovenia-yearly-review-step.tsx +2 -1
- package/src/components/ui/form.tsx +5 -13
- package/src/components/ui/select.tsx +0 -1
- package/src/components/ui/sidebar.tsx +2 -2
- package/src/generate-schemas.ts +132 -99
- package/src/generated/schemas/acceptentityinvitation_body.ts +4 -3
- package/src/generated/schemas/accountwebhook.ts +4 -8
- package/src/generated/schemas/addentityuser_body.ts +4 -3
- package/src/generated/schemas/advanceinvoice.ts +167 -168
- package/src/generated/schemas/authorizeshopify_body.ts +4 -3
- package/src/generated/schemas/calculatedocumentpreview.ts +120 -0
- package/src/generated/schemas/checktransactiontype.ts +35 -0
- package/src/generated/schemas/creditnote.ts +203 -76
- package/src/generated/schemas/customadvanceinvoice.ts +172 -165
- package/src/generated/schemas/customcreditnote.ts +183 -155
- package/src/generated/schemas/customdeliverynote.ts +166 -0
- package/src/generated/schemas/customer.ts +4 -8
- package/src/generated/schemas/customestimate.ts +123 -97
- package/src/generated/schemas/customincomingpurchasedocument.ts +142 -0
- package/src/generated/schemas/custominvoice.ts +183 -154
- package/src/generated/schemas/deliverynote.ts +124 -79
- package/src/generated/schemas/einvoice.ts +19 -0
- package/src/generated/schemas/einvoicingsettings.ts +21 -0
- package/src/generated/schemas/einvoicingsupplier.ts +45 -0
- package/src/generated/schemas/entity.ts +44 -40
- package/src/generated/schemas/entityapikey.ts +1 -3
- package/src/generated/schemas/entityuserrole.ts +1 -3
- package/src/generated/schemas/estimate.ts +120 -127
- package/src/generated/schemas/exportsloveniavodxml_body.ts +4 -3
- package/src/generated/schemas/exportsloveniayearlynormiranireport_body.ts +4 -3
- package/src/generated/schemas/finadevice.ts +15 -0
- package/src/generated/schemas/finalizedocument.ts +52 -0
- package/src/generated/schemas/finapremise.ts +15 -0
- package/src/generated/schemas/finasettings.ts +1 -3
- package/src/generated/schemas/furselectronicdevice.ts +15 -0
- package/src/generated/schemas/furssettings.ts +1 -3
- package/src/generated/schemas/image.ts +15 -0
- package/src/generated/schemas/incomingpurchasedocument.ts +7 -27
- package/src/generated/schemas/incomingpurchasedocumentattachment.ts +15 -0
- package/src/generated/schemas/incomingpurchasedocumentpayment.ts +1 -3
- package/src/generated/schemas/index.ts +20 -5
- package/src/generated/schemas/invoice.ts +182 -183
- package/src/generated/schemas/item.ts +6 -10
- package/src/generated/schemas/legacymigrationauth.ts +18 -0
- package/src/generated/schemas/me.ts +2 -24
- package/src/generated/schemas/migrationjob.ts +20 -0
- package/src/generated/schemas/order.ts +4 -8
- package/src/generated/schemas/orderintegration.ts +4 -8
- package/src/generated/schemas/payment.ts +4 -8
- package/src/generated/schemas/ptatcudseries.ts +1 -3
- package/src/generated/schemas/queryentitystats.ts +15 -0
- package/src/generated/schemas/recurringinvoice.ts +4 -8
- package/src/generated/schemas/registerfursmovablepremise_body.ts +1 -3
- package/src/generated/schemas/registerfursrealestatepremise_body.ts +1 -3
- package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +10 -16
- package/src/generated/schemas/rendercreditnotepreview_body.ts +10 -16
- package/src/generated/schemas/renderdeliverynotepreview_body.ts +9 -5
- package/src/generated/schemas/renderestimatepreview_body.ts +11 -7
- package/src/generated/schemas/renderinvoicepreview_body.ts +10 -16
- package/src/generated/schemas/reviewsloveniayearlynormiranireport.ts +15 -0
- package/src/generated/schemas/searcheinvoicingcustomer.ts +18 -0
- package/src/generated/schemas/senddocument_body.ts +1 -3
- package/src/generated/schemas/sendemail_body.ts +2 -24
- package/src/generated/schemas/sloveniataxprofile.ts +8 -10
- package/src/generated/schemas/starteslogexport_body.ts +4 -3
- package/src/generated/schemas/startpdfexport_body.ts +8 -87
- package/src/generated/schemas/stripeappconnect_body.ts +4 -3
- package/src/generated/schemas/stripeappcreateinvoice_body.ts +4 -6
- package/src/generated/schemas/stripeappmarketplaceauthorize.ts +15 -0
- package/src/generated/schemas/stripeappupdatesettings_body.ts +6 -6
- package/src/generated/schemas/supplier.ts +4 -8
- package/src/generated/schemas/syncshopifyorders_body.ts +4 -3
- package/src/generated/schemas/tax.ts +6 -8
- package/src/generated/schemas/uploadfile_body.ts +1 -3
- package/src/generated/schemas/uploadfurscertificate_body.ts +6 -6
- package/src/generated/schemas/userfinasettings.ts +1 -3
- package/src/generated/schemas/userfurssettings.ts +1 -3
- package/src/generated/schemas/userptsettings.ts +1 -3
- package/src/generated/schemas/voidinvoice_body.ts +8 -3
- package/src/generated/schemas/webhook.ts +4 -8
- package/src/generated/schemas/wlsubscriptionbillingemail.ts +17 -0
- package/src/hooks/use-duplicate-document.ts +61 -30
- package/src/lib/date-only.ts +58 -0
- package/src/lib/document-display.ts +18 -0
- package/src/lib/payment-display.ts +5 -3
- package/src/lib/schemas/shared.ts +11 -0
- package/src/providers/wl-subscription-provider.tsx +5 -0
- package/src/generated/schemas/account_webhook.ts +0 -43
- package/src/generated/schemas/previewadvanceinvoice_body.ts +0 -354
- package/src/generated/schemas/previewestimate_body.ts +0 -309
- package/src/generated/schemas/registerfinamovablepremise_body.ts +0 -26
- package/src/generated/schemas/registerfinarealestatepremise_body.ts +0 -37
- package/src/generated/schemas/renderdocument_body.ts +0 -594
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
Items: "Varer",
|
|
12
12
|
"Add item": "Add item",
|
|
13
13
|
Save: "Lagre",
|
|
14
|
-
Update: "
|
|
14
|
+
Update: "Oppdater",
|
|
15
15
|
"Save as Draft": "Save as Draft",
|
|
16
16
|
Quantity: "Quantity",
|
|
17
17
|
Price: "Pris",
|
|
@@ -25,16 +25,16 @@ export default {
|
|
|
25
25
|
"No taxes found": "No taxes found",
|
|
26
26
|
"Add new tax...": "Add new tax...",
|
|
27
27
|
Description: "Beskrivelse",
|
|
28
|
-
"Mark as Paid": "
|
|
29
|
-
Paid: "Betalt",
|
|
30
|
-
"Invoice will be marked as fully paid upon creation": "
|
|
31
|
-
"Payment Type": "
|
|
28
|
+
"Mark as Paid": "Merk som betalt",
|
|
29
|
+
"Paid": "Betalt",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "Fakturaen blir markert som fullt betalt ved opprettelse",
|
|
31
|
+
"Payment Type": "Betalingstype",
|
|
32
32
|
"Select payment type": "Velg betalingstype",
|
|
33
|
-
Cash: "Kontant",
|
|
33
|
+
"Cash": "Kontant",
|
|
34
34
|
"Bank Transfer": "Bankoverføring",
|
|
35
|
-
Card: "Kort",
|
|
36
|
-
Check: "Sjekk",
|
|
37
|
-
Other: "Annet",
|
|
35
|
+
"Card": "Kort",
|
|
36
|
+
"Check": "Sjekk",
|
|
37
|
+
"Other": "Annet",
|
|
38
38
|
Note: "Note",
|
|
39
39
|
"Insert variable": "Insert variable",
|
|
40
40
|
"Add payment instructions, terms, or other notes...": "Add payment instructions, terms, or other notes...",
|
|
@@ -126,6 +126,7 @@ export default {
|
|
|
126
126
|
"Delivery note": "Følgeseddel",
|
|
127
127
|
Invoice: "Faktura",
|
|
128
128
|
Estimate: "Tilbud",
|
|
129
|
+
"Proforma invoice": "Proformafaktura",
|
|
129
130
|
"Credit note": "Kreditnota",
|
|
130
131
|
"Advance invoice": "Forskuddsfaktura",
|
|
131
132
|
"FINA fiscalized invoices always use the current date": "FINA fiscalized invoices always use the current date",
|
|
@@ -136,11 +137,11 @@ export default {
|
|
|
136
137
|
"60 days": "60 days",
|
|
137
138
|
"90 days": "90 dager",
|
|
138
139
|
Custom: "Custom",
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
From: "
|
|
143
|
-
To: "
|
|
140
|
+
// Service date
|
|
141
|
+
"Service Date": "Tjenestedato",
|
|
142
|
+
"Service Period": "Tjenesteperiode",
|
|
143
|
+
From: "Fra",
|
|
144
|
+
To: "Til",
|
|
144
145
|
"Add separator": "Add separator",
|
|
145
146
|
"Section header": "Section header",
|
|
146
147
|
"Section title...": "Section title...",
|
|
@@ -161,4 +162,12 @@ export default {
|
|
|
161
162
|
"Domestic B2B invoicing in Croatia is not supported": "Domestic B2B invoicing in Croatia is not supported",
|
|
162
163
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
163
164
|
"FINA fiscalization must be enabled for domestic invoices",
|
|
165
|
+
"Please select": "Velg",
|
|
166
|
+
"Amount": "Beløp",
|
|
167
|
+
"Add payment": "Legg til betaling",
|
|
168
|
+
"Recorded now": "Registrert nå",
|
|
169
|
+
"Remaining due": "Gjenstående å betale",
|
|
170
|
+
"Remaining to allocate": "Gjenstår å fordele",
|
|
171
|
+
"This document must be fully paid on creation": "Dette dokumentet må være fullt betalt ved opprettelse",
|
|
172
|
+
"Record one or more payments on creation": "Registrer én eller flere betalinger ved opprettelse",
|
|
164
173
|
} as const;
|
|
@@ -26,15 +26,15 @@ export default {
|
|
|
26
26
|
"Add new tax...": "Nieuwe belasting toevoegen...",
|
|
27
27
|
Description: "Beschrijving",
|
|
28
28
|
"Mark as Paid": "Markeren als betaald",
|
|
29
|
-
Paid: "Betaald",
|
|
30
|
-
"Invoice will be marked as fully paid upon creation": "De factuur wordt bij
|
|
31
|
-
"Payment Type": "
|
|
29
|
+
"Paid": "Betaald",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "De factuur wordt bij het aanmaken als volledig betaald gemarkeerd",
|
|
31
|
+
"Payment Type": "Betaaltype",
|
|
32
32
|
"Select payment type": "Betaalmethode selecteren",
|
|
33
|
-
Cash: "Contant",
|
|
33
|
+
"Cash": "Contant",
|
|
34
34
|
"Bank Transfer": "Bankoverschrijving",
|
|
35
|
-
Card: "Kaart",
|
|
36
|
-
Check: "Cheque",
|
|
37
|
-
Other: "Overig",
|
|
35
|
+
"Card": "Kaart",
|
|
36
|
+
"Check": "Cheque",
|
|
37
|
+
"Other": "Overig",
|
|
38
38
|
Note: "Notitie",
|
|
39
39
|
"Insert variable": "Variabele invoegen",
|
|
40
40
|
"Add payment instructions, terms, or other notes...":
|
|
@@ -129,6 +129,7 @@ export default {
|
|
|
129
129
|
"Delivery note": "Pakbon",
|
|
130
130
|
Invoice: "Factuur",
|
|
131
131
|
Estimate: "Offerte",
|
|
132
|
+
"Proforma invoice": "Proforma factuur",
|
|
132
133
|
"Credit note": "Creditnota",
|
|
133
134
|
"Advance invoice": "Voorschotfactuur",
|
|
134
135
|
"FINA fiscalized invoices always use the current date":
|
|
@@ -141,12 +142,12 @@ export default {
|
|
|
141
142
|
"60 days": "60 dagen",
|
|
142
143
|
"90 days": "90 dagen",
|
|
143
144
|
Custom: "Aangepast",
|
|
145
|
+
// Separator items
|
|
146
|
+
// Service date
|
|
144
147
|
"Service Date": "Servicedatum",
|
|
145
|
-
"
|
|
146
|
-
"Date Range": "Datumbereik",
|
|
148
|
+
"Service Period": "Serviceperiode",
|
|
147
149
|
From: "Van",
|
|
148
150
|
To: "Tot",
|
|
149
|
-
// Separator items
|
|
150
151
|
"Add separator": "Scheidingslijn toevoegen",
|
|
151
152
|
"Section header": "Sectiekop",
|
|
152
153
|
"Section title...": "Sectietitel...",
|
|
@@ -170,4 +171,12 @@ export default {
|
|
|
170
171
|
"Binnenlandse B2B-facturering in Kroatië wordt niet ondersteund. Kroatië vereist naleving van Fiskalizacija 2.0 voor B2B-facturering.",
|
|
171
172
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
172
173
|
"FINA-fiscalisering moet zijn ingeschakeld voor binnenlandse facturen. Schakel deze in via de bedrijfsinstellingen.",
|
|
174
|
+
"Please select": "Selecteer",
|
|
175
|
+
"Amount": "Bedrag",
|
|
176
|
+
"Add payment": "Betaling toevoegen",
|
|
177
|
+
"Recorded now": "Nu geregistreerd",
|
|
178
|
+
"Remaining due": "Resterend verschuldigd",
|
|
179
|
+
"Remaining to allocate": "Nog toe te wijzen",
|
|
180
|
+
"This document must be fully paid on creation": "Dit document moet volledig betaald zijn bij het aanmaken",
|
|
181
|
+
"Record one or more payments on creation": "Registreer een of meer betalingen bij het aanmaken",
|
|
173
182
|
} as const;
|
|
@@ -25,17 +25,16 @@ export default {
|
|
|
25
25
|
"No taxes found": "Nie znaleziono podatków",
|
|
26
26
|
"Add new tax...": "Dodaj nowy podatek...",
|
|
27
27
|
Description: "Opis",
|
|
28
|
-
"Mark as Paid": "Oznacz jako
|
|
29
|
-
Paid: "
|
|
30
|
-
"Invoice will be marked as fully paid upon creation":
|
|
31
|
-
"Faktura zostanie oznaczona jako w pełni opłacona podczas tworzenia",
|
|
28
|
+
"Mark as Paid": "Oznacz jako opłacone",
|
|
29
|
+
"Paid": "Opłacone",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "Faktura zostanie oznaczona jako w pełni opłacona przy tworzeniu",
|
|
32
31
|
"Payment Type": "Rodzaj płatności",
|
|
33
32
|
"Select payment type": "Wybierz rodzaj płatności",
|
|
34
|
-
Cash: "Gotówka",
|
|
33
|
+
"Cash": "Gotówka",
|
|
35
34
|
"Bank Transfer": "Przelew bankowy",
|
|
36
|
-
Card: "Karta",
|
|
37
|
-
Check: "Czek",
|
|
38
|
-
Other: "Inne",
|
|
35
|
+
"Card": "Karta",
|
|
36
|
+
"Check": "Czek",
|
|
37
|
+
"Other": "Inne",
|
|
39
38
|
Note: "Uwaga",
|
|
40
39
|
"Insert variable": "Wstaw zmienną",
|
|
41
40
|
"Add payment instructions, terms, or other notes...": "Dodaj instrukcje płatności, warunki lub inne uwagi...",
|
|
@@ -129,6 +128,7 @@ export default {
|
|
|
129
128
|
"Delivery note": "Dowód dostawy",
|
|
130
129
|
Invoice: "Faktura",
|
|
131
130
|
Estimate: "Wycena",
|
|
131
|
+
"Proforma invoice": "Faktura pro forma",
|
|
132
132
|
"Credit note": "Nota kredytowa",
|
|
133
133
|
"Advance invoice": "Faktura zaliczkowa",
|
|
134
134
|
"FINA fiscalized invoices always use the current date": "Faktury fiskalizowane FINA zawsze używają bieżącej daty",
|
|
@@ -140,12 +140,12 @@ export default {
|
|
|
140
140
|
"60 days": "60 dni",
|
|
141
141
|
"90 days": "90 dni",
|
|
142
142
|
Custom: "Niestandardowe",
|
|
143
|
+
// Separator items
|
|
144
|
+
// Service date
|
|
143
145
|
"Service Date": "Data usługi",
|
|
144
|
-
"
|
|
145
|
-
"Date Range": "Zakres dat",
|
|
146
|
+
"Service Period": "Okres usługi",
|
|
146
147
|
From: "Od",
|
|
147
148
|
To: "Do",
|
|
148
|
-
// Separator items
|
|
149
149
|
"Add separator": "Dodaj separator",
|
|
150
150
|
"Section header": "Nagłówek sekcji",
|
|
151
151
|
"Section title...": "Tytuł sekcji...",
|
|
@@ -169,4 +169,12 @@ export default {
|
|
|
169
169
|
"Krajowe fakturowanie B2B w Chorwacji nie jest obsługiwane. Chorwacja wymaga zgodności z Fiskalizacija 2.0 dla fakturowania B2B.",
|
|
170
170
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
171
171
|
"Fiskalizacja FINA musi być włączona dla faktur krajowych. Włącz ją w ustawieniach podmiotu.",
|
|
172
|
+
"Please select": "Wybierz",
|
|
173
|
+
"Amount": "Kwota",
|
|
174
|
+
"Add payment": "Dodaj płatność",
|
|
175
|
+
"Recorded now": "Zarejestrowano teraz",
|
|
176
|
+
"Remaining due": "Pozostało do zapłaty",
|
|
177
|
+
"Remaining to allocate": "Pozostało do przypisania",
|
|
178
|
+
"This document must be fully paid on creation": "Ten dokument musi być w pełni opłacony przy tworzeniu",
|
|
179
|
+
"Record one or more payments on creation": "Zarejestruj jedną lub więcej płatności przy tworzeniu",
|
|
172
180
|
} as const;
|
|
@@ -25,16 +25,16 @@ export default {
|
|
|
25
25
|
"No taxes found": "Nenhum imposto encontrado",
|
|
26
26
|
"Add new tax...": "Adicionar novo imposto...",
|
|
27
27
|
Description: "Descrição",
|
|
28
|
-
"Mark as Paid": "Marcar como
|
|
29
|
-
Paid: "
|
|
30
|
-
"Invoice will be marked as fully paid upon creation": "A fatura será marcada como totalmente paga
|
|
28
|
+
"Mark as Paid": "Marcar como pago",
|
|
29
|
+
"Paid": "Pago",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "A fatura será marcada como totalmente paga na criação",
|
|
31
31
|
"Payment Type": "Tipo de pagamento",
|
|
32
32
|
"Select payment type": "Selecionar tipo de pagamento",
|
|
33
|
-
Cash: "Dinheiro",
|
|
33
|
+
"Cash": "Dinheiro",
|
|
34
34
|
"Bank Transfer": "Transferência bancária",
|
|
35
|
-
Card: "Cartão",
|
|
36
|
-
Check: "Cheque",
|
|
37
|
-
Other: "Outro",
|
|
35
|
+
"Card": "Cartão",
|
|
36
|
+
"Check": "Cheque",
|
|
37
|
+
"Other": "Outro",
|
|
38
38
|
Note: "Nota",
|
|
39
39
|
"Insert variable": "Inserir variável",
|
|
40
40
|
"Add payment instructions, terms, or other notes...":
|
|
@@ -131,6 +131,7 @@ export default {
|
|
|
131
131
|
"Delivery note": "Guia de remessa",
|
|
132
132
|
Invoice: "Fatura",
|
|
133
133
|
Estimate: "Orçamento",
|
|
134
|
+
"Proforma invoice": "Fatura proforma",
|
|
134
135
|
"Credit note": "Nota de crédito",
|
|
135
136
|
"Advance invoice": "Fatura antecipada",
|
|
136
137
|
"FINA fiscalized invoices always use the current date": "As faturas fiscalizadas FINA usam sempre a data atual",
|
|
@@ -142,12 +143,12 @@ export default {
|
|
|
142
143
|
"60 days": "60 dias",
|
|
143
144
|
"90 days": "90 dias",
|
|
144
145
|
Custom: "Personalizado",
|
|
146
|
+
// Separator items
|
|
147
|
+
// Service date
|
|
145
148
|
"Service Date": "Data do serviço",
|
|
146
|
-
"
|
|
147
|
-
"Date Range": "Intervalo de datas",
|
|
149
|
+
"Service Period": "Período de serviço",
|
|
148
150
|
From: "De",
|
|
149
151
|
To: "Até",
|
|
150
|
-
// Separator items
|
|
151
152
|
"Add separator": "Adicionar separador",
|
|
152
153
|
"Section header": "Cabeçalho da secção",
|
|
153
154
|
"Section title...": "Título da secção...",
|
|
@@ -171,4 +172,12 @@ export default {
|
|
|
171
172
|
"A faturação B2B doméstica na Croácia não é suportada. A Croácia exige conformidade com Fiskalizacija 2.0 para faturação B2B.",
|
|
172
173
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
173
174
|
"A fiscalização FINA deve estar ativada para faturas domésticas. Ative-a nas configurações da entidade.",
|
|
175
|
+
"Please select": "Selecione",
|
|
176
|
+
"Amount": "Montante",
|
|
177
|
+
"Add payment": "Adicionar pagamento",
|
|
178
|
+
"Recorded now": "Registado agora",
|
|
179
|
+
"Remaining due": "Valor em dívida",
|
|
180
|
+
"Remaining to allocate": "Valor por alocar",
|
|
181
|
+
"This document must be fully paid on creation": "Este documento tem de estar totalmente pago na criação",
|
|
182
|
+
"Record one or more payments on creation": "Registar um ou mais pagamentos na criação",
|
|
174
183
|
} as const;
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
Items: "Položky",
|
|
12
12
|
"Add item": "Add item",
|
|
13
13
|
Save: "Uložiť",
|
|
14
|
-
Update: "
|
|
14
|
+
Update: "Aktualizovať",
|
|
15
15
|
"Save as Draft": "Save as Draft",
|
|
16
16
|
Quantity: "Quantity",
|
|
17
17
|
Price: "Cena",
|
|
@@ -25,16 +25,16 @@ export default {
|
|
|
25
25
|
"No taxes found": "No taxes found",
|
|
26
26
|
"Add new tax...": "Add new tax...",
|
|
27
27
|
Description: "Popis",
|
|
28
|
-
"Mark as Paid": "
|
|
29
|
-
Paid: "
|
|
30
|
-
"Invoice will be marked as fully paid upon creation": "
|
|
31
|
-
"Payment Type": "
|
|
28
|
+
"Mark as Paid": "Označiť ako uhradené",
|
|
29
|
+
"Paid": "Uhradené",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "Faktúra bude pri vytvorení označená ako plne uhradená",
|
|
31
|
+
"Payment Type": "Typ platby",
|
|
32
32
|
"Select payment type": "Vyberte typ platby",
|
|
33
|
-
Cash: "Hotovosť",
|
|
33
|
+
"Cash": "Hotovosť",
|
|
34
34
|
"Bank Transfer": "Bankový prevod",
|
|
35
|
-
Card: "Karta",
|
|
36
|
-
Check: "Šek",
|
|
37
|
-
Other: "Iné",
|
|
35
|
+
"Card": "Karta",
|
|
36
|
+
"Check": "Šek",
|
|
37
|
+
"Other": "Iné",
|
|
38
38
|
Note: "Note",
|
|
39
39
|
"Insert variable": "Insert variable",
|
|
40
40
|
"Add payment instructions, terms, or other notes...": "Add payment instructions, terms, or other notes...",
|
|
@@ -126,6 +126,7 @@ export default {
|
|
|
126
126
|
"Delivery note": "Dodací list",
|
|
127
127
|
Invoice: "Faktura",
|
|
128
128
|
Estimate: "Cenová ponuka",
|
|
129
|
+
"Proforma invoice": "Proforma faktúra",
|
|
129
130
|
"Credit note": "Dobropis",
|
|
130
131
|
"Advance invoice": "Zálohová faktúra",
|
|
131
132
|
"FINA fiscalized invoices always use the current date": "FINA fiscalized invoices always use the current date",
|
|
@@ -136,11 +137,11 @@ export default {
|
|
|
136
137
|
"60 days": "60 days",
|
|
137
138
|
"90 days": "90 dni",
|
|
138
139
|
Custom: "Custom",
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
From: "
|
|
143
|
-
To: "
|
|
140
|
+
// Service date
|
|
141
|
+
"Service Date": "Dátum služby",
|
|
142
|
+
"Service Period": "Obdobie služby",
|
|
143
|
+
From: "Od",
|
|
144
|
+
To: "Do",
|
|
144
145
|
"Add separator": "Add separator",
|
|
145
146
|
"Section header": "Section header",
|
|
146
147
|
"Section title...": "Section title...",
|
|
@@ -161,4 +162,12 @@ export default {
|
|
|
161
162
|
"Domestic B2B invoicing in Croatia is not supported": "Domestic B2B invoicing in Croatia is not supported",
|
|
162
163
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
163
164
|
"FINA fiscalization must be enabled for domestic invoices",
|
|
165
|
+
"Please select": "Vyberte",
|
|
166
|
+
"Amount": "Suma",
|
|
167
|
+
"Add payment": "Pridať platbu",
|
|
168
|
+
"Recorded now": "Aktuálne zaevidované",
|
|
169
|
+
"Remaining due": "Zostáva uhradiť",
|
|
170
|
+
"Remaining to allocate": "Zostáva priradiť",
|
|
171
|
+
"This document must be fully paid on creation": "Tento dokument musí byť pri vytvorení plne uhradený",
|
|
172
|
+
"Record one or more payments on creation": "Pri vytvorení zaevidujte jednu alebo viac platieb",
|
|
164
173
|
} as const;
|
|
@@ -26,15 +26,15 @@ export default {
|
|
|
26
26
|
"Add new tax...": "Dodaj nov davek...",
|
|
27
27
|
Description: "Opis",
|
|
28
28
|
"Mark as Paid": "Označi kot plačano",
|
|
29
|
-
Paid: "Plačano",
|
|
29
|
+
"Paid": "Plačano",
|
|
30
30
|
"Invoice will be marked as fully paid upon creation": "Račun bo označen kot plačan ob ustvarjanju",
|
|
31
31
|
"Payment Type": "Vrsta plačila",
|
|
32
32
|
"Select payment type": "Izberi vrsto plačila",
|
|
33
|
-
Cash: "Gotovina",
|
|
33
|
+
"Cash": "Gotovina",
|
|
34
34
|
"Bank Transfer": "Bančno nakazilo",
|
|
35
|
-
Card: "Kartica",
|
|
36
|
-
Check: "Ček",
|
|
37
|
-
Other: "Drugo",
|
|
35
|
+
"Card": "Kartica",
|
|
36
|
+
"Check": "Ček",
|
|
37
|
+
"Other": "Drugo",
|
|
38
38
|
// Note field
|
|
39
39
|
Note: "Pripis",
|
|
40
40
|
"Insert variable": "Vstavi spremenljivko",
|
|
@@ -137,7 +137,8 @@ export default {
|
|
|
137
137
|
Total: "Skupaj",
|
|
138
138
|
"Delivery note": "Dobavnica",
|
|
139
139
|
Invoice: "Račun",
|
|
140
|
-
Estimate: "
|
|
140
|
+
Estimate: "Ponudba",
|
|
141
|
+
"Proforma invoice": "Predračun",
|
|
141
142
|
"Credit note": "Dobropis",
|
|
142
143
|
"Advance invoice": "Avansni račun",
|
|
143
144
|
"FINA fiscalized invoices always use the current date": "FINA fiskalizirani računi vedno uporabijo trenutni datum",
|
|
@@ -149,13 +150,12 @@ export default {
|
|
|
149
150
|
"60 days": "60 dni",
|
|
150
151
|
"90 days": "90 dni",
|
|
151
152
|
Custom: "Po meri",
|
|
153
|
+
// Separator items
|
|
152
154
|
// Service date
|
|
153
155
|
"Service Date": "Datum storitve",
|
|
154
|
-
"
|
|
155
|
-
"Date Range": "Obdobje",
|
|
156
|
+
"Service Period": "Obdobje storitve",
|
|
156
157
|
From: "Od",
|
|
157
158
|
To: "Do",
|
|
158
|
-
// Separator items
|
|
159
159
|
"Add separator": "Dodaj ločilnik",
|
|
160
160
|
"Section header": "Naslov razdelka",
|
|
161
161
|
"Section title...": "Naslov razdelka...",
|
|
@@ -179,4 +179,12 @@ export default {
|
|
|
179
179
|
"Domače B2B fakturiranje na Hrvaškem ni podprto. Hrvška zahteva skladnost s Fiskalizacijo 2.0 za B2B fakturiranje.",
|
|
180
180
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
181
181
|
"FINA fiskalizacija mora biti omogočena za domače račune. Omogočite jo v nastavitvah podjetja.",
|
|
182
|
+
"Please select": "Izberi",
|
|
183
|
+
"Amount": "Znesek",
|
|
184
|
+
"Add payment": "Dodaj plačilo",
|
|
185
|
+
"Recorded now": "Trenutno zabeleženo",
|
|
186
|
+
"Remaining due": "Preostanek za plačilo",
|
|
187
|
+
"Remaining to allocate": "Preostanek za razporeditev",
|
|
188
|
+
"This document must be fully paid on creation": "Ta dokument mora biti ob ustvarjanju v celoti plačan",
|
|
189
|
+
"Record one or more payments on creation": "Ob ustvarjanju zabeleži eno ali več plačil",
|
|
182
190
|
} as const;
|
|
@@ -26,15 +26,15 @@ export default {
|
|
|
26
26
|
"Add new tax...": "Lägg till ny skatt...",
|
|
27
27
|
Description: "Beskrivning",
|
|
28
28
|
"Mark as Paid": "Markera som betald",
|
|
29
|
-
Paid: "Betald",
|
|
30
|
-
"Invoice will be marked as fully paid upon creation": "Fakturan markeras som fullt betald
|
|
29
|
+
"Paid": "Betald",
|
|
30
|
+
"Invoice will be marked as fully paid upon creation": "Fakturan markeras som fullt betald vid skapande",
|
|
31
31
|
"Payment Type": "Betalningstyp",
|
|
32
32
|
"Select payment type": "Välj betalningstyp",
|
|
33
|
-
Cash: "Kontant",
|
|
33
|
+
"Cash": "Kontant",
|
|
34
34
|
"Bank Transfer": "Banköverföring",
|
|
35
|
-
Card: "Kort",
|
|
36
|
-
Check: "Check",
|
|
37
|
-
Other: "Övrigt",
|
|
35
|
+
"Card": "Kort",
|
|
36
|
+
"Check": "Check",
|
|
37
|
+
"Other": "Övrigt",
|
|
38
38
|
Note: "Anteckning",
|
|
39
39
|
"Insert variable": "Infoga variabel",
|
|
40
40
|
"Add payment instructions, terms, or other notes...":
|
|
@@ -128,6 +128,7 @@ export default {
|
|
|
128
128
|
"Delivery note": "Följesedel",
|
|
129
129
|
Invoice: "Faktura",
|
|
130
130
|
Estimate: "Offert",
|
|
131
|
+
"Proforma invoice": "Proformafaktura",
|
|
131
132
|
"Credit note": "Kreditnota",
|
|
132
133
|
"Advance invoice": "Förskottsfaktura",
|
|
133
134
|
"FINA fiscalized invoices always use the current date": "FINA-fiskaliserade fakturor använder alltid dagens datum",
|
|
@@ -138,9 +139,9 @@ export default {
|
|
|
138
139
|
"60 days": "60 dagar",
|
|
139
140
|
"90 days": "90 dagar",
|
|
140
141
|
Custom: "Anpassad",
|
|
142
|
+
// Service date
|
|
141
143
|
"Service Date": "Tjänstedatum",
|
|
142
|
-
"
|
|
143
|
-
"Date Range": "Datumintervall",
|
|
144
|
+
"Service Period": "Tjänsteperiod",
|
|
144
145
|
From: "Från",
|
|
145
146
|
To: "Till",
|
|
146
147
|
"Add separator": "Lägg till avgränsare",
|
|
@@ -163,4 +164,12 @@ export default {
|
|
|
163
164
|
"Domestic B2B invoicing in Croatia is not supported": "Inrikes B2B-fakturering i Kroatien stöds inte",
|
|
164
165
|
"FINA fiscalization must be enabled for domestic invoices":
|
|
165
166
|
"FINA-fiskalisering måste vara aktiverad för inrikesfakturor",
|
|
167
|
+
"Please select": "Välj",
|
|
168
|
+
"Amount": "Belopp",
|
|
169
|
+
"Add payment": "Lägg till betalning",
|
|
170
|
+
"Recorded now": "Registrerat nu",
|
|
171
|
+
"Remaining due": "Återstående att betala",
|
|
172
|
+
"Remaining to allocate": "Återstår att fördela",
|
|
173
|
+
"This document must be fully paid on creation": "Det här dokumentet måste vara fullt betalt vid skapande",
|
|
174
|
+
"Record one or more payments on creation": "Registrera en eller flera betalningar vid skapande",
|
|
166
175
|
} as const;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import type { CreateInvoiceRequest } from "@spaceinvoices/js-sdk";
|
|
2
2
|
import type { CreateInvoiceSchema } from "@/ui/generated/schemas";
|
|
3
3
|
import { normalizePtDocumentInput, type PtDocumentInputForm } from "@/ui/lib/pt-document-input";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
buildDocumentBasePayload,
|
|
6
|
+
cleanupEmptyCustomerId,
|
|
7
|
+
normalizeClearableFormTextField,
|
|
8
|
+
prepareDocumentCustomerData,
|
|
9
|
+
prepareDocumentItems,
|
|
10
|
+
prepareDocumentSubmission,
|
|
11
|
+
} from "../../documents/create/prepare-document-submission";
|
|
5
12
|
|
|
6
13
|
type FursData = {
|
|
7
14
|
business_premise_name?: string;
|
|
@@ -103,3 +110,50 @@ export function prepareInvoiceSubmission(
|
|
|
103
110
|
}
|
|
104
111
|
return payload;
|
|
105
112
|
}
|
|
113
|
+
|
|
114
|
+
export function prepareInvoiceUpdateSubmission(
|
|
115
|
+
values: CreateInvoiceSchema & { pt?: PtDocumentInputForm | null },
|
|
116
|
+
options: Pick<PrepareOptions, "originalCustomer" | "wasCustomerFormShown" | "priceModes" | "eslog">,
|
|
117
|
+
): Record<string, unknown> {
|
|
118
|
+
const nextValues: any = {
|
|
119
|
+
...values,
|
|
120
|
+
customer: values.customer ? { ...values.customer } : values.customer,
|
|
121
|
+
items: values.items
|
|
122
|
+
? values.items.map((item: any) => ({ ...item, taxes: item?.taxes ? [...item.taxes] : item?.taxes }))
|
|
123
|
+
: values.items,
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
prepareDocumentCustomerData(nextValues, options);
|
|
127
|
+
cleanupEmptyCustomerId(nextValues);
|
|
128
|
+
nextValues.items = prepareDocumentItems(nextValues.items, options.priceModes ?? {});
|
|
129
|
+
|
|
130
|
+
const payload = buildDocumentBasePayload(nextValues, {
|
|
131
|
+
documentType: "invoice",
|
|
132
|
+
secondaryDate: values.date_due ?? undefined,
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
if (Array.isArray(nextValues.linked_documents)) {
|
|
136
|
+
payload.linked_documents = nextValues.linked_documents;
|
|
137
|
+
} else if (nextValues.linked_documents === null) {
|
|
138
|
+
payload.linked_documents = [];
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (nextValues.force_linked_documents !== undefined) {
|
|
142
|
+
payload.force_linked_documents = nextValues.force_linked_documents;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (options.eslog !== undefined) {
|
|
146
|
+
payload.eslog = {
|
|
147
|
+
validation_enabled: options.eslog.validation_enabled,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
for (const key of ["note", "payment_terms", "reference", "signature", "tax_clause", "footer"] as const) {
|
|
152
|
+
const normalized = normalizeClearableFormTextField((values as any)[key]);
|
|
153
|
+
if (normalized !== undefined) {
|
|
154
|
+
payload[key] = normalized;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return payload;
|
|
159
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateInvoice, Invoice, SDKMethodOptions, UpdateInvoice } from "@spaceinvoices/js-sdk";
|
|
1
|
+
import type { CreateInvoice, CustomCreateInvoice, Invoice, SDKMethodOptions, UpdateInvoice } from "@spaceinvoices/js-sdk";
|
|
2
2
|
import { documents, invoices } from "@spaceinvoices/js-sdk";
|
|
3
3
|
import { useQuery } from "@tanstack/react-query";
|
|
4
4
|
import { createResourceHooks } from "@/ui/hooks/create-resource-hooks";
|
|
@@ -25,9 +25,18 @@ const {
|
|
|
25
25
|
INVOICES_CACHE_KEY,
|
|
26
26
|
);
|
|
27
27
|
|
|
28
|
+
const { useCreateResource: useCreateCustomInvoice } = createResourceHooks<Invoice, CustomCreateInvoice, UpdateInvoice>(
|
|
29
|
+
{
|
|
30
|
+
create: invoices.createCustom,
|
|
31
|
+
update: invoices.update,
|
|
32
|
+
delete: voidInvoice,
|
|
33
|
+
},
|
|
34
|
+
INVOICES_CACHE_KEY,
|
|
35
|
+
);
|
|
36
|
+
|
|
28
37
|
// Re-export document types for backward compatibility
|
|
29
38
|
export type { DocumentTypes } from "../documents/types";
|
|
30
|
-
export { useCreateInvoice, useDeleteInvoice, useUpdateInvoice };
|
|
39
|
+
export { useCreateCustomInvoice, useCreateInvoice, useDeleteInvoice, useUpdateInvoice };
|
|
31
40
|
|
|
32
41
|
// ============================================================================
|
|
33
42
|
// Next Invoice Number Preview
|
|
@@ -18,6 +18,7 @@ import type {
|
|
|
18
18
|
import { Badge } from "@/ui/components/ui/badge";
|
|
19
19
|
import { Button } from "@/ui/components/ui/button";
|
|
20
20
|
import { Tooltip, TooltipContent, TooltipTrigger } from "@/ui/components/ui/tooltip";
|
|
21
|
+
import { getDisplayDocumentNumber } from "@/ui/lib/document-display";
|
|
21
22
|
import { getEslogSelectionState } from "@/ui/lib/eslog-export";
|
|
22
23
|
import { getFiscalizationFailureType } from "@/ui/lib/fiscalization";
|
|
23
24
|
import { createTranslation } from "@/ui/lib/translation";
|
|
@@ -240,7 +241,7 @@ export default function InvoiceListTable({
|
|
|
240
241
|
return (
|
|
241
242
|
<div className="flex items-center gap-2">
|
|
242
243
|
<Button variant="link" className="cursor-pointer py-0 underline" onClick={() => onRowClick?.(invoice)}>
|
|
243
|
-
{invoice
|
|
244
|
+
{getDisplayDocumentNumber(invoice as Invoice & { is_draft?: boolean }, t)}
|
|
244
245
|
</Button>
|
|
245
246
|
{(invoice as any).is_draft && (
|
|
246
247
|
<Badge
|
|
@@ -3,8 +3,11 @@ export default {
|
|
|
3
3
|
"Send invoice by email description":
|
|
4
4
|
"Send invoice #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
5
5
|
"Send Estimate by Email": "Send Estimate by Email",
|
|
6
|
+
"Send Proforma Invoice by Email": "Send Proforma Invoice by Email",
|
|
6
7
|
"Send estimate by email description":
|
|
7
8
|
"Send estimate #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
9
|
+
"Send proforma invoice by email description":
|
|
10
|
+
"Send proforma invoice #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
8
11
|
"Send Credit Note by Email": "Send Credit Note by Email",
|
|
9
12
|
"Send credit note by email description":
|
|
10
13
|
"Send credit note #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
@@ -18,6 +21,7 @@ export default {
|
|
|
18
21
|
"Subject (Optional)": "Subject (Optional)",
|
|
19
22
|
"Invoice Subject": "Invoice Subject",
|
|
20
23
|
"Estimate Subject": "Estimate Subject",
|
|
24
|
+
"Proforma Invoice Subject": "Proforma Invoice Subject",
|
|
21
25
|
"Credit Note Subject": "Credit Note Subject",
|
|
22
26
|
"Advance Invoice Subject": "Advance Invoice Subject",
|
|
23
27
|
"Delivery Note Subject": "Delivery Note Subject",
|
|
@@ -29,6 +33,7 @@ export default {
|
|
|
29
33
|
"Email sent": "Email sent",
|
|
30
34
|
"Invoice sent to": "Invoice sent to",
|
|
31
35
|
"Estimate sent to": "Estimate sent to",
|
|
36
|
+
"Proforma invoice sent to": "Proforma invoice sent to",
|
|
32
37
|
"Credit note sent to": "Credit note sent to",
|
|
33
38
|
"Advance invoice sent to": "Advance invoice sent to",
|
|
34
39
|
"Delivery note sent to": "Delivery note sent to",
|
|
@@ -3,8 +3,11 @@ export default {
|
|
|
3
3
|
"Send invoice by email description":
|
|
4
4
|
"Send invoice #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
5
5
|
"Send Estimate by Email": "Send Estimate by Email",
|
|
6
|
+
"Send Proforma Invoice by Email": "Send Proforma Invoice by Email",
|
|
6
7
|
"Send estimate by email description":
|
|
7
8
|
"Send estimate #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
9
|
+
"Send proforma invoice by email description":
|
|
10
|
+
"Send proforma invoice #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
8
11
|
"Send Credit Note by Email": "Send Credit Note by Email",
|
|
9
12
|
"Send credit note by email description":
|
|
10
13
|
"Send credit note #{number} to the customer by email. Markdown formatting is supported in the message body.",
|
|
@@ -18,6 +21,7 @@ export default {
|
|
|
18
21
|
"Subject (Optional)": "Subject (Optional)",
|
|
19
22
|
"Invoice Subject": "Invoice Subject",
|
|
20
23
|
"Estimate Subject": "Estimate Subject",
|
|
24
|
+
"Proforma Invoice Subject": "Proforma Invoice Subject",
|
|
21
25
|
"Credit Note Subject": "Credit Note Subject",
|
|
22
26
|
"Advance Invoice Subject": "Advance Invoice Subject",
|
|
23
27
|
"Delivery Note Subject": "Delivery Note Subject",
|
|
@@ -29,6 +33,7 @@ export default {
|
|
|
29
33
|
"Email sent": "Email sent",
|
|
30
34
|
"Invoice sent to": "Invoice sent to",
|
|
31
35
|
"Estimate sent to": "Estimate sent to",
|
|
36
|
+
"Proforma invoice sent to": "Proforma invoice sent to",
|
|
32
37
|
"Credit note sent to": "Credit note sent to",
|
|
33
38
|
"Advance invoice sent to": "Advance invoice sent to",
|
|
34
39
|
"Delivery note sent to": "Delivery note sent to",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Send Invoice by Email": "Rechnung per E-Mail senden",
|
|
3
3
|
"Send Estimate by Email": "Angebot per E-Mail senden",
|
|
4
|
+
"Send Proforma Invoice by Email": "Proformarechnung per E-Mail senden",
|
|
4
5
|
"Send Credit Note by Email": "Gutschrift per E-Mail senden",
|
|
5
6
|
"Send Advance Invoice by Email": "Vorauszahlungsrechnung per E-Mail senden",
|
|
6
7
|
"Send Delivery Note by Email": "Lieferschein per E-Mail senden",
|
|
@@ -8,6 +9,8 @@ export default {
|
|
|
8
9
|
"Senden Sie Rechnung #{number} per E-Mail an einen Kunden. Markdown-Formatierung wird im Text unterstützt.",
|
|
9
10
|
"Send estimate by email description":
|
|
10
11
|
"Senden Sie Angebot #{number} per E-Mail an einen Kunden. Markdown-Formatierung wird im Text unterstützt.",
|
|
12
|
+
"Send proforma invoice by email description":
|
|
13
|
+
"Senden Sie Proformarechnung #{number} per E-Mail an einen Kunden. Markdown-Formatierung wird im Text unterstützt.",
|
|
11
14
|
"Send credit note by email description":
|
|
12
15
|
"Senden Sie Gutschrift #{number} per E-Mail an einen Kunden. Markdown-Formatierung wird im Text unterstützt.",
|
|
13
16
|
"Send advance invoice by email description":
|
|
@@ -18,6 +21,7 @@ export default {
|
|
|
18
21
|
"Subject (Optional)": "Betreff (Optional)",
|
|
19
22
|
"Invoice Subject": "Rechnungsbetreff",
|
|
20
23
|
"Estimate Subject": "Angebotsbetreff",
|
|
24
|
+
"Proforma Invoice Subject": "Betreff der Proformarechnung",
|
|
21
25
|
"Credit Note Subject": "Gutschriftbetreff",
|
|
22
26
|
"Advance Invoice Subject": "Vorauszahlungsrechnungsbetreff",
|
|
23
27
|
"Delivery Note Subject": "Lieferscheinbetreff",
|
|
@@ -29,6 +33,7 @@ export default {
|
|
|
29
33
|
"Email sent": "E-Mail gesendet",
|
|
30
34
|
"Invoice sent to": "Rechnung gesendet an",
|
|
31
35
|
"Estimate sent to": "Angebot gesendet an",
|
|
36
|
+
"Proforma invoice sent to": "Proformarechnung gesendet an",
|
|
32
37
|
"Credit note sent to": "Gutschrift gesendet an",
|
|
33
38
|
"Advance invoice sent to": "Vorauszahlungsrechnung gesendet an",
|
|
34
39
|
"Delivery note sent to": "Lieferschein gesendet an",
|