@unimaze/billing 0.12.1 → 0.12.2

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.
@@ -309,7 +309,7 @@ var CreateInvoiceConstructor = function (props) {
309
309
  }
310
310
  };
311
311
  return (react_1.default.createElement(antd_1.Spin, { spinning: submitting },
312
- react_1.default.createElement(antd_1.Form, __assign({ onValuesChange: function (changedValues, allValues) { return getBillingLines(changedValues, allValues); } }, formLayout_1.formItemLayout, { form: form, onFinish: handleSubmit, initialValues: {
312
+ react_1.default.createElement(antd_1.Form, __assign({ scrollToFirstError: true, onValuesChange: function (changedValues, allValues) { return getBillingLines(changedValues, allValues); } }, formLayout_1.formItemLayout, { form: form, onFinish: handleSubmit, initialValues: {
313
313
  invoice: {
314
314
  supplier: {
315
315
  address: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var icelandicNumberLocaleWorkaroundChrome = function (value, intl, options) {
4
4
  var locale = localStorage.getItem("languageString");
5
5
  if (locale) {
6
- var supportedLocalesArray = Intl.Collator.supportedLocalesOf(locale);
6
+ var supportedLocalesArray = Intl.NumberFormat.supportedLocalesOf(locale);
7
7
  if (supportedLocalesArray.every(function (x) { return x !== locale; })) {
8
8
  switch (locale) {
9
9
  case "is":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unimaze/billing",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",