@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.
Files changed (334) hide show
  1. package/cli/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/src/common/autocomplete.tsx +7 -1
  4. package/src/components/advance-invoices/advance-invoices.hooks.ts +35 -44
  5. package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +190 -73
  6. package/src/components/advance-invoices/create/locales/bg.ts +17 -9
  7. package/src/components/advance-invoices/create/locales/cs.ts +17 -9
  8. package/src/components/advance-invoices/create/locales/de.ts +15 -7
  9. package/src/components/advance-invoices/create/locales/en.ts +15 -7
  10. package/src/components/advance-invoices/create/locales/es.ts +15 -7
  11. package/src/components/advance-invoices/create/locales/et.ts +17 -9
  12. package/src/components/advance-invoices/create/locales/fi.ts +18 -10
  13. package/src/components/advance-invoices/create/locales/fr.ts +16 -8
  14. package/src/components/advance-invoices/create/locales/hr.ts +15 -7
  15. package/src/components/advance-invoices/create/locales/is.ts +17 -9
  16. package/src/components/advance-invoices/create/locales/it.ts +15 -7
  17. package/src/components/advance-invoices/create/locales/nb.ts +17 -9
  18. package/src/components/advance-invoices/create/locales/nl.ts +15 -7
  19. package/src/components/advance-invoices/create/locales/pl.ts +17 -9
  20. package/src/components/advance-invoices/create/locales/pt.ts +16 -8
  21. package/src/components/advance-invoices/create/locales/sk.ts +17 -9
  22. package/src/components/advance-invoices/create/locales/sl.ts +14 -5
  23. package/src/components/advance-invoices/create/locales/sv.ts +17 -9
  24. package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +47 -1
  25. package/src/components/advance-invoices/list/list-table.tsx +2 -1
  26. package/src/components/credit-notes/create/create-credit-note-form.tsx +254 -85
  27. package/src/components/credit-notes/create/locales/bg.ts +22 -8
  28. package/src/components/credit-notes/create/locales/cs.ts +22 -8
  29. package/src/components/credit-notes/create/locales/de.ts +20 -7
  30. package/src/components/credit-notes/create/locales/en.ts +19 -5
  31. package/src/components/credit-notes/create/locales/es.ts +20 -7
  32. package/src/components/credit-notes/create/locales/et.ts +22 -8
  33. package/src/components/credit-notes/create/locales/fi.ts +23 -9
  34. package/src/components/credit-notes/create/locales/fr.ts +21 -8
  35. package/src/components/credit-notes/create/locales/hr.ts +20 -7
  36. package/src/components/credit-notes/create/locales/is.ts +22 -8
  37. package/src/components/credit-notes/create/locales/it.ts +20 -7
  38. package/src/components/credit-notes/create/locales/nb.ts +22 -8
  39. package/src/components/credit-notes/create/locales/nl.ts +20 -7
  40. package/src/components/credit-notes/create/locales/pl.ts +22 -9
  41. package/src/components/credit-notes/create/locales/pt.ts +21 -8
  42. package/src/components/credit-notes/create/locales/sk.ts +22 -8
  43. package/src/components/credit-notes/create/locales/sl.ts +19 -5
  44. package/src/components/credit-notes/create/locales/sv.ts +22 -8
  45. package/src/components/credit-notes/create/prepare-credit-note-submission.ts +35 -1
  46. package/src/components/credit-notes/credit-notes.hooks.ts +21 -2
  47. package/src/components/credit-notes/list/list-table.tsx +2 -1
  48. package/src/components/delivery-notes/create/create-delivery-note-form.tsx +133 -30
  49. package/src/components/delivery-notes/create/locales/bg.ts +1 -0
  50. package/src/components/delivery-notes/create/locales/cs.ts +1 -0
  51. package/src/components/delivery-notes/create/locales/de.ts +1 -0
  52. package/src/components/delivery-notes/create/locales/en.ts +1 -0
  53. package/src/components/delivery-notes/create/locales/es.ts +1 -0
  54. package/src/components/delivery-notes/create/locales/et.ts +1 -0
  55. package/src/components/delivery-notes/create/locales/fi.ts +1 -0
  56. package/src/components/delivery-notes/create/locales/fr.ts +1 -0
  57. package/src/components/delivery-notes/create/locales/hr.ts +1 -0
  58. package/src/components/delivery-notes/create/locales/is.ts +1 -0
  59. package/src/components/delivery-notes/create/locales/it.ts +1 -0
  60. package/src/components/delivery-notes/create/locales/nb.ts +1 -0
  61. package/src/components/delivery-notes/create/locales/nl.ts +1 -0
  62. package/src/components/delivery-notes/create/locales/pl.ts +1 -0
  63. package/src/components/delivery-notes/create/locales/pt.ts +1 -0
  64. package/src/components/delivery-notes/create/locales/sk.ts +1 -0
  65. package/src/components/delivery-notes/create/locales/sl.ts +1 -0
  66. package/src/components/delivery-notes/create/locales/sv.ts +1 -0
  67. package/src/components/delivery-notes/create/prepare-delivery-note-submission.ts +34 -1
  68. package/src/components/delivery-notes/delivery-notes.hooks.ts +15 -1
  69. package/src/components/delivery-notes/list/list-table.tsx +2 -1
  70. package/src/components/documents/create/custom-create-template.ts +151 -0
  71. package/src/components/documents/create/document-add-item-form.tsx +12 -8
  72. package/src/components/documents/create/document-add-item-tax-rate-field.tsx +1 -2
  73. package/src/components/documents/create/document-date-validation.ts +111 -0
  74. package/src/components/documents/create/document-details-section.tsx +93 -48
  75. package/src/components/documents/create/document-form-item.ts +67 -0
  76. package/src/components/documents/create/document-item-validation.ts +6 -2
  77. package/src/components/documents/create/form-types.ts +2 -2
  78. package/src/components/documents/create/linked-documents-info.tsx +2 -11
  79. package/src/components/documents/create/live-preview.tsx +3 -3
  80. package/src/components/documents/create/mark-as-paid-section.tsx +14 -11
  81. package/src/components/documents/create/payment-rows.ts +30 -0
  82. package/src/components/documents/create/prepare-document-submission.ts +143 -103
  83. package/src/components/documents/create/prepare-preview-data.ts +12 -0
  84. package/src/components/documents/create/preserved-expected-total.ts +90 -0
  85. package/src/components/documents/public/public-document-summary.tsx +6 -13
  86. package/src/components/documents/view/document-actions-bar.tsx +10 -1
  87. package/src/components/documents/view/document-details-card.tsx +4 -12
  88. package/src/components/documents/view/document-relations-list.tsx +4 -4
  89. package/src/components/documents/view/locales/bg.ts +8 -8
  90. package/src/components/documents/view/locales/cs.ts +8 -8
  91. package/src/components/documents/view/locales/de.ts +1 -1
  92. package/src/components/documents/view/locales/en.ts +14 -14
  93. package/src/components/documents/view/locales/es.ts +1 -1
  94. package/src/components/documents/view/locales/et.ts +8 -8
  95. package/src/components/documents/view/locales/fi.ts +10 -10
  96. package/src/components/documents/view/locales/fr.ts +1 -1
  97. package/src/components/documents/view/locales/hr.ts +6 -6
  98. package/src/components/documents/view/locales/is.ts +8 -8
  99. package/src/components/documents/view/locales/it.ts +1 -1
  100. package/src/components/documents/view/locales/nb.ts +8 -8
  101. package/src/components/documents/view/locales/nl.ts +1 -1
  102. package/src/components/documents/view/locales/pl.ts +1 -1
  103. package/src/components/documents/view/locales/pt.ts +1 -1
  104. package/src/components/documents/view/locales/sk.ts +8 -8
  105. package/src/components/documents/view/locales/sl.ts +9 -9
  106. package/src/components/documents/view/locales/sv.ts +1 -1
  107. package/src/components/documents/view/use-document-download.ts +2 -2
  108. package/src/components/entities/entity-settings-form/locales/bg.ts +7 -0
  109. package/src/components/entities/entity-settings-form/locales/cs.ts +7 -0
  110. package/src/components/entities/entity-settings-form/locales/de.ts +9 -0
  111. package/src/components/entities/entity-settings-form/locales/en.ts +7 -0
  112. package/src/components/entities/entity-settings-form/locales/es.ts +7 -0
  113. package/src/components/entities/entity-settings-form/locales/et.ts +7 -0
  114. package/src/components/entities/entity-settings-form/locales/fi.ts +7 -0
  115. package/src/components/entities/entity-settings-form/locales/fr.ts +7 -0
  116. package/src/components/entities/entity-settings-form/locales/hr.ts +7 -0
  117. package/src/components/entities/entity-settings-form/locales/is.ts +7 -0
  118. package/src/components/entities/entity-settings-form/locales/it.ts +7 -0
  119. package/src/components/entities/entity-settings-form/locales/nb.ts +7 -0
  120. package/src/components/entities/entity-settings-form/locales/nl.ts +7 -0
  121. package/src/components/entities/entity-settings-form/locales/pl.ts +7 -0
  122. package/src/components/entities/entity-settings-form/locales/pt.ts +7 -0
  123. package/src/components/entities/entity-settings-form/locales/sk.ts +7 -0
  124. package/src/components/entities/entity-settings-form/locales/sl.ts +12 -4
  125. package/src/components/entities/entity-settings-form/locales/sv.ts +7 -0
  126. package/src/components/entities/settings/tax-rules-settings-form.tsx +36 -0
  127. package/src/components/estimates/create/create-estimate-form.tsx +196 -47
  128. package/src/components/estimates/create/locales/bg.ts +6 -5
  129. package/src/components/estimates/create/locales/cs.ts +6 -5
  130. package/src/components/estimates/create/locales/de.ts +4 -3
  131. package/src/components/estimates/create/locales/en.ts +4 -3
  132. package/src/components/estimates/create/locales/es.ts +4 -3
  133. package/src/components/estimates/create/locales/et.ts +6 -5
  134. package/src/components/estimates/create/locales/fi.ts +9 -8
  135. package/src/components/estimates/create/locales/fr.ts +4 -3
  136. package/src/components/estimates/create/locales/hr.ts +7 -6
  137. package/src/components/estimates/create/locales/is.ts +6 -5
  138. package/src/components/estimates/create/locales/it.ts +4 -3
  139. package/src/components/estimates/create/locales/nb.ts +6 -5
  140. package/src/components/estimates/create/locales/nl.ts +4 -3
  141. package/src/components/estimates/create/locales/pl.ts +4 -3
  142. package/src/components/estimates/create/locales/pt.ts +4 -3
  143. package/src/components/estimates/create/locales/sk.ts +6 -5
  144. package/src/components/estimates/create/locales/sl.ts +7 -6
  145. package/src/components/estimates/create/locales/sv.ts +6 -5
  146. package/src/components/estimates/create/prepare-estimate-submission.ts +37 -3
  147. package/src/components/estimates/estimates.hooks.ts +11 -2
  148. package/src/components/estimates/list/list-table.tsx +11 -1
  149. package/src/components/estimates/list/locales/bg.ts +2 -0
  150. package/src/components/estimates/list/locales/cs.ts +2 -0
  151. package/src/components/estimates/list/locales/de.ts +2 -0
  152. package/src/components/estimates/list/locales/en.ts +2 -0
  153. package/src/components/estimates/list/locales/es.ts +2 -0
  154. package/src/components/estimates/list/locales/et.ts +2 -0
  155. package/src/components/estimates/list/locales/fi.ts +2 -0
  156. package/src/components/estimates/list/locales/fr.ts +2 -0
  157. package/src/components/estimates/list/locales/hr.ts +7 -5
  158. package/src/components/estimates/list/locales/is.ts +2 -0
  159. package/src/components/estimates/list/locales/it.ts +2 -0
  160. package/src/components/estimates/list/locales/nb.ts +2 -0
  161. package/src/components/estimates/list/locales/nl.ts +2 -0
  162. package/src/components/estimates/list/locales/pl.ts +2 -0
  163. package/src/components/estimates/list/locales/pt.ts +2 -0
  164. package/src/components/estimates/list/locales/sk.ts +2 -0
  165. package/src/components/estimates/list/locales/sl.ts +9 -7
  166. package/src/components/estimates/list/locales/sv.ts +2 -0
  167. package/src/components/invoices/create/create-invoice-form.tsx +231 -60
  168. package/src/components/invoices/create/locales/bg.ts +23 -14
  169. package/src/components/invoices/create/locales/cs.ts +23 -14
  170. package/src/components/invoices/create/locales/de.ts +17 -9
  171. package/src/components/invoices/create/locales/en.ts +16 -7
  172. package/src/components/invoices/create/locales/es.ts +18 -9
  173. package/src/components/invoices/create/locales/et.ts +23 -14
  174. package/src/components/invoices/create/locales/fi.ts +24 -15
  175. package/src/components/invoices/create/locales/fr.ts +19 -11
  176. package/src/components/invoices/create/locales/hr.ts +18 -9
  177. package/src/components/invoices/create/locales/is.ts +23 -14
  178. package/src/components/invoices/create/locales/it.ts +19 -11
  179. package/src/components/invoices/create/locales/nb.ts +23 -14
  180. package/src/components/invoices/create/locales/nl.ts +19 -10
  181. package/src/components/invoices/create/locales/pl.ts +19 -11
  182. package/src/components/invoices/create/locales/pt.ts +19 -10
  183. package/src/components/invoices/create/locales/sk.ts +23 -14
  184. package/src/components/invoices/create/locales/sl.ts +17 -9
  185. package/src/components/invoices/create/locales/sv.ts +17 -8
  186. package/src/components/invoices/create/prepare-invoice-submission.ts +55 -1
  187. package/src/components/invoices/invoices.hooks.ts +11 -2
  188. package/src/components/invoices/list/list-table.tsx +2 -1
  189. package/src/components/invoices/send-email-dialog/locales/bg.ts +5 -0
  190. package/src/components/invoices/send-email-dialog/locales/cs.ts +5 -0
  191. package/src/components/invoices/send-email-dialog/locales/de.ts +5 -0
  192. package/src/components/invoices/send-email-dialog/locales/en.ts +5 -0
  193. package/src/components/invoices/send-email-dialog/locales/es.ts +5 -0
  194. package/src/components/invoices/send-email-dialog/locales/et.ts +5 -0
  195. package/src/components/invoices/send-email-dialog/locales/fi.ts +5 -0
  196. package/src/components/invoices/send-email-dialog/locales/fr.ts +5 -0
  197. package/src/components/invoices/send-email-dialog/locales/hr.ts +8 -3
  198. package/src/components/invoices/send-email-dialog/locales/is.ts +5 -0
  199. package/src/components/invoices/send-email-dialog/locales/it.ts +5 -0
  200. package/src/components/invoices/send-email-dialog/locales/nb.ts +5 -0
  201. package/src/components/invoices/send-email-dialog/locales/nl.ts +5 -0
  202. package/src/components/invoices/send-email-dialog/locales/pl.ts +5 -0
  203. package/src/components/invoices/send-email-dialog/locales/pt.ts +5 -0
  204. package/src/components/invoices/send-email-dialog/locales/sk.ts +5 -0
  205. package/src/components/invoices/send-email-dialog/locales/sl.ts +8 -3
  206. package/src/components/invoices/send-email-dialog/locales/sv.ts +5 -0
  207. package/src/components/invoices/send-email-dialog/send-email-dialog.tsx +2 -1
  208. package/src/components/items/item-combobox.tsx +4 -4
  209. package/src/components/payments/create-payment-form/create-payment-form.tsx +5 -2
  210. package/src/components/payments/edit-payment-form/edit-payment-form.tsx +5 -1
  211. package/src/components/recurring-invoices/create-recurring-invoice-form/create-recurring-invoice-form.tsx +98 -22
  212. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/bg.ts +26 -26
  213. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/cs.ts +25 -25
  214. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/et.ts +26 -26
  215. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/fi.ts +36 -36
  216. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/is.ts +26 -26
  217. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/nb.ts +26 -26
  218. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sk.ts +25 -25
  219. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sv.ts +26 -26
  220. package/src/components/recurring-invoices/list/list-row-actions.tsx +9 -1
  221. package/src/components/recurring-invoices/list/list-table.tsx +53 -5
  222. package/src/components/recurring-invoices/list/locales/bg.ts +4 -0
  223. package/src/components/recurring-invoices/list/locales/cs.ts +4 -0
  224. package/src/components/recurring-invoices/list/locales/de.ts +4 -0
  225. package/src/components/recurring-invoices/list/locales/en.ts +4 -0
  226. package/src/components/recurring-invoices/list/locales/es.ts +4 -0
  227. package/src/components/recurring-invoices/list/locales/et.ts +4 -0
  228. package/src/components/recurring-invoices/list/locales/fi.ts +4 -0
  229. package/src/components/recurring-invoices/list/locales/fr.ts +4 -0
  230. package/src/components/recurring-invoices/list/locales/hr.ts +4 -0
  231. package/src/components/recurring-invoices/list/locales/is.ts +4 -0
  232. package/src/components/recurring-invoices/list/locales/it.ts +4 -0
  233. package/src/components/recurring-invoices/list/locales/nb.ts +4 -0
  234. package/src/components/recurring-invoices/list/locales/nl.ts +4 -0
  235. package/src/components/recurring-invoices/list/locales/pl.ts +4 -0
  236. package/src/components/recurring-invoices/list/locales/pt.ts +4 -0
  237. package/src/components/recurring-invoices/list/locales/sk.ts +4 -0
  238. package/src/components/recurring-invoices/list/locales/sl.ts +4 -0
  239. package/src/components/recurring-invoices/list/locales/sv.ts +4 -0
  240. package/src/components/tax-reports/slovenia-tax-profile-step.tsx +4 -1
  241. package/src/components/tax-reports/slovenia-yearly-export-form.tsx +3 -0
  242. package/src/components/tax-reports/slovenia-yearly-review-step.tsx +2 -1
  243. package/src/components/ui/form.tsx +5 -13
  244. package/src/components/ui/select.tsx +0 -1
  245. package/src/components/ui/sidebar.tsx +2 -2
  246. package/src/generate-schemas.ts +132 -99
  247. package/src/generated/schemas/acceptentityinvitation_body.ts +4 -3
  248. package/src/generated/schemas/accountwebhook.ts +4 -8
  249. package/src/generated/schemas/addentityuser_body.ts +4 -3
  250. package/src/generated/schemas/advanceinvoice.ts +167 -168
  251. package/src/generated/schemas/authorizeshopify_body.ts +4 -3
  252. package/src/generated/schemas/calculatedocumentpreview.ts +120 -0
  253. package/src/generated/schemas/checktransactiontype.ts +35 -0
  254. package/src/generated/schemas/creditnote.ts +203 -76
  255. package/src/generated/schemas/customadvanceinvoice.ts +172 -165
  256. package/src/generated/schemas/customcreditnote.ts +183 -155
  257. package/src/generated/schemas/customdeliverynote.ts +166 -0
  258. package/src/generated/schemas/customer.ts +4 -8
  259. package/src/generated/schemas/customestimate.ts +123 -97
  260. package/src/generated/schemas/customincomingpurchasedocument.ts +142 -0
  261. package/src/generated/schemas/custominvoice.ts +183 -154
  262. package/src/generated/schemas/deliverynote.ts +124 -79
  263. package/src/generated/schemas/einvoice.ts +19 -0
  264. package/src/generated/schemas/einvoicingsettings.ts +21 -0
  265. package/src/generated/schemas/einvoicingsupplier.ts +45 -0
  266. package/src/generated/schemas/entity.ts +44 -40
  267. package/src/generated/schemas/entityapikey.ts +1 -3
  268. package/src/generated/schemas/entityuserrole.ts +1 -3
  269. package/src/generated/schemas/estimate.ts +120 -127
  270. package/src/generated/schemas/exportsloveniavodxml_body.ts +4 -3
  271. package/src/generated/schemas/exportsloveniayearlynormiranireport_body.ts +4 -3
  272. package/src/generated/schemas/finadevice.ts +15 -0
  273. package/src/generated/schemas/finalizedocument.ts +52 -0
  274. package/src/generated/schemas/finapremise.ts +15 -0
  275. package/src/generated/schemas/finasettings.ts +1 -3
  276. package/src/generated/schemas/furselectronicdevice.ts +15 -0
  277. package/src/generated/schemas/furssettings.ts +1 -3
  278. package/src/generated/schemas/image.ts +15 -0
  279. package/src/generated/schemas/incomingpurchasedocument.ts +7 -27
  280. package/src/generated/schemas/incomingpurchasedocumentattachment.ts +15 -0
  281. package/src/generated/schemas/incomingpurchasedocumentpayment.ts +1 -3
  282. package/src/generated/schemas/index.ts +20 -5
  283. package/src/generated/schemas/invoice.ts +182 -183
  284. package/src/generated/schemas/item.ts +6 -10
  285. package/src/generated/schemas/legacymigrationauth.ts +18 -0
  286. package/src/generated/schemas/me.ts +2 -24
  287. package/src/generated/schemas/migrationjob.ts +20 -0
  288. package/src/generated/schemas/order.ts +4 -8
  289. package/src/generated/schemas/orderintegration.ts +4 -8
  290. package/src/generated/schemas/payment.ts +4 -8
  291. package/src/generated/schemas/ptatcudseries.ts +1 -3
  292. package/src/generated/schemas/queryentitystats.ts +15 -0
  293. package/src/generated/schemas/recurringinvoice.ts +4 -8
  294. package/src/generated/schemas/registerfursmovablepremise_body.ts +1 -3
  295. package/src/generated/schemas/registerfursrealestatepremise_body.ts +1 -3
  296. package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +10 -16
  297. package/src/generated/schemas/rendercreditnotepreview_body.ts +10 -16
  298. package/src/generated/schemas/renderdeliverynotepreview_body.ts +9 -5
  299. package/src/generated/schemas/renderestimatepreview_body.ts +11 -7
  300. package/src/generated/schemas/renderinvoicepreview_body.ts +10 -16
  301. package/src/generated/schemas/reviewsloveniayearlynormiranireport.ts +15 -0
  302. package/src/generated/schemas/searcheinvoicingcustomer.ts +18 -0
  303. package/src/generated/schemas/senddocument_body.ts +1 -3
  304. package/src/generated/schemas/sendemail_body.ts +2 -24
  305. package/src/generated/schemas/sloveniataxprofile.ts +8 -10
  306. package/src/generated/schemas/starteslogexport_body.ts +4 -3
  307. package/src/generated/schemas/startpdfexport_body.ts +8 -87
  308. package/src/generated/schemas/stripeappconnect_body.ts +4 -3
  309. package/src/generated/schemas/stripeappcreateinvoice_body.ts +4 -6
  310. package/src/generated/schemas/stripeappmarketplaceauthorize.ts +15 -0
  311. package/src/generated/schemas/stripeappupdatesettings_body.ts +6 -6
  312. package/src/generated/schemas/supplier.ts +4 -8
  313. package/src/generated/schemas/syncshopifyorders_body.ts +4 -3
  314. package/src/generated/schemas/tax.ts +6 -8
  315. package/src/generated/schemas/uploadfile_body.ts +1 -3
  316. package/src/generated/schemas/uploadfurscertificate_body.ts +6 -6
  317. package/src/generated/schemas/userfinasettings.ts +1 -3
  318. package/src/generated/schemas/userfurssettings.ts +1 -3
  319. package/src/generated/schemas/userptsettings.ts +1 -3
  320. package/src/generated/schemas/voidinvoice_body.ts +8 -3
  321. package/src/generated/schemas/webhook.ts +4 -8
  322. package/src/generated/schemas/wlsubscriptionbillingemail.ts +17 -0
  323. package/src/hooks/use-duplicate-document.ts +74 -32
  324. package/src/lib/date-only.ts +58 -0
  325. package/src/lib/document-display.ts +18 -0
  326. package/src/lib/payment-display.ts +5 -3
  327. package/src/lib/schemas/shared.ts +11 -0
  328. package/src/providers/wl-subscription-provider.tsx +5 -0
  329. package/src/generated/schemas/account_webhook.ts +0 -43
  330. package/src/generated/schemas/previewadvanceinvoice_body.ts +0 -354
  331. package/src/generated/schemas/previewestimate_body.ts +0 -309
  332. package/src/generated/schemas/registerfinamovablepremise_body.ts +0 -26
  333. package/src/generated/schemas/registerfinarealestatepremise_body.ts +0 -37
  334. package/src/generated/schemas/renderdocument_body.ts +0 -594
