{{ 'labels.inputs.Office' | translate }}
{{ accountingRule.officeName }}
@if (accountingRule.description) {
{{ 'labels.inputs.Description' | translate }}
{{ accountingRule.description }}
}
{{ 'labels.inputs.Multiple Debit Entries Allowed' | translate }}
{{ accountingRule.allowMultipleDebitEntries }}
{{ 'labels.inputs.Multiple Credit Entries Allowed' | translate }}
{{ accountingRule.allowMultipleCreditEntries }}
@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 + ')' }} }
}