fix: alignments in migrate opening balances (#745)

Fixes: #743
This commit is contained in:
Benura Abeywardena
2020-05-11 18:46:49 +05:30
committed by GitHub
parent 332e514771
commit f177ab2001
@@ -21,7 +21,7 @@
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
<button mat-button type="button" color="primary" fxFlex="4%" (click)="retrieveOpeningBalances()">Retrieve</button> <button mat-button type="button" color="primary" fxFlex="8%" (click)="retrieveOpeningBalances()">Retrieve</button>
</div> </div>
@@ -80,15 +80,15 @@
<div fxFlexFill fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column" [formGroupName]="i"> <div fxFlexFill fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column" [formGroupName]="i">
<div fxFlex="8%"> <div fxFlex="8%" class="p-t-30">
{{ (openingBalancesData.glAccounts[i].glAccountType.value !== openingBalancesData.glAccounts[i-1]?.glAccountType.value) ? openingBalancesData.glAccounts[i].glAccountType.value : '' }} {{ (openingBalancesData.glAccounts[i].glAccountType.value !== openingBalancesData.glAccounts[i-1]?.glAccountType.value) ? openingBalancesData.glAccounts[i].glAccountType.value : '' }}
</div> </div>
<div fxFlex="18%"> <div fxFlex="18%" class="p-t-30">
{{ openingBalancesData.glAccounts[i].glAccountCode }} {{ openingBalancesData.glAccounts[i].glAccountCode }}
</div> </div>
<div fxFlex="18%"> <div fxFlex="18%" class="p-t-30">
{{ openingBalancesData.glAccounts[i].glAccountName }} {{ openingBalancesData.glAccounts[i].glAccountName }}
</div> </div>