implement identifier update in org settings (#601)

This commit is contained in:
Kyle Spearrin 2020-08-12 16:46:18 -04:00 committed by GitHub
parent f5034effd2
commit c46af91240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit 420393700b38ed6e8e812366faf9231858bdaa92
Subproject commit ed6978baff5b129341bd46cc90a6155c1bcc5124

View File

@ -22,6 +22,11 @@
<input id="businessName" class="form-control" type="text" name="BusinessName"
[(ngModel)]="org.businessName">
</div>
<div class="form-group">
<label for="identifier">{{'identifier' | i18n}}</label>
<input id="identifier" class="form-control" type="text" name="Identifier"
[(ngModel)]="org.identifier">
</div>
</div>
<div class="col-6">
<app-avatar data="{{org.name}}" dynamic="true" size="75" fontSize="35"></app-avatar>

View File

@ -65,6 +65,7 @@ export class AccountComponent {
request.name = this.org.name;
request.businessName = this.org.businessName;
request.billingEmail = this.org.billingEmail;
request.identifier = this.org.identifier;
this.formPromise = this.apiService.putOrganization(this.organizationId, request).then(() => {
return this.syncService.fullSync(true);
});

View File

@ -3163,5 +3163,8 @@
},
"taxInfoUpdated": {
"message": "Tax information updated."
},
"identifier": {
"message": "Identifier"
}
}