Immanuel Onyeka
1d7163f5ae
Render and select address from dropdown
vor 1 Jahr
Immanuel Onyeka
6566e1a4e9
Fix type and syntax errors
vor 1 Jahr
Immanuel Onyeka
ad233f81f2
Fix bug caused by empty avatar field
An empty avatar caused a request for the default icon to be fetched,
which caused the request for the user's letterhead to not be made.
vor 1 Jahr
Immanuel Onyeka
a2364d8340
Add address and phone number to user and branch
Update the database tables for user and branch to give more information
required for PDF generation. Also set up a test component to preview
change to the view during development. It will be reconfigured once the
genrated PDF is satisfactory.
vor 1 Jahr
Immanuel Onyeka
308bfb87a9
Create mockup html for PDF generation
vue-html2pdf appears unmaintained and hacky so it's being avoided.
vor 1 Jahr
Immanuel Onyeka
03fc18ff7b
Use composition API in sidebar.vue
vor 1 Jahr
Immanuel Onyeka
b3599fbe0e
Add password reset endpoint
vor 1 Jahr
Immanuel Onyeka
24f34e47db
Allow password reset requests from settings.vue
vor 1 Jahr
Immanuel Onyeka
268227203f
Cancel token refresh if it is currently invalid
vor 1 Jahr
Immanuel Onyeka
5111bd51dd
Move code to update user profile from endpoint
Since request.Body can only be read once, calling patchUser from
patchSelf always returned an error. request.Body needed to be either be
saved in a variable and reset or have a new function created.
vor 1 Jahr
Immanuel Onyeka
7055f5d6c7
Resize selected letterhead to good dimensions
Uses gift package for server side resizing of selected letterhead
file. It should fit an image file with aspect ratio of 2:1 and be a
reasonable size. A 400x200 resizeToFit is used for now.
gift just uses the native image/draw package internally.
https://pkg.go.dev/image/draw
vor 1 Jahr
Immanuel Onyeka
5c919b8f22
Display letterhead as 400x200 pixel image
vor 1 Jahr
Immanuel Onyeka
6e5cf4b5cd
Fetch and upload letterhead from settings view
vor 1 Jahr
Immanuel Onyeka
7fa03cc393
Add user letterhead endpoints
vor 1 Jahr
Immanuel Onyeka
8c5c94da5d
Make GET and POST requests to user avatar endpoints
vor 1 Jahr
Immanuel Onyeka
b9d0da2e90
Render and resize new avatar selection
vor 1 Jahr
Immanuel Onyeka
da111e4c06
Add deleteFeeTemp endpoint to delete fees
vor 1 Jahr
Immanuel Onyeka
366647310f
Fix error caused by negative percentages in fees
vor 1 Jahr
Immanuel Onyeka
daaff1c318
Add endpoint to create a new fee
vor 1 Jahr
Immanuel Onyeka
4558d1b4cc
Show currency formated summary in estimates.vue
vor 1 Jahr
Immanuel Onyeka
26850a0e73
Also retrieve loan type and borrower in getEstimate
vor 1 Jahr
Immanuel Onyeka
a2b2ca2ca2
Fix estimate_results SQL error
vor 1 Jahr
Immanuel Onyeka
5368bc6227
Calculate estimate result values with []Loans loop
vor 1 Jahr
Immanuel Onyeka
6d98b7b47a
Calculate estimate summary values in backend
vor 1 Jahr
Immanuel Onyeka
b3cf840f88
Loop over indices to avoid copying values
vor 1 Jahr
Immanuel Onyeka
26cd32c82a
Ensure new estimates have correct user IDs
vor 1 Jahr
Immanuel Onyeka
3a5477760d
Fetch user's estimates list from estimates.vue
vor 1 Jahr
Immanuel Onyeka
c566ddb991
Correctly represent fee types in estimates vue
vor 1 Jahr
Immanuel Onyeka
af5c204eb6
Save estimates to database from summary view
vor 1 Jahr
Immanuel Onyeka
bbb7bf5f1e
Add mandatory FHA MIP as a fee
vor 1 Jahr
Immanuel Onyeka
e9968ae63b
Represent money as int and percentages as float32
vor 1 Jahr
Immanuel Onyeka
562c485b2d
Fix loan.type.id conversion error
vor 1 Jahr
Immanuel Onyeka
e4f1ec3ab6
Fix type parsing errors for borrower and loan fields
vor 1 Jahr
Immanuel Onyeka
0c18bfdab8
Move form validation to golang backend
vor 1 Jahr
Immanuel Onyeka
39d84acba6
Calculate monthly MI
vor 1 Jahr
Immanuel Onyeka
671316e0b5
Show MI payments in summary
vor 1 Jahr
Immanuel Onyeka
1d7e34c0f1
Add fields and events for manual MI
vor 1 Jahr
Immanuel Onyeka
c8caed27ac
Display summary pane before generation
vor 1 Jahr
Immanuel Onyeka
60e164abd7
Continue to summary view after form validation
vor 1 Jahr
Immanuel Onyeka
93fa18dabf
Update interest and escrow attributes with events
vor 1 Jahr
Immanuel Onyeka
ee2ed39b46
Update changes to loan details in parent component
vor 1 Jahr
Immanuel Onyeka
ae8b4cb0ca
Update estimate entries with events
vor 1 Jahr
Immanuel Onyeka
0d7428b276
Move loan details into seperate component
Estimate creation process will be more clear if the details entered by
the user is in a seperate page from the summary information shown before
PDF generation. It will also help keep the app looking minimal.
vor 1 Jahr
Immanuel Onyeka
84d6807b94
Create sample custom MI field
vor 1 Jahr
Immanuel Onyeka
090ab9f565
Validate loan fields
vor 1 Jahr
Immanuel Onyeka
38408390cc
Correct displayed percentages for fees
vor 1 Jahr
Immanuel Onyeka
2a66cacd6f
Add logout function
vor 1 Jahr
Immanuel Onyeka
9c7ac0a199
Login user through view
vor 1 Jahr
Immanuel Onyeka
9b9d0a54fb
Fix errors and rename migration setup file
vor 1 Jahr
Immanuel Onyeka
418dda9ad4
Add missing test user fields in seeds
Also change the favicon to better match the colorscheme. An additional
section is added to settings.vue to mock the new fields.
vor 2 Jahren