@unimaze/billing 0.21.43 → 0.21.44

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 (201) hide show
  1. package/lib/common/components/billing-lines/NewNewBillingLines.d.ts +15 -0
  2. package/lib/common/components/billing-lines/NewNewBillingLines.js +36 -0
  3. package/lib/common/components/billing-lines/cwdwdw.d.ts +1 -0
  4. package/lib/common/components/billing-lines/cwdwdw.js +14 -0
  5. package/lib/common/components/customer/index.js +5 -1
  6. package/lib/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfo.d.ts +0 -0
  7. package/lib/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfo.js +109 -0
  8. package/lib/common/components/invoice-preview/InvoicePreviewInvoiceLines.js +3 -1
  9. package/lib/common/components/invoice-preview/InvoicePreviewPaymentInfo.d.ts +0 -0
  10. package/lib/common/components/invoice-preview/InvoicePreviewPaymentInfo.js +110 -0
  11. package/lib/common/components/invoice-preview/InvoicePreviewTotalAmountPreview.js +2 -1
  12. package/lib/common/components/invoice-preview/index.d.ts +8 -0
  13. package/lib/common/components/invoice-preview/index.js +8 -0
  14. package/lib/common/components/supplier/CityAutofill.js +5 -1
  15. package/lib/common/components/supplier/index.d.ts +4 -0
  16. package/lib/common/components/supplier/index.js +5 -1
  17. package/lib/create-invoice/index.d.ts +4 -0
  18. package/lib/create-invoice/index.js +5 -1
  19. package/lib/translations/locales/en.json +6 -0
  20. package/lib/translations/locales/is.json +27 -21
  21. package/lib/translations/locales.d.ts +12 -0
  22. package/lib/unimaze-api-clients/src/mapi/api.d.ts +6664 -0
  23. package/lib/unimaze-api-clients/src/mapi/api.js +4743 -0
  24. package/lib/unimaze-api-clients/src/mapi/base.d.ts +55 -0
  25. package/lib/unimaze-api-clients/src/mapi/base.js +84 -0
  26. package/lib/unimaze-api-clients/src/mapi/configuration.d.ts +63 -0
  27. package/lib/unimaze-api-clients/src/mapi/configuration.js +28 -0
  28. package/lib/unimaze-api-clients/src/mapi/index.d.ts +13 -0
  29. package/lib/unimaze-api-clients/src/mapi/index.js +30 -0
  30. package/lib/unimaze-api-clients/src/rapi/api.d.ts +5015 -0
  31. package/lib/unimaze-api-clients/src/rapi/api.js +5582 -0
  32. package/lib/unimaze-api-clients/src/rapi/base.d.ts +55 -0
  33. package/lib/unimaze-api-clients/src/rapi/base.js +84 -0
  34. package/lib/unimaze-api-clients/src/rapi/configuration.d.ts +63 -0
  35. package/lib/unimaze-api-clients/src/rapi/configuration.js +28 -0
  36. package/lib/unimaze-api-clients/src/rapi/index.d.ts +13 -0
  37. package/lib/unimaze-api-clients/src/rapi/index.js +30 -0
  38. package/lib/unimaze-billing/src/common/components/CommonTranslations.d.ts +74 -0
  39. package/lib/unimaze-billing/src/common/components/CommonTranslations.js +78 -0
  40. package/lib/unimaze-billing/src/common/components/attachments/Attachment.d.ts +20 -0
  41. package/lib/unimaze-billing/src/common/components/attachments/Attachment.js +164 -0
  42. package/lib/unimaze-billing/src/common/components/attachments/AttachmentModal.d.ts +21 -0
  43. package/lib/unimaze-billing/src/common/components/attachments/AttachmentModal.js +206 -0
  44. package/lib/unimaze-billing/src/common/components/attachments/index.d.ts +27 -0
  45. package/lib/unimaze-billing/src/common/components/attachments/index.js +214 -0
  46. package/lib/unimaze-billing/src/common/components/base-information/AccountingCost.d.ts +17 -0
  47. package/lib/unimaze-billing/src/common/components/base-information/AccountingCost.js +61 -0
  48. package/lib/unimaze-billing/src/common/components/base-information/OrderReference.d.ts +16 -0
  49. package/lib/unimaze-billing/src/common/components/base-information/OrderReference.js +58 -0
  50. package/lib/unimaze-billing/src/common/components/base-information/ProjectReference.d.ts +14 -0
  51. package/lib/unimaze-billing/src/common/components/base-information/ProjectReference.js +30 -0
  52. package/lib/unimaze-billing/src/common/components/base-information/ReferenceIdentifiers.d.ts +53 -0
  53. package/lib/unimaze-billing/src/common/components/base-information/ReferenceIdentifiers.js +328 -0
  54. package/lib/unimaze-billing/src/common/components/base-information/index.d.ts +77 -0
  55. package/lib/unimaze-billing/src/common/components/base-information/index.js +186 -0
  56. package/lib/unimaze-billing/src/common/components/billing-lines/BillingCalculations.d.ts +14 -0
  57. package/lib/unimaze-billing/src/common/components/billing-lines/BillingCalculations.js +151 -0
  58. package/lib/unimaze-billing/src/common/components/billing-lines/BillingLinePreview.d.ts +24 -0
  59. package/lib/unimaze-billing/src/common/components/billing-lines/BillingLinePreview.js +61 -0
  60. package/lib/unimaze-billing/src/common/components/billing-lines/BillingTaxSummary.d.ts +13 -0
  61. package/lib/unimaze-billing/src/common/components/billing-lines/BillingTaxSummary.js +133 -0
  62. package/lib/unimaze-billing/src/common/components/billing-lines/CurrencySelector.d.ts +20 -0
  63. package/lib/unimaze-billing/src/common/components/billing-lines/CurrencySelector.js +17 -0
  64. package/lib/unimaze-billing/src/common/components/billing-lines/DiscountTypeSelector.d.ts +10 -0
  65. package/lib/unimaze-billing/src/common/components/billing-lines/DiscountTypeSelector.js +16 -0
  66. package/lib/unimaze-billing/src/common/components/billing-lines/NewBillingLines.d.ts +134 -0
  67. package/lib/unimaze-billing/src/common/components/billing-lines/NewBillingLines.js +209 -0
  68. package/lib/unimaze-billing/src/common/components/billing-lines/NewNewBillingLines.d.ts +15 -0
  69. package/lib/unimaze-billing/src/common/components/billing-lines/NewNewBillingLines.js +36 -0
  70. package/lib/unimaze-billing/src/common/components/billing-lines/SingleBillingLine.d.ts +19 -0
  71. package/lib/unimaze-billing/src/common/components/billing-lines/SingleBillingLine.js +275 -0
  72. package/lib/unimaze-billing/src/common/components/billing-lines/UnitOfMeasureSelector.d.ts +14 -0
  73. package/lib/unimaze-billing/src/common/components/billing-lines/UnitOfMeasureSelector.js +15 -0
  74. package/lib/unimaze-billing/src/common/components/billing-lines/index.d.ts +49 -0
  75. package/lib/unimaze-billing/src/common/components/billing-lines/index.js +104 -0
  76. package/lib/unimaze-billing/src/common/components/component-container/Content.d.ts +7 -0
  77. package/lib/unimaze-billing/src/common/components/component-container/Content.js +13 -0
  78. package/lib/unimaze-billing/src/common/components/component-container/Header.d.ts +9 -0
  79. package/lib/unimaze-billing/src/common/components/component-container/Header.js +28 -0
  80. package/lib/unimaze-billing/src/common/components/component-container/index.d.ts +12 -0
  81. package/lib/unimaze-billing/src/common/components/component-container/index.js +22 -0
  82. package/lib/unimaze-billing/src/common/components/customer/CostCenter.d.ts +17 -0
  83. package/lib/unimaze-billing/src/common/components/customer/CostCenter.js +163 -0
  84. package/lib/unimaze-billing/src/common/components/customer/CustomerContactName.d.ts +17 -0
  85. package/lib/unimaze-billing/src/common/components/customer/CustomerContactName.js +53 -0
  86. package/lib/unimaze-billing/src/common/components/customer/hardCoddedCustomer.d.ts +7 -0
  87. package/lib/unimaze-billing/src/common/components/customer/hardCoddedCustomer.js +41 -0
  88. package/lib/unimaze-billing/src/common/components/customer/index.d.ts +26 -0
  89. package/lib/unimaze-billing/src/common/components/customer/index.js +166 -0
  90. package/lib/unimaze-billing/src/common/components/date-picker/index.d.ts +21 -0
  91. package/lib/unimaze-billing/src/common/components/date-picker/index.js +23 -0
  92. package/lib/unimaze-billing/src/common/components/delivery-location/index.d.ts +12 -0
  93. package/lib/unimaze-billing/src/common/components/delivery-location/index.js +89 -0
  94. package/lib/unimaze-billing/src/common/components/editable-cell/index.d.ts +0 -0
  95. package/lib/unimaze-billing/src/common/components/editable-cell/index.js +295 -0
  96. package/lib/unimaze-billing/src/common/components/editable-row/index.d.ts +5 -0
  97. package/lib/unimaze-billing/src/common/components/editable-row/index.js +59 -0
  98. package/lib/unimaze-billing/src/common/components/form-item/index.d.ts +35 -0
  99. package/lib/unimaze-billing/src/common/components/form-item/index.js +60 -0
  100. package/lib/unimaze-billing/src/common/components/index.d.ts +18 -0
  101. package/lib/unimaze-billing/src/common/components/index.js +42 -0
  102. package/lib/unimaze-billing/src/common/components/input/index.d.ts +23 -0
  103. package/lib/unimaze-billing/src/common/components/input/index.js +37 -0
  104. package/lib/unimaze-billing/src/common/components/invoice/index.d.ts +42 -0
  105. package/lib/unimaze-billing/src/common/components/invoice/index.js +59 -0
  106. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfo.d.ts +14 -0
  107. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfo.js +75 -0
  108. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfoBox.d.ts +14 -0
  109. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewCustomerSupplierInfoBox.js +73 -0
  110. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewHeader.d.ts +12 -0
  111. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewHeader.js +104 -0
  112. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewInvoiceLines.d.ts +12 -0
  113. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewInvoiceLines.js +93 -0
  114. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewPaymentInfo.d.ts +14 -0
  115. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewPaymentInfo.js +77 -0
  116. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewPaymentInfoBox.d.ts +14 -0
  117. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewPaymentInfoBox.js +58 -0
  118. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewTotalAmountPreview.d.ts +14 -0
  119. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewTotalAmountPreview.js +52 -0
  120. package/lib/unimaze-billing/src/common/components/invoice-preview/index.d.ts +102 -0
  121. package/lib/unimaze-billing/src/common/components/invoice-preview/index.js +196 -0
  122. package/lib/unimaze-billing/src/common/components/locale-intl/index.d.ts +0 -0
  123. package/lib/unimaze-billing/src/common/components/locale-intl/index.js +51 -0
  124. package/lib/unimaze-billing/src/common/components/payment-method/index.d.ts +76 -0
  125. package/lib/unimaze-billing/src/common/components/payment-method/index.js +356 -0
  126. package/lib/unimaze-billing/src/common/components/payment-method/paymentMethodForConversion.d.ts +8 -0
  127. package/lib/unimaze-billing/src/common/components/payment-method/paymentMethodForConversion.js +37 -0
  128. package/lib/unimaze-billing/src/common/components/submit-confirmation/SubmitConfirmationSVG.d.ts +3 -0
  129. package/lib/unimaze-billing/src/common/components/submit-confirmation/SubmitConfirmationSVG.js +17 -0
  130. package/lib/unimaze-billing/src/common/components/submit-confirmation/index.d.ts +8 -0
  131. package/lib/unimaze-billing/src/common/components/submit-confirmation/index.js +34 -0
  132. package/lib/unimaze-billing/src/common/components/supplier/CityAutofill.d.ts +18 -0
  133. package/lib/unimaze-billing/src/common/components/supplier/CityAutofill.js +159 -0
  134. package/lib/unimaze-billing/src/common/components/supplier/index.d.ts +94 -0
  135. package/lib/unimaze-billing/src/common/components/supplier/index.js +334 -0
  136. package/lib/unimaze-billing/src/common/components/tooltip/index.d.ts +7 -0
  137. package/lib/unimaze-billing/src/common/components/tooltip/index.js +15 -0
  138. package/lib/unimaze-billing/src/common/components/welcome-modal/index.d.ts +15 -0
  139. package/lib/unimaze-billing/src/common/components/welcome-modal/index.js +26 -0
  140. package/lib/unimaze-billing/src/common/consts/formLayout.d.ts +74 -0
  141. package/lib/unimaze-billing/src/common/consts/formLayout.js +45 -0
  142. package/lib/unimaze-billing/src/common/consts/validationRules.d.ts +6 -0
  143. package/lib/unimaze-billing/src/common/consts/validationRules.js +69 -0
  144. package/lib/unimaze-billing/src/common/enums/DocumentTypeEnum.d.ts +5 -0
  145. package/lib/unimaze-billing/src/common/enums/DocumentTypeEnum.js +8 -0
  146. package/lib/unimaze-billing/src/common/enums/index.d.ts +1 -0
  147. package/lib/unimaze-billing/src/common/enums/index.js +8 -0
  148. package/lib/unimaze-billing/src/common/types/AppConfiguration.d.ts +26 -0
  149. package/lib/unimaze-billing/src/common/types/AppConfiguration.js +2 -0
  150. package/lib/unimaze-billing/src/common/types/BillingLineMetadataOverride.d.ts +10 -0
  151. package/lib/unimaze-billing/src/common/types/BillingLineMetadataOverride.js +2 -0
  152. package/lib/unimaze-billing/src/common/types/CommonProps.d.ts +33 -0
  153. package/lib/unimaze-billing/src/common/types/CommonProps.js +2 -0
  154. package/lib/unimaze-billing/src/common/types/DiscountType.d.ts +1 -0
  155. package/lib/unimaze-billing/src/common/types/DiscountType.js +2 -0
  156. package/lib/unimaze-billing/src/common/types/InvoiceFormFields.d.ts +1 -0
  157. package/lib/unimaze-billing/src/common/types/InvoiceFormFields.js +2 -0
  158. package/lib/unimaze-billing/src/common/types/NewReceiverRequirements.d.ts +27 -0
  159. package/lib/unimaze-billing/src/common/types/NewReceiverRequirements.js +2 -0
  160. package/lib/unimaze-billing/src/common/types/ReceiverRequirements.d.ts +83 -0
  161. package/lib/unimaze-billing/src/common/types/ReceiverRequirements.js +393 -0
  162. package/lib/unimaze-billing/src/common/types/SupplierInfo.d.ts +11 -0
  163. package/lib/unimaze-billing/src/common/types/SupplierInfo.js +2 -0
  164. package/lib/unimaze-billing/src/common/types/index.d.ts +1 -0
  165. package/lib/unimaze-billing/src/common/types/index.js +17 -0
  166. package/lib/unimaze-billing/src/create-credit-note/index.d.ts +9 -0
  167. package/lib/unimaze-billing/src/create-credit-note/index.js +62 -0
  168. package/lib/unimaze-billing/src/create-invoice/IntlLoader.d.ts +11 -0
  169. package/lib/unimaze-billing/src/create-invoice/IntlLoader.js +116 -0
  170. package/lib/unimaze-billing/src/create-invoice/index.d.ts +82 -0
  171. package/lib/unimaze-billing/src/create-invoice/index.js +710 -0
  172. package/lib/unimaze-billing/src/enums.d.ts +14 -0
  173. package/lib/unimaze-billing/src/enums.js +18 -0
  174. package/lib/unimaze-billing/src/index.d.ts +4 -0
  175. package/lib/unimaze-billing/src/index.js +28 -0
  176. package/lib/unimaze-billing/src/translations/locales/en.json +183 -0
  177. package/lib/unimaze-billing/src/translations/locales/is.json +183 -0
  178. package/lib/unimaze-billing/src/translations/locales.d.ts +369 -0
  179. package/lib/unimaze-billing/src/translations/locales.js +11 -0
  180. package/lib/unimaze-billing/src/utils/ApiUtility.d.ts +29 -0
  181. package/lib/unimaze-billing/src/utils/ApiUtility.js +133 -0
  182. package/lib/unimaze-billing/src/utils/BillingLineUtility.d.ts +25 -0
  183. package/lib/unimaze-billing/src/utils/BillingLineUtility.js +190 -0
  184. package/lib/unimaze-billing/src/utils/ConversionUtility.d.ts +9 -0
  185. package/lib/unimaze-billing/src/utils/ConversionUtility.js +222 -0
  186. package/lib/unimaze-billing/src/utils/FileUploadUtility.d.ts +9 -0
  187. package/lib/unimaze-billing/src/utils/FileUploadUtility.js +45 -0
  188. package/lib/unimaze-billing/src/utils/IntlUtility.d.ts +6 -0
  189. package/lib/unimaze-billing/src/utils/IntlUtility.js +78 -0
  190. package/lib/unimaze-billing/src/utils/LocationUtility.d.ts +1 -0
  191. package/lib/unimaze-billing/src/utils/LocationUtility.js +81 -0
  192. package/lib/unimaze-billing/src/utils/ReferenceIdentifierUtility.d.ts +7 -0
  193. package/lib/unimaze-billing/src/utils/ReferenceIdentifierUtility.js +26 -0
  194. package/lib/unimaze-billing/src/utils/RequirementsUtility.d.ts +21 -0
  195. package/lib/unimaze-billing/src/utils/RequirementsUtility.js +237 -0
  196. package/lib/unimaze-billing/src/utils/index.d.ts +2 -0
  197. package/lib/unimaze-billing/src/utils/index.js +8 -0
  198. package/lib/utils/LocationUtility.d.ts +1 -1
  199. package/lib/utils/LocationUtility.js +2 -2
  200. package/package.json +1 -1
  201. package/lib/style/index.css +0 -51
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { WrappedComponentProps } from "react-intl";
3
+ import { NewReceiverRequirements } from "../../types/NewReceiverRequirements";
4
+ import { FormInstance } from "antd/es/form";
5
+ interface Props extends WrappedComponentProps {
6
+ receiverRequirements: NewReceiverRequirements;
7
+ formInstance: FormInstance;
8
+ outsideVatScope: boolean;
9
+ }
10
+ declare const BillingLinesWithIntl: React.ForwardRefExoticComponent<import("react-intl").Omit<Props, "intl"> & {
11
+ forwardedRef?: React.Ref<any> | undefined;
12
+ } & React.RefAttributes<any>> & {
13
+ WrappedComponent: React.ComponentType<Props>;
14
+ };
15
+ export default BillingLinesWithIntl;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ var React = __importStar(require("react"));
27
+ var react_intl_1 = require("react-intl");
28
+ var antd_1 = require("antd");
29
+ var NewNewBillingLines = function (props) {
30
+ return (React.createElement(antd_1.Form.List, { name: ["invoice", "invoiceLines"] }, function (fields, _a) {
31
+ var add = _a.add, remove = _a.remove;
32
+ return (React.createElement(antd_1.Flex, { vertical: true }));
33
+ }));
34
+ };
35
+ var BillingLinesWithIntl = (0, react_intl_1.injectIntl)(NewNewBillingLines);
36
+ exports.default = BillingLinesWithIntl;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var antd_1 = require("antd");
7
+ var form_item_1 = __importDefault(require("../form-item"));
8
+ var ReceiverRequirements_1 = require("../../types/ReceiverRequirements");
9
+ var BillingLineUtility_1 = require("../../../utils/BillingLineUtility");
10
+ var RequirementsUtility_1 = require("../../../utils/RequirementsUtility");
11
+ var react_1 = __importDefault(require("react"));
12
+ var NewBillingLines_1 = require("./NewBillingLines");
13
+ react_1.default.createElement(antd_1.Col, { span: 12 },
14
+ react_1.default.createElement(form_item_1.default, { className: "umz_noValidationMessage", receiverRequirements: props.receiverRequirements, receiverRequirementsKey: ReceiverRequirements_1.AvailableFields["invoiceLines.unitPriceAmount"], defaultIsRequired: true, fieldName: [field.name, "unitPriceAmount"], defaultLabel: props.intl.formatMessage(NewBillingLines_1.translationMessages.billingLines_unitPriceAmount), verticalLabels: true, onlyLabelOnFirstInList: true, index: index }, (0, BillingLineUtility_1.getCorrectInputNode)("unitPriceAmount", props.intl, props.intl.formatMessage(NewBillingLines_1.translationMessages.billingLines_unitPriceAmount), (0, RequirementsUtility_1.getFieldIsRequired)(props.receiverRequirements, ReceiverRequirements_1.AvailableFields["invoiceLines.unitPriceAmount"], true), currencySelector)));
@@ -67,6 +67,10 @@ var translationMessages = (0, react_intl_1.defineMessages)({
67
67
  id: "customer_contact_name",
68
68
  defaultMessage: "Contact name",
69
69
  },
70
+ customer_no_customer_configured: {
71
+ id: "customer_no_customer_configured",
72
+ defaultMessage: "Error - no customer configured",
73
+ },
70
74
  });
