@appcorp/stellar-solutions-invoice-module 0.1.16 → 0.1.17
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.
|
@@ -297,6 +297,10 @@ var useInvoiceState = function () {
|
|
|
297
297
|
});
|
|
298
298
|
};
|
|
299
299
|
var handleCreate = function (text) {
|
|
300
|
+
dispatch({
|
|
301
|
+
type: actions_1.INVOICE_ACTION_TYPES.SET_INPUT_FIELD,
|
|
302
|
+
payload: { key: 'ref', value: (0, util_functions_1.generateRef)({ refLength: 5 }) },
|
|
303
|
+
});
|
|
300
304
|
if (text === 'company') {
|
|
301
305
|
dispatch({
|
|
302
306
|
type: actions_1.INVOICE_ACTION_TYPES.SET_DRAWER,
|
|
@@ -606,7 +610,7 @@ var useInvoiceState = function () {
|
|
|
606
610
|
textInputElements[2].value = state.note;
|
|
607
611
|
textInputElements[2].handleOnChange = handleChange;
|
|
608
612
|
textInputElements[2].error = state.errors.note;
|
|
609
|
-
textInputElements[3].value = state.ref
|
|
613
|
+
textInputElements[3].value = state.ref;
|
|
610
614
|
}
|
|
611
615
|
var comboboxElements = (_b = elements[form_schema_1.VISTA_FORM_ELEMENTS.COMBOBOX_V1]) === null || _b === void 0 ? void 0 : _b.sort(function (a, b) { return a.order - b.order; });
|
|
612
616
|
if (comboboxElements) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/stellar-solutions-invoice-module",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
|
|
6
6
|
"build:next": "next build",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@appcorp/app-corp-designs": "^0.4.79",
|
|
22
|
-
"@appcorp/app-corp-vista": "^0.2.
|
|
22
|
+
"@appcorp/app-corp-vista": "^0.2.21",
|
|
23
23
|
"@appcorp/stellar-solutions-company-module": "^0.1.16",
|
|
24
24
|
"@appcorp/stellar-solutions-modules": "^0.1.5",
|
|
25
25
|
"@appcorp/stellar-solutions-product-module": "^0.1.87",
|