Loan Term variations including Interest Pauses

This commit is contained in:
Jose Alberto Hernandez
2025-01-13 08:21:46 -05:00
committed by Jose Alberto Hernandez
parent 3bdeeb8201
commit b729898147
16 changed files with 69 additions and 17 deletions
+4
View File
@@ -48,4 +48,8 @@ export class Dates {
return JSON.parse(localStorage.getItem('mifosXLanguage'));
}
calculateDiff(date1: Date, date2: Date){
return Math.floor((Date.UTC(date2.getFullYear(), date2.getMonth(), date2.getDate()) - Date.UTC(date1.getFullYear(), date1.getMonth(), date1.getDate()) ) /(1000 * 60 * 60 * 24));
}
}