Charges with translations
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
8ac82cc6a6
commit
b380f7f630
@@ -17,14 +17,14 @@ import { OptionData } from 'app/shared/models/option-data.model';
|
||||
}
|
||||
|
||||
public getAccountRuleName(value: string): string {
|
||||
if (value === 'ACCRUAL PERIODIC') {
|
||||
if (['ACCRUAL PERIODIC', 'ACCRUAL (PERIODIC)'].includes(value)) {
|
||||
return 'Accrual (periodic)';
|
||||
} else if (value === 'ACCRUAL UPFRONT') {
|
||||
} else if (['ACCRUAL UPFRONT', 'ACCRUAL (UPFRONT)'].includes(value)) {
|
||||
return 'Accrual (upfront)';
|
||||
} else if (value === 'CASH BASED') {
|
||||
return 'Cash';
|
||||
} else if (value === 'NONE') {
|
||||
return 'None';
|
||||
return 'NONE';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user