fix: system hangs while creating saving product
now it's working fine Fixes: #2020
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
85739e213d
commit
294ae1e340
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<div fxLayout="row wrap" fxLayout.lt-md="column">
|
<div fxLayout="row wrap" fxLayout.lt-md="column">
|
||||||
|
|
||||||
<div fxFlexFill fxLayout="row wrap" fxLayout.lt-md="column">
|
<div fxFlexFill *ngIf="accountingRule" fxLayout="row wrap" fxLayout.lt-md="column">
|
||||||
<span fxFlex="40%">Type:</span>
|
<span fxFlex="40%">Type:</span>
|
||||||
<span fxFlex="60%">{{ accountingRule.value }}</span>
|
<span fxFlex="60%">{{ accountingRule.value }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+8
-2
@@ -18,11 +18,17 @@ export class ViewSavingsAccountingDetailsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isCashOrAccrualAccounting(): boolean {
|
isCashOrAccrualAccounting(): boolean {
|
||||||
return this.accounting.isCashOrAccrualAccounting(this.accountingRule);
|
if (this.accountingRule) {
|
||||||
|
return this.accounting.isCashOrAccrualAccounting(this.accountingRule);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
isAccrualAccounting(): boolean {
|
isAccrualAccounting(): boolean {
|
||||||
return this.accounting.isAccrualAccounting(this.accountingRule);
|
if (this.accountingRule) {
|
||||||
|
return this.accounting.isAccrualAccounting(this.accountingRule);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user