Share Product and Share Account views updated
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
fafdd0dd20
commit
a41df49a3e
@@ -5,8 +5,12 @@ import { OptionData } from 'app/shared/models/option-data.model';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class Accounting {
|
||||
})
|
||||
export class Accounting {
|
||||
|
||||
public getAccountingRulesForShares(): string[] {
|
||||
return ['NONE', 'Cash'];
|
||||
}
|
||||
|
||||
public getAccountingRulesForSavings(): string[] {
|
||||
return ['NONE', 'Cash', 'Accrual (periodic)'];
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OptionData } from 'app/shared/models/option-data.model';
|
||||
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class Charges {
|
||||
|
||||
public getChargeAppliesToOptions(): OptionData[] {
|
||||
return [
|
||||
{ 'id': 1, 'code': 'chargeAppliesTo.loan', 'value': 'Loan' },
|
||||
{ 'id': 2, 'code': 'chargeAppliesTo.savings', 'value': 'Savings' },
|
||||
{ 'id': 3, 'code': 'chargeAppliesTo.client', 'value': 'Client' },
|
||||
{ 'id': 4, 'code': 'chargeAppliesTo.shares', 'value': 'Shares' }
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user