feat: add rent payment history and reversal dialogs
- Implemented RentPaymentHistoryServiceTest to validate payment retrieval with refunds and reversals. - Created ReverseRentPaymentServiceTest to ensure correct handling of payment reversals and allocation releases. - Developed rent-payment-allocation-dialog component with form for surplus allocation. - Added rent-payment-refund-dialog component for processing refunds with validation. - Introduced rent-payment-reversal-dialog component for reversing payments with reason input. - Implemented utility functions for formatting Euro values and handling date formatting. - Enhanced rent-payment-dialogs.spec.ts to cover new dialog functionalities and error handling.
This commit is contained in:
1 parent
e02ad54bcb
commit
b9e99348f7
76 files changed
+3141
-1531
No files matched your search
Vendored
+46
-43
@@ -1,44 +1,47 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Backend: Spring Boot",
|
||||
"request": "launch",
|
||||
"presentation": {
|
||||
"hidden": true
|
||||
},
|
||||
"mainClass": "fr.nessar.lmnporganizer.backend.BackendApplication",
|
||||
"projectName": "backend",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"env": {
|
||||
"SPRING_DATA_MONGODB_URI": "mongodb://admin:adminpassword@localhost:27017/lmnp?authSource=admin"
|
||||
},
|
||||
"preLaunchTask": "Start MongoDB",
|
||||
"postDebugTask": "Stop MongoDB"
|
||||
},
|
||||
{
|
||||
"type": "chrome",
|
||||
"name": "Frontend: Angular",
|
||||
"request": "launch",
|
||||
"presentation": {
|
||||
"hidden": true
|
||||
},
|
||||
"url": "http://localhost:4200",
|
||||
"webRoot": "${workspaceFolder}/frontend",
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Start Angular"
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Debug whole app",
|
||||
"configurations": ["Backend: Spring Boot", "Frontend: Angular"],
|
||||
"stopAll": true,
|
||||
"presentation": {
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Backend: Spring Boot",
|
||||
"request": "launch",
|
||||
"presentation": {
|
||||
"hidden": true
|
||||
},
|
||||
"mainClass": "fr.nessar.lmnporganizer.LmnpOrganizerApplication",
|
||||
"projectName": "backend",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"env": {
|
||||
"SPRING_DATA_MONGODB_URI": "mongodb://admin:adminpassword@localhost:27017/lmnp?authSource=admin"
|
||||
},
|
||||
"preLaunchTask": "Start MongoDB",
|
||||
"postDebugTask": "Stop MongoDB"
|
||||
},
|
||||
{
|
||||
"type": "chrome",
|
||||
"name": "Frontend: Angular",
|
||||
"request": "launch",
|
||||
"presentation": {
|
||||
"hidden": true
|
||||
},
|
||||
"url": "http://localhost:4200",
|
||||
"webRoot": "${workspaceFolder}/frontend",
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Start Angular"
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Debug whole app",
|
||||
"configurations": [
|
||||
"Backend: Spring Boot",
|
||||
"Frontend: Angular"
|
||||
],
|
||||
"stopAll": true,
|
||||
"presentation": {
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user