From 7b1e9108a5fe6ab9ea58cd7d11064348a9ef8d76 Mon Sep 17 00:00:00 2001 From: hillelcoren Date: Fri, 3 Jun 2022 06:03:34 +0000 Subject: [PATCH] Admin Portal - Profile --- public/main.profile.dart.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index cb7bbc200c27..f78fbcc00a59 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -414386,7 +414386,7 @@ } t3 = J.where$1$ax(lineItems._copy_on_write_list$_list, new A._InvoiceEditItemsDesktopState_build_closure4()); if (!t3.get$iterator(t3).moveNext$0()) { - t3 = A.InvoiceItemEntity_InvoiceItemEntity(_null, company.defaultQuantity ? 1 : 0); + t3 = A.InvoiceItemEntity_InvoiceItemEntity(_null, company.defaultQuantity || !company.enableProductQuantity ? 1 : 0); lineItems._maybeCopyBeforeWrite$0(); J.add$1$ax(lineItems._copy_on_write_list$_list, t3); } @@ -416099,9 +416099,10 @@ A._InvoiceItemSelectorState_build_closure5.prototype = { call$0() { var t1 = this.$this, - t2 = t1._widget; - t2.toString; - t2.onItemsSelected$1(A._setArrayType([A.InvoiceItemEntity_InvoiceItemEntity(null, this.company.defaultQuantity ? 1 : 0)], type$.JSArray_legacy_InvoiceItemEntity)); + t2 = this.company, + t3 = t1._widget; + t3.toString; + t3.onItemsSelected$1(A._setArrayType([A.InvoiceItemEntity_InvoiceItemEntity(null, t2.defaultQuantity || !t2.enableProductQuantity ? 1 : 0)], type$.JSArray_legacy_InvoiceItemEntity)); t1 = t1._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null);