71
75
  var Customer = function (props) {
72
76
  var width = (0, react_use_1.useWindowSize)().width;
@@ -101,7 +105,7 @@ var Customer = function (props) {
101
105
  ? props.intl.formatMessage(translationMessages.customer_selectTheCustomer)
102
106
  : props.intl.formatMessage(translationMessages.customer_title), defaultIsRequired: true, receiverRequirementsKey: ReceiverRequirements_1.AvailableFields["customer.identifier"], fieldName: ["invoice", "customer", "name"], style: { marginBottom: 0 } }, props.customers.length > 0 ? (react_1.default.createElement(antd_1.Select, __assign({ onChange: function (value) {
103
107
  onCustomerChange(value);
104
- }, disabled: props.customers.length === 1 }, formLayout_1.formItemLayout), props.customers.map(function (customer, index) { return (react_1.default.createElement(antd_1.Select.Option, { key: index, value: index }, customer.name)); }))) : ("Error - no customer configured")),
108
+ }, disabled: props.customers.length === 1 }, formLayout_1.formItemLayout), props.customers.map(function (customer, index) { return (react_1.default.createElement(antd_1.Select.Option, { key: index, value: index }, customer.name)); }))) : (props.intl.formatMessage(translationMessages.customer_no_customer_configured))),
105
109
  react_1.default.createElement(antd_1.Typography.Text, { className: "ant-form-text", style: { fontSize: 18 }, type: "secondary" },
106
110
  props.intl.formatMessage(translationMessages.customer_identifier),
107
111
  ":",
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ // import {Card, Col, Flex, FormInstance, Row, theme, Typography} from "antd";
3
+ // import React from "react";
4
+ // import { injectIntl, WrappedComponentProps} from "react-intl";
5
+ // import {translationMessages} from "./index";
6
+ // import {grey} from "@ant-design/colors";
7
+ // import {PartyMetadata} from "../../../../../unimaze-api-clients/src/mapi";
8
+ //
9
+ // interface Props extends WrappedComponentProps {
10
+ // form: FormInstance;
11
+ // chosenCustomer: PartyMetadata;
12
+ // }
13
+ //
14
+ // const InvoicePreviewCustomerSupplierInfo: React.FC<Props> = (props) => {
15
+ // const {token} = theme.useToken();
16
+ //
17
+ // return (
18
+ // <Card
19
+ // bordered={false}
20
+ // style={{backgroundColor: "#F5F5F5"}}
21
+ // title={"LL"
22
+ // // <Row gutter={20}>
23
+ // // <Col span={12}>
24
+ // // <Flex justify="space-between" align="flex-end" style={{fontWeight: 400}}>
25
+ // // <Typography.Text>
26
+ // // {"DSAAA"}
27
+ // // {/*{props.intl.formatMessage(translationMessages.baseInformation_issueDate)}*/}
28
+ // // </Typography.Text>
29
+ // // <Typography.Text type="secondary" style={{fontSize: token.fontSizeSM}}>
30
+ // // {props.form.getFieldValue(["invoice", "issueDate"])?.format("DD.MM.YYYY")}
31
+ // // </Typography.Text>
32
+ // // </Flex>
33
+ // // </Col>
34
+ // // <Col span={12} style={{borderLeft: `1px solid ${grey[0]}`}}>
35
+ // // <Flex justify="space-between" align="flex-end" style={{fontWeight: 400}}>
36
+ // // <Typography.Text>
37
+ // // {props.intl.formatMessage(translationMessages.baseInformation_dueDate)}
38
+ // // </Typography.Text>
39
+ // // <Typography.Text type="secondary" style={{fontSize: token.fontSizeSM}}>
40
+ // // {props.form.getFieldValue(["invoice", "dueDate"])?.format("DD.MM.YYYY")}
41
+ // // </Typography.Text>
42
+ // // </Flex>
43
+ // // </Col>
44
+ // // </Row>
45
+ // }
46
+ // >
47
+ // <Flex vertical gap={"small"}>
48
+ // {/*<Typography.Text style={{fontSize: token.fontSizeHeading4, fontWeight: 500}}>*/}
49
+ // {/* {props.intl.formatMessage(translationMessages.customer_title)}:*/}
50
+ // {/*</Typography.Text>*/}
51
+ // {/*<Typography.Text type="secondary">{props.chosenCustomer.name}</Typography.Text>*/}
52
+ // {/*<Typography.Text type="secondary">*/}
53
+ // {/* {props.intl.formatMessage(translationMessages.customer_identifier)}:{" "}*/}
54
+ // {/* {props.chosenCustomer.identifier}*/}
55
+ // {/*</Typography.Text>*/}
56
+ // {/*{props.chosenCustomer.address?.streetNameAndNumber &&*/}
57
+ // {/* props.chosenCustomer.address?.postalZone &&*/}
58
+ // {/* props.chosenCustomer.address?.city && (*/}
59
+ // {/* <Typography.Text type="secondary">*/}
60
+ // {/* {props.intl.formatMessage(translationMessages.customer_address_streetNameAndNumber)}*/}
61
+ // {/* : {props.chosenCustomer.address.streetNameAndNumber},{" "}*/}
62
+ // {/* {props.chosenCustomer.address.postalZone}{" "}*/}
63
+ // {/* {props.chosenCustomer.address.city}*/}
64
+ // {/* </Typography.Text>*/}
65
+ // {/* )}*/}
66
+ // {/*{props.form.getFieldValue(["invoice", "customer", "locationIdentifier"]) && (*/}
67
+ // {/* <Typography.Text type="secondary">*/}
68
+ // {/* {props.intl.formatMessage(translationMessages.baseInformation_costCenter)}:{" "}*/}
69
+ // {/* {props.form.getFieldValue(["invoice", "customer", "locationIdentifier"])}*/}
70
+ // {/* </Typography.Text>*/}
71
+ // {/*)}*/}
72
+ // {/*<Col span={8} style={{padding: 0}}>*/}
73
+ // {/* <hr/>*/}
74
+ // {/*</Col>*/}
75
+ // {/*<Typography.Text style={{fontSize: token.fontSizeHeading4, fontWeight: 500}}>*/}
76
+ // {/* {props.intl.formatMessage(translationMessages.supplier_title)}:*/}
77
+ // {/*</Typography.Text>*/}
78
+ // {/*<Typography.Text type="secondary">*/}
79
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "name"])}*/}
80
+ // {/*</Typography.Text>*/}
81
+ // {/*<Typography.Text type="secondary">*/}
82
+ // {/* {props.intl.formatMessage(translationMessages.supplier_identifier)}:{" "}*/}
83
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "identifier"])}*/}
84
+ // {/*</Typography.Text>*/}
85
+ // {/*<Typography.Text type="secondary">*/}
86
+ // {/* {props.intl.formatMessage(translationMessages.supplier_address_streetNameAndNumber)}*/}
87
+ // {/* :{" "}*/}
88
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "address", "streetNameAndNumber",])}*/}
89
+ // {/* , {props.form.getFieldValue(["invoice", "supplier", "address", "postalZone"])}{" "}*/}
90
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "address", "city"])}*/}
91
+ // {/*</Typography.Text>*/}
92
+ // {/*{props.form.getFieldValue(["invoice", "supplier", "contact", "telephone"]) && (*/}
93
+ // {/* <Typography.Text type="secondary">*/}
94
+ // {/* {props.intl.formatMessage(translationMessages.supplier_contact_phoneNumber)}:*/}
95
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "contact", "telephone"])}*/}
96
+ // {/* </Typography.Text>*/}
97
+ // {/*)}*/}
98
+ // {/*{props.form.getFieldValue(["invoice", "supplier", "contact", "electronicMail"]) && (*/}
99
+ // {/* <Typography.Text type="secondary">*/}
100
+ // {/* {props.form.getFieldValue(["invoice", "supplier", "contact", "electronicMail"])}*/}
101
+ // {/* </Typography.Text>*/}
102
+ // {/*)}*/}
103
+ // </Flex>
104
+ // </Card>
105
+ // );
106
+ // };
107
+ //
108
+ // export default injectIntl(InvoicePreviewCustomerSupplierInfo);
109
+ //
@@ -82,7 +82,9 @@ var InvoicePreviewInvoiceLines = function (props) {
82
82
  react_1.default.createElement(antd_1.Flex, { justify: "space-between", style: { width: "80%" }, align: "center" },
83
83
  react_1.default.createElement(antd_1.Typography.Text, null,
84
84
  taxPercentage,
85
- "% VAT of ",
85
+ "% ",
86
+ props.intl.formatMessage(index_1.translationMessages.invoicePreview_VATof),
87
+ " ",
86
88
  (0, IntlUtility_1.icelandicNumberLocaleWorkaroundChrome)(line.taxableAmount, props.intl, { style: 'decimal' })),
87
89
  react_1.default.createElement(antd_1.Typography.Text, null,
88
90
  (0, IntlUtility_1.icelandicNumberLocaleWorkaroundChrome)((0, BillingLineUtility_1.calculateTaxAmount)(line.taxableAmount, taxPercentage), props.intl),
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // import {Card, Flex, FormInstance, Typography} from "antd";
3
+ // import React from "react";
4
+ // import { injectIntl, WrappedComponentProps} from "react-intl";
5
+ // import {translationMessages as invoicePreviewTranslations} from "./index";
6
+ // import {translationMessages as paymentMethod_translationMessages} from "../payment-method";
7
+ // import {PaymentMeansType} from "../../../../../unimaze-api-clients/src/mapi";
8
+ // import {getFieldRequirements} from "../../../utils/RequirementsUtility";
9
+ // import {AvailableFields} from "../../types/ReceiverRequirements";
10
+ // import {NewReceiverRequirements} from "../../types/NewReceiverRequirements";
11
+ //
12
+ // interface Props extends WrappedComponentProps {
13
+ // form: FormInstance;
14
+ // receiverRequirements: NewReceiverRequirements;
15
+ // }
16
+ //
17
+ // const InvoicePreviewPaymentInfo: React.FC<Props> = (props) => {
18
+ //
19
+ // const defaultPaymentMethods = [
20
+ // {
21
+ // key: PaymentMeansType.NotSpecified,
22
+ // name: props.intl.formatMessage(paymentMethod_translationMessages.paymentMethod_labels_methods_undefined),
23
+ // },
24
+ // {
25
+ // key: PaymentMeansType.MutuallyAgreed,
26
+ // name: props.intl.formatMessage(
27
+ // paymentMethod_translationMessages.paymentMethod_labels_methods_mutuallyAgreed
28
+ // ),
29
+ // },
30
+ // {
31
+ // key: PaymentMeansType.DomesticTransfer,
32
+ // name: props.intl.formatMessage(
33
+ // paymentMethod_translationMessages.paymentMethod_labels_methods_domesticTransfer
34
+ // ),
35
+ // },
36
+ // {
37
+ // key: PaymentMeansType.DomesticClaim,
38
+ // name: props.intl.formatMessage(
39
+ // paymentMethod_translationMessages.paymentMethod_labels_methods_domesticClaim
40
+ // ),
41
+ // },
42
+ // ];
43
+ //
44
+ // const getPaymentMeansValue = (paymentMeansType: PaymentMeansType) => {
45
+ // const paymentMeansTypes = getFieldRequirements(props.receiverRequirements, AvailableFields["paymentMeans.type"]);
46
+ //
47
+ // if (
48
+ // paymentMeansTypes &&
49
+ // paymentMeansTypes.hasOwnProperty("properties") &&
50
+ // paymentMeansTypes.properties.hasOwnProperty("values") &&
51
+ // paymentMeansTypes.properties.values
52
+ // ) {
53
+ // const paymentMeansValue = paymentMeansTypes.properties.values.find(
54
+ // (value: any) => value.key === paymentMeansType
55
+ // );
56
+ // return paymentMeansValue?.name;
57
+ // } else {
58
+ // const paymentMeansValue = defaultPaymentMethods.find((value: any) => value.key === paymentMeansType);
59
+ // return paymentMeansValue?.name;
60
+ // }
61
+ // };
62
+ //
63
+ // return (
64
+ // <Card bordered={false} style={{backgroundColor: "#F5F5F5"}} size="small">
65
+ // <Flex vertical style={{padding: "0 12px"}} gap={"small"}>
66
+ // <Typography.Text style={{fontWeight: 700}}>
67
+ // {props.intl.formatMessage(invoicePreviewTranslations.invoicePreview_paymentInfoTitle)}
68
+ // </Typography.Text>
69
+ // <Flex vertical>
70
+ // <Typography.Text type="secondary">
71
+ // {props.form.getFieldValue(["invoice", "supplier", "name"])} Kt:{" "}
72
+ // {props.form.getFieldValue(["invoice", "supplier", "identifier"])}
73
+ // </Typography.Text>
74
+ // <Typography.Text type="secondary">
75
+ // {getPaymentMeansValue(props.form.getFieldValue(["invoice", "paymentMeans", "type"]))}
76
+ // </Typography.Text>
77
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer"]) && (
78
+ // <>
79
+ // <Typography.Text type="secondary">
80
+ // {props.intl.formatMessage(paymentMethod_translationMessages.paymentMethod_labels_domesticTransfer_accountNo)}:{" "}
81
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer", "bankNumber",])}
82
+ // -
83
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer", "accountTypeNumber",])}
84
+ // -
85
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer", "accountNumber",])}
86
+ // </Typography.Text>
87
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer", "paymentIdentifier",]) && (
88
+ // <Typography.Text type="secondary">
89
+ // {props.intl.formatMessage(paymentMethod_translationMessages.paymentMethod_labels_domesticTransfer_paymentReference)}
90
+ // :{" "}
91
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticTransfer", "paymentIdentifier",])}
92
+ // </Typography.Text>
93
+ // )}
94
+ // </>
95
+ // )}
96
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticClaim"]) && (
97
+ // <Typography.Text type="secondary">
98
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticClaim", "bankNumber",])}
99
+ // -66-
100
+ // {props.form.getFieldValue(["invoice", "paymentMeans", "domesticClaim", "accountNumber",])}
101
+ // </Typography.Text>
102
+ // )}
103
+ // </Flex>
104
+ // </Flex>
105
+ // </Card>
106
+ // );
107
+ // };
108
+ //
109
+ // export default injectIntl(InvoicePreviewPaymentInfo);
110
+ //
@@ -19,7 +19,8 @@ var InvoicePreviewTotalAmountPreview = function (props) {
19
19
  return (react_1.default.createElement(antd_1.Flex, { justify: "space-between", key: index },
20
20
  react_1.default.createElement(antd_1.Typography.Text, null,
21
21
  taxPercentage,
22
- "% VAT"),
22
+ "% ",
23
+ props.intl.formatMessage(index_1.translationMessages.invoicePreview_VAT)),
23
24
  react_1.default.createElement(antd_1.Typography.Text, null, (0, IntlUtility_1.icelandicNumberLocaleWorkaroundChrome)(tax.taxAmount, props.intl))));
24
25
  });
25
26
  };
