From c7d05eecef353c69f37c312e3f3563e378d21c4c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 7 May 2021 13:44:37 +0300 Subject: [PATCH] Update gateway links --- .../company_gateway/edit/company_gateway_edit_vm.dart | 2 +- lib/ui/invoice/edit/invoice_edit_items_desktop.dart | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/ui/company_gateway/edit/company_gateway_edit_vm.dart b/lib/ui/company_gateway/edit/company_gateway_edit_vm.dart index b675ea534..e78a5a49e 100644 --- a/lib/ui/company_gateway/edit/company_gateway_edit_vm.dart +++ b/lib/ui/company_gateway/edit/company_gateway_edit_vm.dart @@ -132,7 +132,7 @@ class CompanyGatewayEditVM { switch (gatewayId) { case kGatewayStripeConnect: launch( - '${cleanApiUrl(credentials.url)}/stripe_connect/${response['hash']}'); + '${cleanApiUrl(credentials.url)}/stripe/signup/${response['hash']}'); break; case kGatewayWePay: launch( diff --git a/lib/ui/invoice/edit/invoice_edit_items_desktop.dart b/lib/ui/invoice/edit/invoice_edit_items_desktop.dart index 2ee743281..a6af0e3f2 100644 --- a/lib/ui/invoice/edit/invoice_edit_items_desktop.dart +++ b/lib/ui/invoice/edit/invoice_edit_items_desktop.dart @@ -160,15 +160,13 @@ class _InvoiceEditItemsDesktopState extends State { if (hasTax2) TableHeader(localization.tax), if (hasTax3) TableHeader(localization.tax), TableHeader( - widget.isTasks ? localization.rate : localization.unitCost, - isNumeric: true), + widget.isTasks ? localization.rate : localization.unitCost), if (company.enableProductQuantity || widget.isTasks) TableHeader( - widget.isTasks ? localization.hours : localization.quantity, - isNumeric: true), + widget.isTasks ? localization.hours : localization.quantity), if (company.enableProductDiscount) - TableHeader(localization.discount, isNumeric: true), - TableHeader(localization.lineTotal, isNumeric: true), + TableHeader(localization.discount), + TableHeader(localization.lineTotal), TableHeader(''), ]), for (var index = 0; index < lineItems.length; index++)