mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
tax information
This commit is contained in:
parent
5b31fe37f2
commit
f03c22cc07
@ -10,7 +10,12 @@
|
|||||||
$scope.model = {
|
$scope.model = {
|
||||||
name: org.Name,
|
name: org.Name,
|
||||||
billingEmail: org.BillingEmail,
|
billingEmail: org.BillingEmail,
|
||||||
businessName: org.BusinessName
|
businessName: org.BusinessName,
|
||||||
|
businessAddress1: org.BusinessAddress1,
|
||||||
|
businessAddress2: org.BusinessAddress2,
|
||||||
|
businessAddress3: org.BusinessAddress3,
|
||||||
|
businessCountry: org.BusinessCountry,
|
||||||
|
businessTaxNumber: org.BusinessTaxNumber
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -25,15 +25,28 @@
|
|||||||
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control"
|
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control"
|
||||||
required api-field ng-readonly="selfHosted" />
|
required api-field ng-readonly="selfHosted" />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="name">Billing Email</label>
|
||||||
|
<input type="email" id="billingEmail" name="BillingEmail" ng-model="model.billingEmail"
|
||||||
|
class="form-control" required api-field ng-readonly="selfHosted" />
|
||||||
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="name">Business Name</label>
|
<label for="name">Business Name</label>
|
||||||
<input type="text" id="businessName" name="BusinessName" ng-model="model.businessName"
|
<input type="text" id="businessName" name="BusinessName" ng-model="model.businessName"
|
||||||
class="form-control" api-field ng-readonly="selfHosted" />
|
class="form-control" api-field ng-readonly="selfHosted" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div ng-if="!selfHosted">
|
||||||
<label for="name">Billing Email</label>
|
<hr />
|
||||||
<input type="email" id="billingEmail" name="BillingEmail" ng-model="model.billingEmail"
|
<strong>Tax Information</strong>
|
||||||
class="form-control" required api-field ng-readonly="selfHosted" />
|
<div>{{model.businessAddress1}}</div>
|
||||||
|
<div>{{model.businessAddress2}}</div>
|
||||||
|
<div>{{model.businessAddress3}}</div>
|
||||||
|
<div>{{model.businessCountry}}</div>
|
||||||
|
<div>{{model.businessTaxNumber}}</div>
|
||||||
|
<p class="help-block">
|
||||||
|
Please <a href="https://bitwarden.com/contact/" target="_blank">contact support</a>
|
||||||
|
to provide (or update) tax information for your invoices.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3 settings-photo">
|
<div class="col-sm-3 settings-photo">
|
||||||
|
@ -113,6 +113,7 @@
|
|||||||
additionalStorageGb: model.additionalStorageGb,
|
additionalStorageGb: model.additionalStorageGb,
|
||||||
billingEmail: model.billingEmail,
|
billingEmail: model.billingEmail,
|
||||||
businessName: model.ownedBusiness ? model.businessName : null,
|
businessName: model.ownedBusiness ? model.businessName : null,
|
||||||
|
country: $scope.paymentMethod === 'card' ? model.card.address_country : null,
|
||||||
collectionName: defaultCollectionCt
|
collectionName: defaultCollectionCt
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user