Display Loan Arrears and Delinquency information using the global configuration (#1706)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-03-14 09:18:36 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent c5de9ba30c
commit 1e9444cd20
6 changed files with 72 additions and 21 deletions
@@ -75,6 +75,9 @@ export class EditConfigurationComponent implements OnInit {
const payload = {
...this.configurationForm.value
};
if (!this.configurationForm.value.stringValue) {
delete payload.stringValue;
}
if (this.configurationForm.value.dateValue != null) {
payload.locale = this.settingsService.language.code;
payload.dateFormat = this.settingsService.dateFormat;