@spaceinvoices/react-ui 0.4.12 → 0.4.32
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 +190 -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 +254 -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 +133 -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 +151 -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 +196 -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 +231 -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 +74 -32
- 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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Създай оферта",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Създай проформа фактура",
|
|
4
4
|
Estimate: "Оферта",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Проформа фактура",
|
|
6
|
+
"Click to switch to Proforma invoice": "Натиснете, за да превключите към проформа фактура",
|
|
7
|
+
"Click to switch to Estimate": "Натиснете, за да превключите към оферта",
|
|
8
8
|
Details: "Детайли",
|
|
9
9
|
Number: "Номер",
|
|
10
10
|
Date: "Дата",
|
|
11
11
|
"Due Date": "Краен срок",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Валидна до",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Описание",
|
|
45
45
|
Save: "Запази",
|
|
46
|
+
Update: "Актуализирай",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Валута",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Vytvořit nabídku",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Vytvořit proforma fakturu",
|
|
4
4
|
Estimate: "Nabídka",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proforma faktura",
|
|
6
|
+
"Click to switch to Proforma invoice": "Kliknutím přepnete na proforma fakturu",
|
|
7
|
+
"Click to switch to Estimate": "Kliknutím přepnete na nabídku",
|
|
8
8
|
Details: "Údaje",
|
|
9
9
|
Number: "Číslo",
|
|
10
10
|
Date: "Datum",
|
|
11
11
|
"Due Date": "Datum splatnosti",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Platné do",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Popis",
|
|
45
45
|
Save: "Uložit",
|
|
46
|
+
Update: "Aktualizovat",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Měna",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Angebot erstellen",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Proformarechnung erstellen",
|
|
4
4
|
Estimate: "Angebot",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Proformarechnung",
|
|
6
|
+
"Click to switch to Proforma invoice": "Klicken Sie, um zu Proformarechnung zu wechseln",
|
|
7
7
|
"Click to switch to Estimate": "Klicken Sie, um zu Angebot zu wechseln",
|
|
8
8
|
Details: "Details",
|
|
9
9
|
Number: "Nummer",
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
Discount: "Rabatt",
|
|
49
49
|
Description: "Beschreibung",
|
|
50
50
|
Save: "Speichern",
|
|
51
|
+
Update: "Aktualisieren",
|
|
51
52
|
"Save as Draft": "Als Entwurf speichern",
|
|
52
53
|
"Pick a date": "Datum auswählen",
|
|
53
54
|
// Currency
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Create Estimate",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Create Proforma invoice",
|
|
4
4
|
Estimate: "Estimate",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Proforma invoice",
|
|
6
|
+
"Click to switch to Proforma invoice": "Click to switch to Proforma invoice",
|
|
7
7
|
"Click to switch to Estimate": "Click to switch to Estimate",
|
|
8
8
|
Details: "Details",
|
|
9
9
|
Number: "Number",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Description",
|
|
45
45
|
Save: "Save",
|
|
46
|
+
Update: "Update",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Currency",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Crear presupuesto",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Crear factura proforma",
|
|
4
4
|
Estimate: "Presupuesto",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Factura proforma",
|
|
6
|
+
"Click to switch to Proforma invoice": "Haga clic para cambiar a Factura proforma",
|
|
7
7
|
"Click to switch to Estimate": "Haga clic para cambiar a Presupuesto",
|
|
8
8
|
Details: "Detalles",
|
|
9
9
|
Number: "Número",
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
Discount: "Descuento",
|
|
45
45
|
Description: "Descripción",
|
|
46
46
|
Save: "Guardar",
|
|
47
|
+
Update: "Actualizar",
|
|
47
48
|
"Save as Draft": "Guardar como borrador",
|
|
48
49
|
"Pick a date": "Seleccionar una fecha",
|
|
49
50
|
Currency: "Moneda",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Loo hinnapakkumine",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Loo proformaarve",
|
|
4
4
|
Estimate: "Hinnapakkumine",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proformaarve",
|
|
6
|
+
"Click to switch to Proforma invoice": "Klõpsake, et lülituda proformaarvele",
|
|
7
|
+
"Click to switch to Estimate": "Klõpsake, et lülituda hinnapakkumisele",
|
|
8
8
|
Details: "Üksikasjad",
|
|
9
9
|
Number: "Number",
|
|
10
10
|
Date: "Kuupäev",
|
|
11
11
|
"Due Date": "Tähtaeg",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Kehtib kuni",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Kirjeldus",
|
|
45
45
|
Save: "Salvesta",
|
|
46
|
+
Update: "Uuenda",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Valuuta",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"Create Estimate": "
|
|
3
|
-
"Create
|
|
2
|
+
"Create Estimate": "Luo tarjous",
|
|
3
|
+
"Create Proforma invoice": "Luo proformalasku",
|
|
4
4
|
Estimate: "Tarjous",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proformalasku",
|
|
6
|
+
"Click to switch to Proforma invoice": "Napsauta vaihtaaksesi proformalaskuun",
|
|
7
|
+
"Click to switch to Estimate": "Napsauta vaihtaaksesi tarjoukseen",
|
|
8
8
|
Details: "Tiedot",
|
|
9
|
-
Number: "
|
|
9
|
+
Number: "Numero",
|
|
10
10
|
Date: "Päivämäärä",
|
|
11
|
-
"Due Date": "
|
|
12
|
-
"Valid Until": "
|
|
11
|
+
"Due Date": "Eräpäivä",
|
|
12
|
+
"Valid Until": "Voimassa asti",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Description",
|
|
45
45
|
Save: "Save",
|
|
46
|
+
Update: "Päivitä",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Currency",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Créer un devis",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Créer une facture pro forma",
|
|
4
4
|
Estimate: "Devis",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Facture pro forma",
|
|
6
|
+
"Click to switch to Proforma invoice": "Cliquez pour passer à Facture pro forma",
|
|
7
7
|
"Click to switch to Estimate": "Cliquez pour passer à Devis",
|
|
8
8
|
Details: "Détails",
|
|
9
9
|
Number: "Numéro",
|
|
@@ -45,6 +45,7 @@ export default {
|
|
|
45
45
|
Discount: "Remise",
|
|
46
46
|
Description: "Description",
|
|
47
47
|
Save: "Enregistrer",
|
|
48
|
+
Update: "Mettre à jour",
|
|
48
49
|
"Save as Draft": "Enregistrer comme brouillon",
|
|
49
50
|
"Pick a date": "Choisir une date",
|
|
50
51
|
Currency: "Devise",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"Create Estimate": "Izradi
|
|
3
|
-
"Create
|
|
4
|
-
Estimate: "
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "Kliknite za prebacivanje na
|
|
2
|
+
"Create Estimate": "Izradi ponudu",
|
|
3
|
+
"Create Proforma invoice": "Izradi predračun",
|
|
4
|
+
Estimate: "Ponuda",
|
|
5
|
+
"Proforma invoice": "Predračun",
|
|
6
|
+
"Click to switch to Proforma invoice": "Kliknite za prebacivanje na predračun",
|
|
7
|
+
"Click to switch to Estimate": "Kliknite za prebacivanje na ponudu",
|
|
8
8
|
Details: "Pojedinosti",
|
|
9
9
|
Number: "Broj",
|
|
10
10
|
Date: "Datum",
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
Discount: "Popust",
|
|
45
45
|
Description: "Opis",
|
|
46
46
|
Save: "Spremi",
|
|
47
|
+
Update: "Ažuriraj",
|
|
47
48
|
"Save as Draft": "Spremi kao skicu",
|
|
48
49
|
"Pick a date": "Odaberi datum",
|
|
49
50
|
Currency: "Valuta",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Búa til tilboð",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Búa til proforma reikning",
|
|
4
4
|
Estimate: "Tilboð",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proforma reikningur",
|
|
6
|
+
"Click to switch to Proforma invoice": "Smelltu til að skipta yfir í proforma reikning",
|
|
7
|
+
"Click to switch to Estimate": "Smelltu til að skipta yfir í tilboð",
|
|
8
8
|
Details: "Upplýsingar",
|
|
9
9
|
Number: "Númer",
|
|
10
10
|
Date: "Dagsetning",
|
|
11
11
|
"Due Date": "Gjalddagi",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Gildir til",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Lýsing",
|
|
45
45
|
Save: "Vista",
|
|
46
|
+
Update: "Uppfæra",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Gjaldmiðill",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Crea preventivo",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Crea fattura proforma",
|
|
4
4
|
Estimate: "Preventivo",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Fattura proforma",
|
|
6
|
+
"Click to switch to Proforma invoice": "Clicca per passare a Fattura proforma",
|
|
7
7
|
"Click to switch to Estimate": "Clicca per passare a Preventivo",
|
|
8
8
|
Details: "Dettagli",
|
|
9
9
|
Number: "Numero",
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
Discount: "Sconto",
|
|
45
45
|
Description: "Descrizione",
|
|
46
46
|
Save: "Salva",
|
|
47
|
+
Update: "Aggiorna",
|
|
47
48
|
"Save as Draft": "Salva come bozza",
|
|
48
49
|
"Pick a date": "Seleziona una data",
|
|
49
50
|
Currency: "Valuta",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Opprett tilbud",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Opprett proformafaktura",
|
|
4
4
|
Estimate: "Tilbud",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proformafaktura",
|
|
6
|
+
"Click to switch to Proforma invoice": "Klikk for å bytte til proformafaktura",
|
|
7
|
+
"Click to switch to Estimate": "Klikk for å bytte til tilbud",
|
|
8
8
|
Details: "Detaljer",
|
|
9
9
|
Number: "Nummer",
|
|
10
10
|
Date: "Dato",
|
|
11
11
|
"Due Date": "Forfallsdato",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Gyldig til",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Beskrivelse",
|
|
45
45
|
Save: "Lagre",
|
|
46
|
+
Update: "Oppdater",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Valuta",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Offerte aanmaken",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Proforma factuur aanmaken",
|
|
4
4
|
Estimate: "Offerte",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Proforma factuur",
|
|
6
|
+
"Click to switch to Proforma invoice": "Klik om naar Proforma factuur te wisselen",
|
|
7
7
|
"Click to switch to Estimate": "Klik om naar Offerte te wisselen",
|
|
8
8
|
Details: "Details",
|
|
9
9
|
Number: "Nummer",
|
|
@@ -45,6 +45,7 @@ export default {
|
|
|
45
45
|
Discount: "Korting",
|
|
46
46
|
Description: "Beschrijving",
|
|
47
47
|
Save: "Opslaan",
|
|
48
|
+
Update: "Bijwerken",
|
|
48
49
|
"Save as Draft": "Opslaan als concept",
|
|
49
50
|
"Pick a date": "Kies een datum",
|
|
50
51
|
Currency: "Valuta",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Utwórz kosztorys",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Utwórz fakturę pro forma",
|
|
4
4
|
Estimate: "Kosztorys",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Faktura pro forma",
|
|
6
|
+
"Click to switch to Proforma invoice": "Kliknij, aby przełączyć na Fakturę pro forma",
|
|
7
7
|
"Click to switch to Estimate": "Kliknij, aby przełączyć na Kosztorys",
|
|
8
8
|
Details: "Szczegóły",
|
|
9
9
|
Number: "Numer",
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
Discount: "Rabat",
|
|
45
45
|
Description: "Opis",
|
|
46
46
|
Save: "Zapisz",
|
|
47
|
+
Update: "Zaktualizuj",
|
|
47
48
|
"Save as Draft": "Zapisz jako szkic",
|
|
48
49
|
"Pick a date": "Wybierz datę",
|
|
49
50
|
Currency: "Waluta",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Criar orçamento",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Criar fatura proforma",
|
|
4
4
|
Estimate: "Orçamento",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
5
|
+
"Proforma invoice": "Fatura proforma",
|
|
6
|
+
"Click to switch to Proforma invoice": "Clique para mudar para Fatura proforma",
|
|
7
7
|
"Click to switch to Estimate": "Clique para mudar para Orçamento",
|
|
8
8
|
Details: "Detalhes",
|
|
9
9
|
Number: "Número",
|
|
@@ -45,6 +45,7 @@ export default {
|
|
|
45
45
|
Discount: "Desconto",
|
|
46
46
|
Description: "Descrição",
|
|
47
47
|
Save: "Guardar",
|
|
48
|
+
Update: "Atualizar",
|
|
48
49
|
"Save as Draft": "Guardar como rascunho",
|
|
49
50
|
"Pick a date": "Selecionar uma data",
|
|
50
51
|
Currency: "Moeda",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Vytvoriť cenovú ponuku",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Vytvoriť proforma faktúru",
|
|
4
4
|
Estimate: "Cenová ponuka",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proforma faktúra",
|
|
6
|
+
"Click to switch to Proforma invoice": "Kliknutím prepnete na proforma faktúru",
|
|
7
|
+
"Click to switch to Estimate": "Kliknutím prepnete na cenovú ponuku",
|
|
8
8
|
Details: "Údaje",
|
|
9
9
|
Number: "Číslo",
|
|
10
10
|
Date: "Dátum",
|
|
11
11
|
"Due Date": "Dátum splatnosti",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Platné do",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Popis",
|
|
45
45
|
Save: "Uložiť",
|
|
46
|
+
Update: "Aktualizovať",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Mena",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"Create Estimate": "Ustvari
|
|
3
|
-
"Create
|
|
4
|
-
Estimate: "
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "Kliknite za preklop na
|
|
2
|
+
"Create Estimate": "Ustvari ponudbo",
|
|
3
|
+
"Create Proforma invoice": "Ustvari predračun",
|
|
4
|
+
Estimate: "Ponudba",
|
|
5
|
+
"Proforma invoice": "Predračun",
|
|
6
|
+
"Click to switch to Proforma invoice": "Kliknite za preklop na predračun",
|
|
7
|
+
"Click to switch to Estimate": "Kliknite za preklop na ponudbo",
|
|
8
8
|
Details: "Podrobnosti",
|
|
9
9
|
Number: "Številka",
|
|
10
10
|
Date: "Datum",
|
|
@@ -47,6 +47,7 @@ export default {
|
|
|
47
47
|
Discount: "Popust",
|
|
48
48
|
Description: "Opis",
|
|
49
49
|
Save: "Shrani",
|
|
50
|
+
Update: "Posodobi",
|
|
50
51
|
"Save as Draft": "Shrani kot osnutek",
|
|
51
52
|
"Pick a date": "Izberi datum",
|
|
52
53
|
// Currency
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"Create Estimate": "Skapa offert",
|
|
3
|
-
"Create
|
|
3
|
+
"Create Proforma invoice": "Skapa proformafaktura",
|
|
4
4
|
Estimate: "Offert",
|
|
5
|
-
|
|
6
|
-
"Click to switch to
|
|
7
|
-
"Click to switch to Estimate": "
|
|
5
|
+
"Proforma invoice": "Proformafaktura",
|
|
6
|
+
"Click to switch to Proforma invoice": "Klicka för att växla till proformafaktura",
|
|
7
|
+
"Click to switch to Estimate": "Klicka för att växla till offert",
|
|
8
8
|
Details: "Detaljer",
|
|
9
9
|
Number: "Nummer",
|
|
10
10
|
Date: "Datum",
|
|
11
11
|
"Due Date": "Förfallodatum",
|
|
12
|
-
"Valid Until": "
|
|
12
|
+
"Valid Until": "Giltig till",
|
|
13
13
|
Recipient: "Recipient",
|
|
14
14
|
"Search or create customer...": "Search or create customer...",
|
|
15
15
|
Clear: "Clear",
|
|
@@ -43,6 +43,7 @@ export default {
|
|
|
43
43
|
Discount: "Discount",
|
|
44
44
|
Description: "Beskrivning",
|
|
45
45
|
Save: "Spara",
|
|
46
|
+
Update: "Uppdatera",
|
|
46
47
|
"Save as Draft": "Save as Draft",
|
|
47
48
|
"Pick a date": "Pick a date",
|
|
48
49
|
Currency: "Valuta",
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { CreateEstimateRequest } from "@spaceinvoices/js-sdk";
|
|
2
2
|
import type { CreateEstimateSchema } 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
|
+
prepareDocumentCustomerData,
|
|
8
|
+
prepareDocumentItems,
|
|
9
|
+
prepareDocumentSubmission,
|
|
10
|
+
} from "../../documents/create/prepare-document-submission";
|
|
5
11
|
import type { CustomerData } from "../../documents/create/use-document-customer-form";
|
|
6
12
|
|
|
7
13
|
/** Map of item index to gross price mode */
|
|
@@ -11,8 +17,8 @@ type PrepareOptions = {
|
|
|
11
17
|
originalCustomer: CustomerData | null;
|
|
12
18
|
/** Map of item index to gross price mode (collected from component state) */
|
|
13
19
|
priceModes?: PriceModesMap;
|
|
14
|
-
/** Title type: "estimate" or "
|
|
15
|
-
titleType?: "estimate" | "
|
|
20
|
+
/** Title type: "estimate" or "proforma_invoice" */
|
|
21
|
+
titleType?: "estimate" | "proforma_invoice";
|
|
16
22
|
/** Whether to save as draft (skips numbering) */
|
|
17
23
|
isDraft?: boolean;
|
|
18
24
|
};
|
|
@@ -40,3 +46,31 @@ export function prepareEstimateSubmission(
|
|
|
40
46
|
...(pt ? { pt } : {}),
|
|
41
47
|
};
|
|
42
48
|
}
|
|
49
|
+
|
|
50
|
+
export function prepareEstimateUpdateSubmission(
|
|
51
|
+
values: CreateEstimateSchema & { pt?: PtDocumentInputForm | null },
|
|
52
|
+
options: Pick<PrepareOptions, "originalCustomer" | "priceModes" | "titleType">,
|
|
53
|
+
): Record<string, unknown> {
|
|
54
|
+
const nextValues: any = {
|
|
55
|
+
...values,
|
|
56
|
+
customer: values.customer ? { ...values.customer } : values.customer,
|
|
57
|
+
items: values.items
|
|
58
|
+
? values.items.map((item: any) => ({ ...item, taxes: item?.taxes ? [...item.taxes] : item?.taxes }))
|
|
59
|
+
: values.items,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
prepareDocumentCustomerData(nextValues, {
|
|
63
|
+
originalCustomer: options.originalCustomer,
|
|
64
|
+
wasCustomerFormShown: true,
|
|
65
|
+
});
|
|
66
|
+
cleanupEmptyCustomerId(nextValues);
|
|
67
|
+
nextValues.items = prepareDocumentItems(nextValues.items, options.priceModes ?? {});
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
...buildDocumentBasePayload(nextValues, {
|
|
71
|
+
documentType: "estimate",
|
|
72
|
+
secondaryDate: values.date_valid_till ?? undefined,
|
|
73
|
+
}),
|
|
74
|
+
...(options.titleType ? { title_type: options.titleType } : {}),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateEstimateRequest, Estimate, UpdateEstimate } from "@spaceinvoices/js-sdk";
|
|
1
|
+
import type { CreateEstimateRequest, CustomCreateEstimate, Estimate, UpdateEstimate } from "@spaceinvoices/js-sdk";
|
|
2
2
|
import { estimates } from "@spaceinvoices/js-sdk";
|
|
3
3
|
|
|
4
4
|
import { createResourceHooks } from "@/ui/hooks/create-resource-hooks";
|
|
@@ -24,4 +24,13 @@ const {
|
|
|
24
24
|
ESTIMATES_CACHE_KEY,
|
|
25
25
|
);
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
const { useCreateResource: useCreateCustomEstimate } = createResourceHooks<Estimate, CustomCreateEstimate, UpdateEstimate>(
|
|
28
|
+
{
|
|
29
|
+
create: estimates.createCustom,
|
|
30
|
+
update: estimates.update,
|
|
31
|
+
delete: deleteEstimate,
|
|
32
|
+
},
|
|
33
|
+
ESTIMATES_CACHE_KEY,
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
export { useCreateCustomEstimate, useCreateEstimate, useDeleteEstimate, useUpdateEstimate };
|
|
@@ -15,6 +15,7 @@ import type {
|
|
|
15
15
|
} from "@/ui/components/table/types";
|
|
16
16
|
import { Badge } from "@/ui/components/ui/badge";
|
|
17
17
|
import { Button } from "@/ui/components/ui/button";
|
|
18
|
+
import { getDisplayDocumentNumber } from "@/ui/lib/document-display";
|
|
18
19
|
import { getEslogSelectionState } from "@/ui/lib/eslog-export";
|
|
19
20
|
import { createTranslation } from "@/ui/lib/translation";
|
|
20
21
|
|
|
@@ -201,6 +202,15 @@ export default function EstimateListTable({
|
|
|
201
202
|
|
|
202
203
|
const columns: Column<Estimate>[] = useMemo(
|
|
203
204
|
() => [
|
|
205
|
+
{
|
|
206
|
+
id: "title_type",
|
|
207
|
+
header: t("Type"),
|
|
208
|
+
cell: (estimate) => (
|
|
209
|
+
<Badge variant="outline">
|
|
210
|
+
{estimate.title_type === "proforma_invoice" ? t("Proforma invoice") : t("Estimate")}
|
|
211
|
+
</Badge>
|
|
212
|
+
),
|
|
213
|
+
},
|
|
204
214
|
{
|
|
205
215
|
id: "number",
|
|
206
216
|
header: t("Number"),
|
|
@@ -210,7 +220,7 @@ export default function EstimateListTable({
|
|
|
210
220
|
cell: (estimate) => (
|
|
211
221
|
<div className="flex items-center gap-2">
|
|
212
222
|
<Button variant="link" className="cursor-pointer py-0 underline" onClick={() => onRowClick?.(estimate)}>
|
|
213
|
-
{estimate
|
|
223
|
+
{getDisplayDocumentNumber(estimate as Estimate & { is_draft?: boolean }, t)}
|
|
214
224
|
</Button>
|
|
215
225
|
{(estimate as any).is_draft && (
|
|
216
226
|
<Badge
|
|
@@ -9,6 +9,7 @@ export default {
|
|
|
9
9
|
"Copy to Invoice": "Copy to Invoice",
|
|
10
10
|
"Finalize draft documents before copying to invoice": "Finalize draft documents before copying to invoice",
|
|
11
11
|
Draft: "Draft",
|
|
12
|
+
Type: "Тип",
|
|
12
13
|
Number: "Номер",
|
|
13
14
|
Customer: "Клиент",
|
|
14
15
|
Date: "Дата",
|
|
@@ -23,6 +24,7 @@ export default {
|
|
|
23
24
|
"Downloading...": "Изтегляне...",
|
|
24
25
|
Duplicate: "Duplicate",
|
|
25
26
|
Estimate: "Оферта",
|
|
27
|
+
"Proforma invoice": "Проформа фактура",
|
|
26
28
|
"Failed to download PDF": "Неуспешно изтегляне на PDF",
|
|
27
29
|
"Search...": "Search...",
|
|
28
30
|
Filters: "Filters",
|
|
@@ -9,6 +9,7 @@ export default {
|
|
|
9
9
|
"Copy to Invoice": "Copy to Invoice",
|
|
10
10
|
"Finalize draft documents before copying to invoice": "Finalize draft documents before copying to invoice",
|
|
11
11
|
Draft: "Draft",
|
|
12
|
+
Type: "Typ",
|
|
12
13
|
Number: "Číslo",
|
|
13
14
|
Customer: "Zákazník",
|
|
14
15
|
Date: "Datum",
|
|
@@ -23,6 +24,7 @@ export default {
|
|
|
23
24
|
"Downloading...": "Stahování...",
|
|
24
25
|
Duplicate: "Duplicate",
|
|
25
26
|
Estimate: "Nabídka",
|
|
27
|
+
"Proforma invoice": "Proforma faktura",
|
|
26
28
|
"Failed to download PDF": "Stažení PDF se nezdařilo",
|
|
27
29
|
"Search...": "Search...",
|
|
28
30
|
Filters: "Filters",
|
|
@@ -39,4 +39,6 @@ export default {
|
|
|
39
39
|
"Copy to Invoice": "In Rechnung kopieren",
|
|
40
40
|
"Finalize draft documents before copying to invoice":
|
|
41
41
|
"Entwurfsdokumente abschließen, bevor Sie in eine Rechnung kopieren",
|
|
42
|
+
Type: "Typ",
|
|
43
|
+
"Proforma invoice": "Proformarechnung",
|
|
42
44
|
} as const;
|
|
@@ -9,6 +9,7 @@ export default {
|
|
|
9
9
|
"Copy to Invoice": "Copy to Invoice",
|
|
10
10
|
"Finalize draft documents before copying to invoice": "Finalize draft documents before copying to invoice",
|
|
11
11
|
Draft: "Draft",
|
|
12
|
+
Type: "Type",
|
|
12
13
|
Number: "Number",
|
|
13
14
|
Customer: "Customer",
|
|
14
15
|
Date: "Date",
|
|
@@ -23,6 +24,7 @@ export default {
|
|
|
23
24
|
"Downloading...": "Downloading...",
|
|
24
25
|
Duplicate: "Duplicate",
|
|
25
26
|
Estimate: "Estimate",
|
|
27
|
+
"Proforma invoice": "Proforma invoice",
|
|
26
28
|
"Failed to download PDF": "Failed to download PDF",
|
|
27
29
|
"Search...": "Search...",
|
|
28
30
|
Filters: "Filters",
|