More chaanges in settings component

This commit is contained in:
Rene V. Vergara A. 2022-09-08 11:35:55 -05:00
parent e9eda2d30c
commit e4eeacf2cd
2 changed files with 4 additions and 2 deletions

View File

@ -134,7 +134,9 @@
<div style="height: 10px;
margin-top: 10px;">
</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>
<input matInput
width="100%"

View File

@ -126,7 +126,7 @@ export class SettingsComponent implements OnInit {
}
closeIntegration() {
if ( this.xeroAccCod == '' )
if ( (this.xeroAccCod == '') && (this.linked2Xero) )
this.notifierService
.showNotification("Payment confirmation disabled!!","Close",'warning');
this.dialogRef.close();