More chaanges in settings component
This commit is contained in:
parent
e9eda2d30c
commit
e4eeacf2cd
2 changed files with 4 additions and 2 deletions
|
@ -134,7 +134,9 @@
|
||||||
<div style="height: 10px;
|
<div style="height: 10px;
|
||||||
margin-top: 10px;">
|
margin-top: 10px;">
|
||||||
</div>
|
</div>
|
||||||
<mat-form-field class="settings-field" [style.width.%]="100">
|
<mat-form-field *ngIf="linked2Xero"
|
||||||
|
class="settings-field"
|
||||||
|
[style.width.%]="100">
|
||||||
<mat-label>Account Code</mat-label>
|
<mat-label>Account Code</mat-label>
|
||||||
<input matInput
|
<input matInput
|
||||||
width="100%"
|
width="100%"
|
||||||
|
|
|
@ -126,7 +126,7 @@ export class SettingsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
closeIntegration() {
|
closeIntegration() {
|
||||||
if ( this.xeroAccCod == '' )
|
if ( (this.xeroAccCod == '') && (this.linked2Xero) )
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification("Payment confirmation disabled!!","Close",'warning');
|
.showNotification("Payment confirmation disabled!!","Close",'warning');
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
|
|
Loading…
Reference in a new issue