From afb9f222be57752d63bd16568bceb4921d3b4bda Mon Sep 17 00:00:00 2001 From: hillelcoren Date: Thu, 27 Apr 2023 15:50:51 +0000 Subject: [PATCH] Admin Portal - Profile --- public/main.profile.dart.js | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 4df3df3e12d1..054acab5a9ab 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -113670,11 +113670,7 @@ value45 = value0; break; case B.InvoiceReportFields_1: - if (!(t11 && t21)) - t31 = t22 && t21; - else - t31 = true; - value45 = t31 ? 0 : value20; + value45 = value20; break; case B.InvoiceReportFields_2: if (!(t11 && t21)) @@ -113687,11 +113683,7 @@ value45 = t12 ? value1 : value20; break; case B.InvoiceReportFields_3: - if (!(t11 && t21)) - t31 = t22 && t21; - else - t31 = true; - value45 = t31 ? 0 : A.round(t28, 2); + value45 = A.round(t28, 2); break; case B.InvoiceReportFields_4: if (!(t11 && t21)) @@ -503936,11 +503928,13 @@ t7 = J.$index$asx(t5.$index(0, _s2_), _s19_); t8.push(new A.Padding(B.EdgeInsets_16_0_16_8, new A.AppButton(_null, B.IconData_57627_MaterialIcons_null_false, t7.toUpperCase(), new A._AccountOverview_build_closure(_this, context), _null, _null), _null)); } - if (t3[t4].userCompany.ninjaPortalUrl.length !== 0) - t7 = (!A.isApple() || A.supportsInAppPurchase()) && state.get$isHosted(); + if (state.get$isHosted()) + t7 = (!state.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro") && A.supportsInAppPurchase(); else t7 = false; - if (t7) { + if (t7) + t8.push(new A.SizedBox(_null, _null, _null, _null)); + else if (state.get$isHosted()) { if (account.trialStarted.length === 0 && account.plan === "" && !A.supportsInAppPurchase()) { t7 = J.$index$asx(t5.$index(0, t6), _s16_); if (t7 == null)