{{ 'labels.inputs.Office' | translate }} @for (office of officeData; track office) { {{ office.name }} } @if (openingBalancesForm.controls.officeId.hasError('required')) { {{ 'labels.inputs.Office' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} }
@if (openingBalancesData) {
{{ 'labels.inputs.Currency' | translate }} @for (currency of currencyData; track currency) { {{ currency.displayLabel }} } @if (openingBalancesForm.controls.currencyCode.hasError('required')) { {{ 'labels.inputs.Currency' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Opening Balances Date' | translate }} @if (openingBalancesForm.controls.transactionDate.hasError('required')) { {{ 'labels.inputs.Opening Balances Date' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} }
{{ 'labels.inputs.Type' | translate }}
{{ 'labels.inputs.GL Code' | translate }}
{{ 'labels.inputs.GL Name' | translate }} {{ 'labels.inputs.Account' | translate }}
{{ 'labels.inputs.Total Debit' | translate }}: {{ debitsSum | currency: currencyCode : 'symbol-narrow' : '1.2-2' }}
{{ 'labels.inputs.Total Credit' | translate }}: {{ creditsSum | currency: currencyCode : 'symbol-narrow' : '1.2-2' }}
@for (credit of glAccountEntries.controls; track credit; let i = $index) {
{{ openingBalancesData.glAccounts[i].glAccountType.value !== openingBalancesData.glAccounts[i - 1]?.glAccountType.value ? glAccountTypeLabel(openingBalancesData.glAccounts[i].glAccountType.value) : '' }}
{{ openingBalancesData.glAccounts[i].glAccountCode }}
{{ openingBalancesData.glAccounts[i].glAccountName }}
{{ 'labels.inputs.Debit' | translate }}
{{ 'labels.inputs.Credit' | translate }}
}
}
@if (openingBalancesData) { }

{{ 'labels.heading.Migrate opening balances (Office-wise)' | translate }}

{{ 'labels.text.Migrate Opening Balances' | translate }} {{ 'labels.inputs.Migrate opening balances (Office-wise)' | translate }}