GL view transaction enhanced (#1645)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
d714eee1a7
commit
b6c5f0e41e
@@ -18,6 +18,7 @@ export class SettingsService {
|
||||
public static businessDateConfigName = 'enable_business_date';
|
||||
public static businessDateType = 'BUSINESS_DATE';
|
||||
public static cobDateType = 'COB_DATE';
|
||||
minAllowedDate = new Date(1950, 0, 1);
|
||||
maxAllowedDate = new Date(2100, 0, 1);
|
||||
|
||||
constructor(private alertService: AlertService,
|
||||
@@ -150,6 +151,13 @@ export class SettingsService {
|
||||
return localStorage.getItem('mifosXServerBusinessDateEnabled');
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns min Past date
|
||||
*/
|
||||
get minPastDate(): Date {
|
||||
return this.minAllowedDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns max Future date
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user