@@ -92,6 +92,14 @@ export declare const translationMessages: {
92
92
  id: string;
93
93
  defaultMessage: string;
94
94
  };
95
+ invoicePreview_VAT: {
96
+ id: string;
97
+ defaultMessage: string;
98
+ };
99
+ invoicePreview_VATof: {
100
+ id: string;
101
+ defaultMessage: string;
102
+ };
95
103
  };
96
104
  interface Props extends WrappedComponentProps {
97
105
  recieverRequirements: NewReceiverRequirements;
@@ -102,6 +102,14 @@ exports.translationMessages = (0, react_intl_1.defineMessages)({
102
102
  id: "invoicePreview_lineDiscount",
103
103
  defaultMessage: "line discount",
104
104
  },
105
+ invoicePreview_VAT: {
106
+ id: "invoicePreview_VAT",
107
+ defaultMessage: "VAT",
108
+ },
109
+ invoicePreview_VATof: {
110
+ id: "invoicePreview_VATof",
111
+ defaultMessage: "VAT of",
112
+ },
105
113
  });
106
114
  var InvoicePreview = function (props) {
107
115
  var token = antd_1.theme.useToken().token;
@@ -76,6 +76,10 @@ var translationMessages = (0, react_intl_1.defineMessages)({
76
76
  id: "supplier_address_zip_postalZone",
77
77
  defaultMessage: "Zip/Postal code",
78
78
  },
79
+ supplier_errorFetchingCityAndPostcode: {
80
+ id: "supplier_errorFetchingCityAndPostcode",
81
+ defaultMessage: "Error fetching city and postcode data:",
82
+ },
79
83
  });
