@if (accountingRule.debitTags?.length) {
{{ 'labels.inputs.Debit Tags' | translate }}
@for (debitTag of accountingRule.debitTags; track debitTag) {
{{ debitTag.tag.name }}
}
}
@if (accountingRule.debitAccounts?.length) {
{{ 'labels.inputs.Debit Account Name' | translate }}
@for (debitAccount of accountingRule.debitAccounts; track debitAccount) {
{{ debitAccount.name + ' (' + debitAccount.glCode + ')' }}
}
}
@if (accountingRule.creditTags?.length) {
{{ 'labels.inputs.Credit Tags' | translate }}
@for (creditTag of accountingRule.creditTags; track creditTag) {
{{ creditTag.tag.name }}
}
}
@if (accountingRule.creditAccounts?.length) {
{{ 'labels.inputs.Credit Account Name' | translate }}
@for (creditAccount of accountingRule.creditAccounts; track creditAccount) {
{{ creditAccount.name + ' (' + creditAccount.glCode + ')' }}
}
}