From f03c22cc07a7fd82c481d637e1903f33eeb28290 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 25 Oct 2017 12:21:46 -0400 Subject: [PATCH] tax information --- .../organizationSettingsController.js | 7 ++++++- .../views/organizationSettings.html | 21 +++++++++++++++---- .../settingsCreateOrganizationController.js | 1 + 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/app/organization/organizationSettingsController.js b/src/app/organization/organizationSettingsController.js index 7b5b3c6dd3..df08f98a44 100644 --- a/src/app/organization/organizationSettingsController.js +++ b/src/app/organization/organizationSettingsController.js @@ -10,7 +10,12 @@ $scope.model = { name: org.Name, billingEmail: org.BillingEmail, - businessName: org.BusinessName + businessName: org.BusinessName, + businessAddress1: org.BusinessAddress1, + businessAddress2: org.BusinessAddress2, + businessAddress3: org.BusinessAddress3, + businessCountry: org.BusinessCountry, + businessTaxNumber: org.BusinessTaxNumber }; }); }); diff --git a/src/app/organization/views/organizationSettings.html b/src/app/organization/views/organizationSettings.html index e73360da0c..7894248570 100644 --- a/src/app/organization/views/organizationSettings.html +++ b/src/app/organization/views/organizationSettings.html @@ -25,15 +25,28 @@ +
+ + +
-
- - +
+
+ Tax Information +
{{model.businessAddress1}}
+
{{model.businessAddress2}}
+
{{model.businessAddress3}}
+
{{model.businessCountry}}
+
{{model.businessTaxNumber}}
+

+ Please contact support + to provide (or update) tax information for your invoices. +

diff --git a/src/app/settings/settingsCreateOrganizationController.js b/src/app/settings/settingsCreateOrganizationController.js index 902b9ed3af..4cc07cdc04 100644 --- a/src/app/settings/settingsCreateOrganizationController.js +++ b/src/app/settings/settingsCreateOrganizationController.js @@ -113,6 +113,7 @@ additionalStorageGb: model.additionalStorageGb, billingEmail: model.billingEmail, businessName: model.ownedBusiness ? model.businessName : null, + country: $scope.paymentMethod === 'card' ? model.card.address_country : null, collectionName: defaultCollectionCt };