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;
|
||||
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%"
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue