{{ 'labels.inputs.Accounting Rule Name' | translate }} @if (accountingRuleForm.controls.name.hasError('required')) { {{ 'labels.inputs.Accounting Rule Name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Office' | translate }} @for (office of officeData; track office) { {{ office.name }} } @if (accountingRuleForm.controls.officeId.hasError('required')) { {{ 'labels.inputs.Office' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} }
{{ 'labels.inputs.Affected GL Entry (Debit) Rule Type' | translate }} * {{ 'labels.inputs.Fixed Account' | translate }} {{ 'labels.inputs.List of Accounts' | translate }}
@if (accountingRuleForm.controls.debitRuleType.value === 'fixedAccount') { {{ 'labels.inputs.Account to Debit' | translate }} @for (glAccount of glAccountData; track glAccount) { {{ glAccount.name }} } } @if (accountingRuleForm.controls.debitRuleType.value === 'listOfAccounts') {
{{ 'labels.inputs.Debit Tags' | translate }} @for (debitTag of debitTagData; track debitTag) { {{ debitTag.name }} }
{{ 'labels.inputs.Multiple Debit Entries Allowed' | translate }}
}
{{ 'labels.inputs.Affected GL Entry (Credit) Rule Type' | translate }} * {{ 'labels.inputs.Fixed Account' | translate }} {{ 'labels.inputs.List of Accounts' | translate }}
@if (accountingRuleForm.controls.creditRuleType.value === 'fixedAccount') { {{ 'labels.inputs.Account to Credit' | translate }} @for (glAccount of glAccountData; track glAccount) { {{ glAccount.name }} } } @if (accountingRuleForm.controls.creditRuleType.value === 'listOfAccounts') {
{{ 'labels.inputs.Credit Tags' | translate }} @for (creditTag of creditTagData; track creditTag) { {{ creditTag.name }} }
{{ 'labels.inputs.Multiple Credit Entries Allowed' | translate }}
} {{ 'labels.inputs.Description' | translate }}