@unimaze/billing 0.12.2 → 0.12.3
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.
|
@@ -62,7 +62,18 @@ var ReferenceIdentifiers = function (props) {
|
|
|
62
62
|
var _c = react_1.useState(false), loadingReferenceIdentifierValues = _c[0], setLoadingReferenceIdentifierValues = _c[1]; // TODO: change this to boolean[] for handling the list
|
|
63
63
|
var referenceIdentifiersHelp = props.referenceIdentifiersHelpText ? props.referenceIdentifiersHelpText : props.intl.formatMessage(exports.translationMessages.referenceIdentifiers_labels_referenceIdentifier_title);
|
|
64
64
|
var referenceIdentifiersLabel = props.referenceIdentifiersLabelText ? props.referenceIdentifiersLabelText : props.intl.formatMessage(exports.translationMessages.referenceIdentifiers_labels_referenceIdentifier);
|
|
65
|
-
var
|
|
65
|
+
var referenceIdentifierOptions = ReferenceIdentifierUtility_1.getReferenceIdentifierOptions(props.receiverRequirements);
|
|
66
|
+
var referenceIdentifiersHelpTextNode = react_1.default.createElement("div", null,
|
|
67
|
+
react_1.default.createElement("p", null, referenceIdentifiersHelp),
|
|
68
|
+
react_1.default.createElement("ul", null, referenceIdentifierOptions.map(function (x) {
|
|
69
|
+
if (x.properties.hasOwnProperty("handling") && x.properties.handling) {
|
|
70
|
+
var handling = JSON.parse(x.properties.handling);
|
|
71
|
+
if (handling.hasOwnProperty("helpText") && handling.helpText.length > 0) {
|
|
72
|
+
return react_1.default.createElement("li", null, handling.helpText);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
})));
|
|
76
|
+
var referenceIdentifierLabelNode = (react_1.default.createElement(antd_1.Tooltip, { title: referenceIdentifiersHelpTextNode, placement: "right" },
|
|
66
77
|
react_1.default.createElement("span", null,
|
|
67
78
|
referenceIdentifiersLabel,
|
|
68
79
|
"\u00A0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"baseInformation_dueDate": "Gjalddagi",
|
|
17
17
|
"baseInformation_dueDate_title": "Eindagi skal vera sá sami og gjalddagi",
|
|
18
18
|
"baseInformation_buyerReferenceLabel": "Tilvísun kaupanda",
|
|
19
|
-
"baseInformation_buyerReferenceLabel_helpText": "Tilvísun sem kaupandi
|
|
19
|
+
"baseInformation_buyerReferenceLabel_helpText": "Tilvísun sem kaupandi óskar eftir að sé sett á reikning og hjálpar hún honum við að flokka kostnað. Tilvísun getur t.d. verið verknúmer, fasteignanúmer, bílnúmer ofl. Ef kaupandi hefur ekki gefið upp tilvísun, má setja nafn þess sem pantar hér.",
|
|
20
20
|
"baseInformation_orderReferenceLabel": "Pöntun nr.",
|
|
21
21
|
"baseInformation_orderReferenceLabel_helpText": "Aðeins má nota númer raunverulegrar pöntunar. Ef engin pöntun er til, verður að nota tilvísun kaupanda.",
|
|
22
22
|
"baseInformation_notes": "Athugasemdir",
|