80
84
  var CityAutocomplete = function (props) {
81
85
  var _a = React.useState([]), citiesAndPostcodes = _a[0], setCitiesAndPostcodes = _a[1];
@@ -99,7 +103,7 @@ var CityAutocomplete = function (props) {
99
103
  var results;
100
104
  return __generator(this, function (_a) {
101
105
  switch (_a.label) {
102
- case 0: return [4 /*yield*/, (0, LocationUtility_1.fetchCityAndPostcode)(cityInput, props.form.getFieldValue(["invoice", "supplier", "address", "countryCode"]))];
106
+ case 0: return [4 /*yield*/, (0, LocationUtility_1.fetchCityAndPostcode)(cityInput, props.form.getFieldValue(["invoice", "supplier", "address", "countryCode"]), props.intl.formatMessage(translationMessages.supplier_errorFetchingCityAndPostcode))];
103
107
  case 1:
104
108
  results = _a.sent();
105
109
  setCitiesAndPostcodes(results);
@@ -15,6 +15,10 @@ export declare const translationMessages: {
15
15
  id: string;
16
16
  defaultMessage: string;
17
17
  };
18
+ supplier_identifier_validationMessage: {
19
+ id: string;
20
+ defaultMessage: string;
21
+ };
18
22
  supplier_vatNumber: {
19
23
  id: string;
20
24
  defaultMessage: string;
@@ -55,6 +55,10 @@ exports.translationMessages = (0, react_intl_1.defineMessages)({
55
55
  id: "supplier_identifier",
56
56
  defaultMessage: "Supplier identifier",
57
57
  },
58
+ supplier_identifier_validationMessage: {
59
+ id: "supplier_identifier_validationMessage",
60
+ defaultMessage: "Input must be in the format: 111111-1111",
61
+ },
58
62
  supplier_vatNumber: {
59
63
  id: "supplier_vatNumber",
60
64
  defaultMessage: "VAT no",
@@ -222,7 +226,7 @@ var Supplier = function (props) {
222
226
  React.createElement(form_item_1.default, { receiverRequirements: props.receiverRequirements, receiverRequirementsKey: ReceiverRequirements_1.AvailableFields["supplier.identifier"], defaultLabel: props.intl.formatMessage(exports.translationMessages.supplier_identifier), defaultIsRequired: true, fieldName: ["invoice", "supplier", "identifier"], hasFeedback: isLoadingParticipantInfo, validateStatus: isLoadingParticipantInfo ? "validating" : undefined, rules: [
223
227
  {
224
228
  pattern: /^\d{6}-\d{4}$/,
225
- message: "Input must be in the format: 111111-1111",
229
+ message: props.intl.formatMessage(exports.translationMessages.supplier_identifier_validationMessage),
226
230
  },
227
231
  {
228
232
  required: true,
@@ -68,6 +68,10 @@ export declare const translationMessages: {
68
68
  id: string;
69
69
  defaultMessage: string;
70
70
  };
71
+ createInvoice_invoiceHadValidationErrors: {
72
+ id: string;
73
+ defaultMessage: string;
74
+ };
71
75
  };
72
76
  interface Props extends CommonProps, WrappedComponentProps {
73
77
  customers: PortalConfigurationCustomer[];
@@ -136,6 +136,10 @@ exports.translationMessages = (0, react_intl_1.defineMessages)({
136
136
  id: "createInvoice_validationErrorObjectIdentifierNotValid",
137
137
  defaultMessage: "Object identifier is not valid",
138
138
  },
139
+ createInvoice_invoiceHadValidationErrors: {
140
+ id: "createInvoice_invoiceHadValidationErrors",
141
+ defaultMessage: "Created invoice had validation errors",
142
+ },
139
143
  });
140
144
  /**
141
145
  * Component for creating a form for creating an invoice and submitting it to the MAPI transaction services
@@ -430,7 +434,7 @@ var CreateInvoiceConstructor = function (props) {
430
434
  (0, ApiUtility_1.submitAttachmentIfAnyLeft)((_a = response === null || response === void 0 ? void 0 : response.uniqueId) !== null && _a !== void 0 ? _a : "", attachments, props.mapiBaseUrl, token, intl, 1, setNumberOfSuccessfulCalls);
431
435
  }
432
436
  else {
433
- antd_1.message.error("Created invoice had validation errors");
437
+ antd_1.message.error(props.intl.formatMessage(exports.translationMessages.createInvoice_invoiceHadValidationErrors));
434
438
  }
435
439
  setSubmitting(false);
436
440
  form.resetFields();
@@ -93,6 +93,7 @@
93
93
  "createInvoice_Submit": "Submit",
94
94
  "createInvoice_addDocumentLineMsg": "At least one document line",
95
95
  "createInvoice_customerStepTitle": "Customer",
96
+ "createInvoice_invoiceHadValidationErrors": "Created invoice had validation errors",
96
97
  "createInvoice_invoiceStepTitle": "Invoice",
97
98
  "createInvoice_nextStep": "Next step",
98
99
  "createInvoice_paymentStepTitle": "Payment",
@@ -110,6 +111,7 @@
110
111
  "customer_contact_name": "Contact name",
111
112
  "customer_identifier": "Identifier",
112
113
  "customer_name": "Name",
114
+ "customer_no_customer_configured": "Error - no customer configured",
113
115
  "customer_selectTheCustomer": "Select the customer",
114
116
  "customer_title": "Customer",
115
117
  "deliveryLocation_city": "Town/City",
@@ -120,6 +122,8 @@
120
122
  "deliveryLocation_title": "Delivery location",
121
123
  "formItem_required_errorMessage": "This field is required",
122
124
  "invoicePreview.headerTitle": "Invoice",
125
+ "invoicePreview_VAT": "VAT",
126
+ "invoicePreview_VATof": "VAT of",
123
127
  "invoicePreview_attachmentsTitle": "Attachments",
124
128
  "invoicePreview_billingLinesTitle": "Invoice lines",
125
129
  "invoicePreview_lineDiscount": "line discount",
@@ -162,7 +166,9 @@
162
166
  "supplier_contact_email_title": "A payment notification will be sent to this email address",
163
167
  "supplier_contact_name": "Contact name",
164
168
  "supplier_contact_phoneNumber": "Phone number",
169
+ "supplier_errorFetchingCityAndPostcode": "Error fetching city and postcode data:",
165
170
  "supplier_identifier": "Supplier identifier",
171
+ "supplier_identifier_validationMessage": "Input must be in the format: 111111-1111",
166
172
  "supplier_name": "Supplier name",
167
173
  "supplier_notFound": "Did not find information about name and address of party from entered identifier",
168
174
  "supplier_notValidEmail": "Not a valid E-Mail",
@@ -40,20 +40,20 @@
40
40
  "billingCalculations_labels_TotalRoundingAmount": "Afrúningur aura",
41
41
  "billingCalculations_labels_TotalVatAmount": "Samtals VSK upphæð",
42
42
  "billingLines_button_addRow": "Bæta við röð",
43
- "billingLines_currencyCode": "Currency",
44
- "billingLines_currency_DKK": "Danish krona (DKK)",
43
+ "billingLines_currencyCode": "Gjaldmiðill",
44
+ "billingLines_currency_DKK": "Dönsk króna (DKK)",
45
45
  "billingLines_currency_DKK_short": "DKK",
46
- "billingLines_currency_EUR": "Euro (EUR)",
46
+ "billingLines_currency_EUR": "Evra (EUR)",
47
47
  "billingLines_currency_EUR_short": "EUR",
48
- "billingLines_currency_GBP": "British pound (GBP)",
48
+ "billingLines_currency_GBP": "Sterlingspund (GBP)",
49
49
  "billingLines_currency_GBP_short": "GBP",
50
- "billingLines_currency_ISK": "Icelandic krona (ISK)",
50
+ "billingLines_currency_ISK": "Íslensk króna (ISK)",
51
51
  "billingLines_currency_ISK_short": "ISK",
52
- "billingLines_currency_NOK": "Norwegian krona (NOK)",
52
+ "billingLines_currency_NOK": "Norsk króna (NOK)",
53
53
  "billingLines_currency_NOK_short": "NOK",
54
- "billingLines_currency_SEK": "Swedish krona (SEK)",
54
+ "billingLines_currency_SEK": "Sænsk króna (SEK)",
55
55
  "billingLines_currency_SEK_short": "SEK",
56
- "billingLines_currency_USD": "US dollar (USD)",
56
+ "billingLines_currency_USD": "Bandaríkjadalur (USD)",
57
57
  "billingLines_currency_USD_short": "USD",
58
58
  "billingLines_discount": "Afsláttur",
59
59
  "billingLines_discount_helpText": "Afslátt má setja fram sem upphæð eða sem hlutfall með því að bæta við prósentutákni (%)",
@@ -74,7 +74,7 @@
74
74
  "billingLines_taxCategoryType_title": "Ekki er hægt að leggja virðisauka á vöru nema gefa upp VSK númer",
75
75
  "billingLines_title": "Reikningslínur",
76
76
  "billingLines_tooltip_title": "Hér þarf að skilgreina Vörunr, Nafn, Fjölda, Mælieiningu, Verð pr. einingu og upphæð. Virðisauki reiknast sjálfkrafa. Smelltu á \"Bæta við röð\" til þess að bæta við vörulínu",
77
- "billingLines_total": "Total",
77
+ "billingLines_total": "Alls",
78
78
  "billingLines_total_discount": "Afsláttur alls",
79
79
  "billingLines_unitOfMeasure": "Mælieining",
80
80
  "billingLines_unitPriceAmount": "Verð pr. einingu",
@@ -93,6 +93,7 @@
93
93
  "createInvoice_Submit": "Senda",
94
94
  "createInvoice_addDocumentLineMsg": "Bætið við a.m.k einnig línu í skrá",
95
95
  "createInvoice_customerStepTitle": "Kaupandi",
96
+ "createInvoice_invoiceHadValidationErrors": "Reikningur hefur sannreyningarvillurs",
96
97
  "createInvoice_invoiceStepTitle": "Reikningur",
97
98
  "createInvoice_nextStep": "Halda áfram",
98
99
  "createInvoice_paymentStepTitle": "Greiðsla",
@@ -105,11 +106,12 @@
105
106
  "customer_address_city": "Borg",
106
107
  "customer_address_countryCode": "Landsnúmer",
107
108
  "customer_address_streetNameAndNumber": "Heimilisfang",
108
- "customer_address_zipPostalCode": "Zip/Postal code",
109
+ "customer_address_zipPostalCode": "Póstnúmer",
109
110
  "customer_contact_email": "Netfang",
110
111
  "customer_contact_name": "Nafn tengiliðs",
111
112
  "customer_identifier": "Kennitala",
112
113
  "customer_name": "Nafn",
114
+ "customer_no_customer_configured": "Villa: Enginn viðskiptavinur stilltur",
113
115
  "customer_selectTheCustomer": "Veldu viðskiptavini",
114
116
  "customer_title": "Viðskiptavinur",
115
117
  "deliveryLocation_city": "Bær/Borg",
@@ -119,11 +121,13 @@
119
121
  "deliveryLocation_streetNameAndNumber": "Heimilisfang",
120
122
  "deliveryLocation_title": "Afhendingarstaður",
121
123
  "formItem_required_errorMessage": "Það þarf að fylla út í þennan reit",
122
- "invoicePreview.headerTitle": "Invoice",
123
- "invoicePreview_attachmentsTitle": "Attachments",
124
- "invoicePreview_billingLinesTitle": "Invoice lines",
125
- "invoicePreview_lineDiscount": "line discount",
126
- "invoicePreview_paymentInfoTitle": "Payment information",
124
+ "invoicePreview.headerTitle": "Reikningur",
125
+ "invoicePreview_VAT": "VSK",
126
+ "invoicePreview_VATof": "VSK af",
127
+ "invoicePreview_attachmentsTitle": "Viðhengi",
128
+ "invoicePreview_billingLinesTitle": "Reikningslínur",
129
+ "invoicePreview_lineDiscount": "afsláttur á línu",
130
+ "invoicePreview_paymentInfoTitle": "Greiðsluupplýsingar",
127
131
  "missingRequiredData": "Vantar skilyrt gögn:",
128
132
  "noWhitespaceValidation_message": "Þetta svæði má ekki innihalda eingöngu stafbil",
129
133
  "paymentMethod_label": "Reikningsnúmer",
@@ -149,28 +153,30 @@
149
153
  "referenceIdentifiers_values_validation_message": "Þetta gildi er ekki til",
150
154
  "saveInformation_label": "Vista upplýsingar",
151
155
  "submitConfirmation_SuccessfullyUploadedAttachment": "Viðhengi sem hefur verið sent:",
152
- "submitConfirmation_footer_text": "If any questions arise, please contact us at",
156
+ "submitConfirmation_footer_text": "Ef spurningar vakna, hafið samband",
153
157
  "submitConfirmation_successfullyCreatedInvoice": "Reikningur hefur verið stofnaður",
154
- "submitConfirmation_text": "The invoice has been sent to the customer.",
155
- "submitConfirmation_title": "Invoice sent",
158
+ "submitConfirmation_text": "Reikningur hefur verið sendur til viðskiptavinar.",
159
+ "submitConfirmation_title": "Reikningur sendur",
156
160
  "supplier_address_city": "Borg",
157
161
  "supplier_address_countryCode": "Landsnúmer",
158
162
  "supplier_address_streetNameAndNumber": "Heimilisfang",
159
163
  "supplier_address_zip_postalCode": "Póstnúmer",
160
- "supplier_address_zip_postalZone": "Zip/Postal code",
164
+ "supplier_address_zip_postalZone": "Póstnúmer",
161
165
  "supplier_contact_email": "Netfang",
162
166
  "supplier_contact_email_title": "Send verður greiðslutilkynning á þetta netfang",
163
167
  "supplier_contact_name": "Nafn tengiliðs",
164
168
  "supplier_contact_phoneNumber": "Símanúmer",
169
+ "supplier_errorFetchingCityAndPostcode": "Vill við að sækja stað og póstnúmer:",
165
170
  "supplier_identifier": "Kennitala",
171
+ "supplier_identifier_validationMessage": "Gildið verður að vera á forminu: 111111-1111",
166
172
  "supplier_name": "Nafn birgja",
167
173
  "supplier_notFound": "Fann ekki upplýsingar um nafn og heimilisfang aðila út frá innsleginni kennitölu",
168
174
  "supplier_notValidEmail": "Ekki gilt netfang",
169
175
  "supplier_notVatRegistered": "Ekki VSK skyldur rekstur",
170
- "supplier_title": "Birgi",
176
+ "supplier_title": "Birgir",
171
177
  "supplier_vatNumber": "VSK nr.",
172
178
  "supplier_vatNumber_mandatory": "Gerð er krafa um VSK númer ef línur í skjali nota aðra skattflokka heldur en 'Utan skattumfangs'",
173
- "supplier_vatValidationMessage": "Must be between 5 and 6 characters",
179
+ "supplier_vatValidationMessage": "Verður að vera fimm eða sex stafir",
174
180
  "taxCategoryType_label": "{taxCategoryType, select , StandardRated {Hefðbundinn skattur} ReducedRated {Lækkaður skattur} ZeroRated {Enginn skattur} Exempt {Undaþeginn skatti} OutsideTaxScope {Utan skattumfangs} ReverseCharged {Reverse charged} FreeExportTaxNotCharged {Free export tax not charged} ExemptEuropeanEconomicArea {Exempt European economic area} ExemptionForResale {Undanþága vegna endursölu} other {taxCategoryType}}",
175
181
  "unitOfMeasure_labels_CubicMetre": "Rúmmetri",
176
182
  "unitOfMeasure_labels_Day": "Dagur",