@@ -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": "Enviar factura por correo",
3
3
  "Send Estimate by Email": "Enviar presupuesto por correo",
4
+ "Send Proforma Invoice by Email": "Enviar factura proforma por correo",
4
5
  "Send Credit Note by Email": "Enviar nota de crédito por correo",
5
6
  "Send Advance Invoice by Email": "Enviar factura anticipada por correo",
6
7
  "Send Delivery Note by Email": "Enviar albarán por correo",
@@ -8,6 +9,8 @@ export default {
8
9
  "Envíe la factura #{number} al cliente por correo electrónico. Se admite formato Markdown en el texto.",
9
10
  "Send estimate by email description":
10
11
  "Envíe el presupuesto #{number} al cliente por correo electrónico. Se admite formato Markdown en el texto.",
12
+ "Send proforma invoice by email description":
13
+ "Envíe la factura proforma #{number} al cliente por correo electrónico. Se admite formato Markdown en el texto.",
11
14
  "Send credit note by email description":
12
15
  "Envíe la nota de crédito #{number} al cliente por correo electrónico. Se admite formato Markdown en el texto.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Asunto (opcional)",
19
22
  "Invoice Subject": "Asunto de la factura",
20
23
  "Estimate Subject": "Asunto del presupuesto",
24
+ "Proforma Invoice Subject": "Asunto de la factura proforma",
21
25
  "Credit Note Subject": "Asunto de la nota de crédito",
22
26
  "Advance Invoice Subject": "Asunto de la factura anticipada",
23
27
  "Delivery Note Subject": "Asunto del albarán",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "Correo enviado",
30
34
  "Invoice sent to": "Factura enviada a",
31
35
  "Estimate sent to": "Presupuesto enviado a",
36
+ "Proforma invoice sent to": "Factura proforma enviada a",
32
37
  "Credit note sent to": "Nota de crédito enviada a",
33
38
  "Advance invoice sent to": "Factura anticipada enviada a",
34
39
  "Delivery note sent to": "Albarán enviado a",
@@ -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": "Envoyer la facture par e-mail",
3
3
  "Send Estimate by Email": "Envoyer le devis par e-mail",
4
+ "Send Proforma Invoice by Email": "Envoyer la facture pro forma par e-mail",
4
5
  "Send Credit Note by Email": "Envoyer l'avoir par e-mail",
5
6
  "Send Advance Invoice by Email": "Envoyer la facture d'acompte par e-mail",
6
7
  "Send Delivery Note by Email": "Envoyer le bon de livraison par e-mail",
@@ -8,6 +9,8 @@ export default {
8
9
  "Envoyez la facture #{number} au client par e-mail. Le formatage Markdown est pris en charge dans le texte.",
9
10
  "Send estimate by email description":
10
11
  "Envoyez le devis #{number} au client par e-mail. Le formatage Markdown est pris en charge dans le texte.",
12
+ "Send proforma invoice by email description":
13
+ "Envoyez la facture pro forma #{number} au client par e-mail. Le formatage Markdown est pris en charge dans le texte.",
11
14
  "Send credit note by email description":
12
15
  "Envoyez l'avoir #{number} au client par e-mail. Le formatage Markdown est pris en charge dans le texte.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Objet (facultatif)",
19
22
  "Invoice Subject": "Objet de la facture",
20
23
  "Estimate Subject": "Objet du devis",
24
+ "Proforma Invoice Subject": "Objet de la facture pro forma",
21
25
  "Credit Note Subject": "Objet de l'avoir",
22
26
  "Advance Invoice Subject": "Objet de la facture d'acompte",
23
27
  "Delivery Note Subject": "Objet du bon de livraison",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "E-mail envoyé",
30
34
  "Invoice sent to": "Facture envoyée à",
31
35
  "Estimate sent to": "Devis envoyé à",
36
+ "Proforma invoice sent to": "Facture pro forma envoyée à",
32
37
  "Credit note sent to": "Avoir envoyé à",
33
38
  "Advance invoice sent to": "Facture d'acompte envoyée à",
34
39
  "Delivery note sent to": "Bon de livraison envoyé à",
@@ -1,12 +1,15 @@
1
1
  export default {
2
2
  "Send Invoice by Email": "Pošalji račun e-mailom",
3
- "Send Estimate by Email": "Pošalji predračun e-mailom",
3
+ "Send Estimate by Email": "Pošalji ponudu e-mailom",
4
+ "Send Proforma Invoice by Email": "Pošalji predračun e-mailom",
4
5
  "Send Credit Note by Email": "Pošalji odobrenje e-mailom",
5
6
  "Send Advance Invoice by Email": "Pošalji avansni račun e-mailom",
6
7
  "Send Delivery Note by Email": "Pošalji otpremnicu e-mailom",
7
8
  "Send invoice by email description":
8
9
  "Pošaljite račun #{number} kupcu putem e-maila. Markdown formatiranje je podržano u tekstu.",
9
10
  "Send estimate by email description":
11
+ "Pošaljite ponudu #{number} kupcu putem e-maila. Markdown formatiranje je podržano u tekstu.",
12
+ "Send proforma invoice by email description":
10
13
  "Pošaljite predračun #{number} kupcu putem e-maila. Markdown formatiranje je podržano u tekstu.",
11
14
  "Send credit note by email description":
12
15
  "Pošaljite odobrenje #{number} kupcu putem e-maila. Markdown formatiranje je podržano u tekstu.",
@@ -17,7 +20,8 @@ export default {
17
20
  "Recipient Email": "E-mail primatelja",
18
21
  "Subject (Optional)": "Predmet (neobavezno)",
19
22
  "Invoice Subject": "Predmet računa",
20
- "Estimate Subject": "Predmet predračuna",
23
+ "Estimate Subject": "Predmet ponude",
24
+ "Proforma Invoice Subject": "Predmet predračuna",
21
25
  "Credit Note Subject": "Predmet odobrenja",
22
26
  "Advance Invoice Subject": "Predmet avansnog računa",
23
27
  "Delivery Note Subject": "Predmet otpremnice",
@@ -28,7 +32,8 @@ export default {
28
32
  "Send Email": "Pošalji e-mail",
29
33
  "Email sent": "E-mail poslan",
30
34
  "Invoice sent to": "Račun poslan na",
31
- "Estimate sent to": "Predračun poslan na",
35
+ "Estimate sent to": "Ponuda poslana na",
36
+ "Proforma invoice sent to": "Predračun poslan na",
32
37
  "Credit note sent to": "Odobrenje poslano na",
33
38
  "Advance invoice sent to": "Avansni račun poslan na",
34
39
  "Delivery note sent to": "Otpremnica poslana na",
@@ -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": "Invia fattura via e-mail",
3
3
  "Send Estimate by Email": "Invia preventivo via e-mail",
4
+ "Send Proforma Invoice by Email": "Invia fattura proforma via e-mail",
4
5
  "Send Credit Note by Email": "Invia nota di credito via e-mail",
5
6
  "Send Advance Invoice by Email": "Invia fattura anticipata via e-mail",
6
7
  "Send Delivery Note by Email": "Invia bolla di consegna via e-mail",
@@ -8,6 +9,8 @@ export default {
8
9
  "Invia la fattura #{number} al cliente via e-mail. La formattazione Markdown è supportata nel testo.",
9
10
  "Send estimate by email description":
10
11
  "Invia il preventivo #{number} al cliente via e-mail. La formattazione Markdown è supportata nel testo.",
12
+ "Send proforma invoice by email description":
13
+ "Invia la fattura proforma #{number} al cliente via e-mail. La formattazione Markdown è supportata nel testo.",
11
14
  "Send credit note by email description":
12
15
  "Invia la nota di credito #{number} al cliente via e-mail. La formattazione Markdown è supportata nel testo.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Oggetto (facoltativo)",
19
22
  "Invoice Subject": "Oggetto della fattura",
20
23
  "Estimate Subject": "Oggetto del preventivo",
24
+ "Proforma Invoice Subject": "Oggetto della fattura proforma",
21
25
  "Credit Note Subject": "Oggetto della nota di credito",
22
26
  "Advance Invoice Subject": "Oggetto della fattura anticipata",
23
27
  "Delivery Note Subject": "Oggetto della bolla di consegna",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "E-mail inviata",
30
34
  "Invoice sent to": "Fattura inviata a",
31
35
  "Estimate sent to": "Preventivo inviato a",
36
+ "Proforma invoice sent to": "Fattura proforma inviata a",
32
37
  "Credit note sent to": "Nota di credito inviata a",
33
38
  "Advance invoice sent to": "Fattura anticipata inviata a",
34
39
  "Delivery note sent to": "Bolla di consegna inviata a",
@@ -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": "Factuur per e-mail verzenden",
3
3
  "Send Estimate by Email": "Offerte per e-mail verzenden",
4
+ "Send Proforma Invoice by Email": "Proforma factuur per e-mail verzenden",
4
5
  "Send Credit Note by Email": "Creditnota per e-mail verzenden",
5
6
  "Send Advance Invoice by Email": "Voorschotfactuur per e-mail verzenden",
6
7
  "Send Delivery Note by Email": "Pakbon per e-mail verzenden",
@@ -8,6 +9,8 @@ export default {
8
9
  "Verstuur factuur #{number} per e-mail naar de klant. Markdown-opmaak wordt ondersteund in de tekst.",
9
10
  "Send estimate by email description":
10
11
  "Verstuur offerte #{number} per e-mail naar de klant. Markdown-opmaak wordt ondersteund in de tekst.",
12
+ "Send proforma invoice by email description":
13
+ "Verstuur proforma factuur #{number} per e-mail naar de klant. Markdown-opmaak wordt ondersteund in de tekst.",
11
14
  "Send credit note by email description":
12
15
  "Verstuur creditnota #{number} per e-mail naar de klant. Markdown-opmaak wordt ondersteund in de tekst.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Onderwerp (optioneel)",
19
22
  "Invoice Subject": "Factuuronderwerp",
20
23
  "Estimate Subject": "Offerteonderwerp",
24
+ "Proforma Invoice Subject": "Onderwerp van de proforma factuur",
21
25
  "Credit Note Subject": "Creditnotaonderwerp",
22
26
  "Advance Invoice Subject": "Voorschotfactuuronderwerp",
23
27
  "Delivery Note Subject": "Pakbononderwerp",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "E-mail verzonden",
30
34
  "Invoice sent to": "Factuur verzonden naar",
31
35
  "Estimate sent to": "Offerte verzonden naar",
36
+ "Proforma invoice sent to": "Proforma factuur verzonden naar",
32
37
  "Credit note sent to": "Creditnota verzonden naar",
33
38
  "Advance invoice sent to": "Voorschotfactuur verzonden naar",
34
39
  "Delivery note sent to": "Pakbon verzonden naar",
@@ -1,6 +1,7 @@
1
1
  export default {
2
2
  "Send Invoice by Email": "Wyślij fakturę e-mailem",
3
3
  "Send Estimate by Email": "Wyślij kosztorys e-mailem",
4
+ "Send Proforma Invoice by Email": "Wyślij fakturę pro forma e-mailem",
4
5
  "Send Credit Note by Email": "Wyślij note kredytową e-mailem",
5
6
  "Send Advance Invoice by Email": "Wyślij fakturę zaliczkową e-mailem",
6
7
  "Send Delivery Note by Email": "Wyślij dokument dostawy e-mailem",
@@ -8,6 +9,8 @@ export default {
8
9
  "Wyślij fakturę #{number} do klienta e-mailem. Formatowanie Markdown jest obsługiwane w treści.",
9
10
  "Send estimate by email description":
10
11
  "Wyślij kosztorys #{number} do klienta e-mailem. Formatowanie Markdown jest obsługiwane w treści.",
12
+ "Send proforma invoice by email description":
13
+ "Wyślij fakturę pro forma #{number} do klienta e-mailem. Formatowanie Markdown jest obsługiwane w treści.",
11
14
  "Send credit note by email description":
12
15
  "Wyślij notę kredytową #{number} do klienta e-mailem. Formatowanie Markdown jest obsługiwane w treści.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Temat (opcjonalnie)",
19
22
  "Invoice Subject": "Temat faktury",
20
23
  "Estimate Subject": "Temat kosztorysu",
24
+ "Proforma Invoice Subject": "Temat faktury pro forma",
21
25
  "Credit Note Subject": "Temat noty kredytowej",
22
26
  "Advance Invoice Subject": "Temat faktury zaliczkowej",
23
27
  "Delivery Note Subject": "Temat dokumentu dostawy",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "E-mail wysłany",
30
34
  "Invoice sent to": "Faktura wysłana do",
31
35
  "Estimate sent to": "Kosztorys wysłany do",
36
+ "Proforma invoice sent to": "Faktura pro forma wysłana do",
32
37
  "Credit note sent to": "Nota kredytowa wysłana do",
33
38
  "Advance invoice sent to": "Faktura zaliczkowa wysłana do",
34
39
  "Delivery note sent to": "Dokument dostawy wysłany do",
@@ -1,6 +1,7 @@
1
1
  export default {
2
2
  "Send Invoice by Email": "Enviar fatura por e-mail",
3
3
  "Send Estimate by Email": "Enviar orçamento por e-mail",
4
+ "Send Proforma Invoice by Email": "Enviar fatura proforma por e-mail",
4
5
  "Send Credit Note by Email": "Enviar nota de crédito por e-mail",
5
6
  "Send Advance Invoice by Email": "Enviar fatura adiantada por e-mail",
6
7
  "Send Delivery Note by Email": "Enviar guia de remessa por e-mail",
@@ -8,6 +9,8 @@ export default {
8
9
  "Envie a fatura #{number} ao cliente por e-mail. A formatação Markdown é suportada no texto.",
9
10
  "Send estimate by email description":
10
11
  "Envie o orçamento #{number} ao cliente por e-mail. A formatação Markdown é suportada no texto.",
12
+ "Send proforma invoice by email description":
13
+ "Envie a fatura proforma #{number} ao cliente por e-mail. A formatação Markdown é suportada no texto.",
11
14
  "Send credit note by email description":
12
15
  "Envie a nota de crédito #{number} ao cliente por e-mail. A formatação Markdown é suportada no texto.",
13
16
  "Send advance invoice by email description":
@@ -18,6 +21,7 @@ export default {
18
21
  "Subject (Optional)": "Assunto (opcional)",
19
22
  "Invoice Subject": "Assunto da fatura",
20
23
  "Estimate Subject": "Assunto do orçamento",
24
+ "Proforma Invoice Subject": "Assunto da fatura proforma",
21
25
  "Credit Note Subject": "Assunto da nota de crédito",
22
26
  "Advance Invoice Subject": "Assunto da fatura adiantada",
23
27
  "Delivery Note Subject": "Assunto da guia de remessa",
@@ -29,6 +33,7 @@ export default {
29
33
  "Email sent": "E-mail enviado",
30
34
  "Invoice sent to": "Fatura enviada para",
31
35
  "Estimate sent to": "Orçamento enviado para",
36
+ "Proforma invoice sent to": "Fatura proforma enviada para",
32
37
  "Credit note sent to": "Nota de crédito enviada para",
33
38
  "Advance invoice sent to": "Fatura adiantada enviada para",
34
39
  "Delivery note sent to": "Guia de remessa enviada para",
@@ -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,12 +1,15 @@
1
1
  export default {
2
2
  "Send Invoice by Email": "Pošlji račun po e-pošti",
3
- "Send Estimate by Email": "Pošlji predračun po e-pošti",
3
+ "Send Estimate by Email": "Pošlji ponudbo po e-pošti",
4
+ "Send Proforma Invoice by Email": "Pošlji predračun po e-pošti",
4
5
  "Send Credit Note by Email": "Pošlji dobropis po e-pošti",
5
6
  "Send Advance Invoice by Email": "Pošlji avansni račun po e-pošti",
6
7
  "Send Delivery Note by Email": "Pošlji dobavnico po e-pošti",
7
8
  "Send invoice by email description":
8
9
  "Pošljite račun #{number} stranki po e-pošti. V besedilu je podprto oblikovanje Markdown.",
9
10
  "Send estimate by email description":
11
+ "Pošljite ponudbo #{number} stranki po e-pošti. V besedilu je podprto oblikovanje Markdown.",
12
+ "Send proforma invoice by email description":
10
13
  "Pošljite predračun #{number} stranki po e-pošti. V besedilu je podprto oblikovanje Markdown.",
11
14
  "Send credit note by email description":
12
15
  "Pošljite dobropis #{number} stranki po e-pošti. V besedilu je podprto oblikovanje Markdown.",
@@ -17,7 +20,8 @@ export default {
17
20
  "Recipient Email": "E-pošta prejemnika",
18
21
  "Subject (Optional)": "Zadeva (neobvezno)",
19
22
  "Invoice Subject": "Zadeva računa",
20
- "Estimate Subject": "Zadeva predračuna",
23
+ "Estimate Subject": "Zadeva ponudbe",
24
+ "Proforma Invoice Subject": "Zadeva predračuna",
21
25
  "Credit Note Subject": "Zadeva dobropisa",
22
26
  "Advance Invoice Subject": "Zadeva avansnega računa",
23
27
  "Delivery Note Subject": "Zadeva dobavnice",
@@ -28,7 +32,8 @@ export default {
28
32
  "Send Email": "Pošlji e-pošto",
29
33
  "Email sent": "E-pošta poslana",
30
34
  "Invoice sent to": "Račun poslan na",
31
- "Estimate sent to": "Predračun poslan na",
35
+ "Estimate sent to": "Ponudba poslana na",
36
+ "Proforma invoice sent to": "Predračun poslan na",
32
37
  "Credit note sent to": "Dobropis poslan na",
33
38
  "Advance invoice sent to": "Avansni račun poslan na",
34
39
  "Delivery note sent to": "Dobavnica poslana na",
@@ -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",
@@ -29,6 +29,7 @@ import { Input } from "@/ui/components/ui/input";
29
29
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/ui/components/ui/select";
30
30
  import { Spinner } from "@/ui/components/ui/spinner";
31
31
  import { type SendEmailSchema, sendEmailSchema } from "@/ui/generated/schemas";
32
+ import { getDisplayDocumentNumber } from "@/ui/lib/document-display";
32
33
  import { getFullLocale } from "@/ui/lib/locale";
33
34
  import type { ComponentTranslationProps } from "@/ui/lib/translation";
34
35
  import { createTranslation } from "@/ui/lib/translation";
@@ -326,7 +327,7 @@ export function SendEmailDialog({
326
327
  <DialogHeader>
327
328
  <DialogTitle>{t(documentConfig.dialogTitle)}</DialogTitle>
328
329
  <DialogDescription>
329
- {t(documentConfig.description).replace("{number}", document.number || "")}
330
+ {t(documentConfig.description).replace("{number}", getDisplayDocumentNumber(document, t, ""))}
330
331
  </DialogDescription>
331
332
  </DialogHeader>
332
333
 
@@ -56,7 +56,7 @@ export function ItemCombobox({
56
56
  translations: autocompleteTranslations,
57
57
  });
58
58
  const [search, setSearch] = useState("");
59
- const [displayValue, setDisplayValue] = useState(value || "");
59
+ const [displayValue, setDisplayValue] = useState(value ?? "");
60
60
  const debouncedSearch = useDebounce(search, 300);
61
61
  const resolvedPlaceholder = placeholder ? t(placeholder) : placeholder;
62
62
 
@@ -170,7 +170,7 @@ export function ItemCombobox({
170
170
 
171
171
  // Sync when value changes externally (e.g., duplication, form reset)
172
172
  useEffect(() => {
173
- if (value) {
173
+ if (value != null) {
174
174
  setDisplayValue(value);
175
175
  } else {
176
176
  setSearch("");
@@ -182,7 +182,7 @@ export function ItemCombobox({
182
182
  <Autocomplete
183
183
  searchValue={search}
184
184
  onSearch={handleSearch}
185
- value={value}
185
+ value={value ?? ""}
186
186
  onValueChange={handleValueChange}
187
187
  onCommitUnselectedInput={commitCustomName}
188
188
  commitUnselectedOnBlur={true}
@@ -195,7 +195,7 @@ export function ItemCombobox({
195
195
  displayValue={displayValue}
196
196
  inputTestId={inputTestId}
197
197
  inputDataDemo={inputDataDemo}
198
- committedDisplayValue={value}
198
+ committedDisplayValue={value ?? ""}
199
199
  ariaInvalid={ariaInvalid}
200
200
  />
201
201
  );
@@ -10,6 +10,7 @@ import { Popover, PopoverContent, PopoverTrigger } from "@/ui/components/ui/popo
10
10
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/ui/components/ui/select";
11
11
  import { Textarea } from "@/ui/components/ui/textarea";
12
12
  import type { CreatePaymentSchema } from "@/ui/generated/schemas/payment";
13
+ import { toUtcMidnightIsoString } from "@/ui/lib/date-only";
13
14
  import { createPaymentSchema } from "@/ui/generated/schemas/payment";
14
15
  import type { ComponentTranslationProps } from "@/ui/lib/translation";
15
16
  import { createTranslation } from "@/ui/lib/translation";
@@ -100,8 +101,10 @@ export default function CreatePaymentForm({
100
101
  });
101
102
 
102
103
  const onSubmit = async (values: CreatePaymentSchema) => {
103
- // SDK accepts both Date and string for date fields, no conversion needed
104
- createPayment(values as CreatePaymentRequest);
104
+ createPayment({
105
+ ...values,
106
+ date: toUtcMidnightIsoString(values.date),
107
+ } as CreatePaymentRequest);
105
108
  };
106
109
 
107
110
  const handleSubmitClick = () => {
@@ -11,6 +11,7 @@ import { Popover, PopoverContent, PopoverTrigger } from "@/ui/components/ui/popo
11
11
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/ui/components/ui/select";
12
12
  import { Textarea } from "@/ui/components/ui/textarea";
13
13
  import { type UpdatePaymentSchema, updatePaymentSchema } from "@/ui/generated/schemas/payment";
14
+ import { toUtcMidnightIsoString } from "@/ui/lib/date-only";
14
15
  import type { ComponentTranslationProps } from "@/ui/lib/translation";
15
16
  import { createTranslation } from "@/ui/lib/translation";
16
17
  import { cn } from "@/ui/lib/utils";
@@ -110,7 +111,10 @@ export default function EditPaymentForm({
110
111
  const onSubmit = async (values: EditFormSchema) => {
111
112
  updatePayment({
112
113
  id: payment.id,
113
- data: values,
114
+ data: {
115
+ ...values,
116
+ date: toUtcMidnightIsoString(values.date),
117
+ },
114
118
  });
115
119
  };
116
120