Immanuel Onyeka
1d7163f5ae
Render and select address from dropdown
преди 1 година
Immanuel Onyeka
e9547b9df8
Use environment variables instead of config file
Using a config file is not necessary and may be confusing.
Also add address and phone number of User and Branch structs.
преди 1 година
Immanuel Onyeka
b3599fbe0e
Add password reset endpoint
преди 1 година
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.
преди 1 година
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
преди 1 година
Immanuel Onyeka
6e5cf4b5cd
Fetch and upload letterhead from settings view
преди 1 година
Immanuel Onyeka
7fa03cc393
Add user letterhead endpoints
преди 1 година
Immanuel Onyeka
8c5c94da5d
Make GET and POST requests to user avatar endpoints
преди 1 година
Immanuel Onyeka
290746a438
Dislay PDF mockup as test page
преди 1 година
Immanuel Onyeka
da111e4c06
Add deleteFeeTemp endpoint to delete fees
преди 1 година
Immanuel Onyeka
366647310f
Fix error caused by negative percentages in fees
преди 1 година
Immanuel Onyeka
daaff1c318
Add endpoint to create a new fee
преди 1 година
Immanuel Onyeka
26850a0e73
Also retrieve loan type and borrower in getEstimate
преди 1 година
Immanuel Onyeka
a2b2ca2ca2
Fix estimate_results SQL error
преди 1 година
Immanuel Onyeka
ae5247bc71
Add insert and select SQL queries for Results
преди 1 година
Immanuel Onyeka
5368bc6227
Calculate estimate result values with []Loans loop
преди 1 година
Immanuel Onyeka
c7158bd863
Insert MI and fees with insert functions
преди 1 година
Immanuel Onyeka
6d98b7b47a
Calculate estimate summary values in backend
преди 1 година
Immanuel Onyeka
b3cf840f88
Loop over indices to avoid copying values
преди 1 година
Immanuel Onyeka
26cd32c82a
Ensure new estimates have correct user IDs
преди 1 година
Immanuel Onyeka
3a5477760d
Fetch user's estimates list from estimates.vue
преди 1 година
Immanuel Onyeka
af5c204eb6
Save estimates to database from summary view
преди 1 година
Immanuel Onyeka
bbb7bf5f1e
Add mandatory FHA MIP as a fee
преди 1 година
Immanuel Onyeka
2e51164a32
Check vA and USDA loan types
преди 1 година
Immanuel Onyeka
e9968ae63b
Represent money as int and percentages as float32
преди 1 година
Immanuel Onyeka
562c485b2d
Fix loan.type.id conversion error
преди 1 година
Immanuel Onyeka
e4f1ec3ab6
Fix type parsing errors for borrower and loan fields
преди 1 година
Immanuel Onyeka
0c18bfdab8
Move form validation to golang backend
преди 1 година
Immanuel Onyeka
1d7e34c0f1
Add fields and events for manual MI
преди 1 година
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.
преди 1 година
Immanuel Onyeka
84d6807b94
Create sample custom MI field
преди 1 година
Immanuel Onyeka
090ab9f565
Validate loan fields
преди 1 година
Immanuel Onyeka
9c7ac0a199
Login user through view
преди 1 година
Immanuel Onyeka
9b9d0a54fb
Fix errors and rename migration setup file
преди 1 година
Immanuel Onyeka
ee2358d259
Add API routing and login functions
преди 1 година
Immanuel Onyeka
9c31707dd2
Create and pull model for mortgage insurance
преди 2 години
Immanuel Onyeka
25079d7f33
Fetch NationalMI rates with Loan type
преди 2 години
Immanuel Onyeka
52f3a9a7b7
Fix SQL field errors
преди 2 години
Immanuel Onyeka
ae79dbacdd
Fix loan query and its errors
преди 2 години
Immanuel Onyeka
6887e1f824
Seperate loans from estimates in models
преди 2 години
Immanuel Onyeka
6aab5796b5
Query estimates and insert in models
преди 2 години
Immanuel Onyeka
a301645472
Convert json names to lower case
преди 2 години
Immanuel Onyeka
bbffedf09d
Specify branch and user id in queries
преди 2 години
Immanuel Onyeka
ac5a9ec31a
Use zero vector for missing values instead of null
Null makes missing values harder to convert to json using the Scan
operation. 0 and '' will be used instead to be type consistent.
преди 2 години
Immanuel Onyeka
0b0a3d24f6
Query loan types
преди 2 години
Immanuel Onyeka
50f6682961
Pull first SQL query into a struct
Setup structs for storing query information.
преди 2 години
Immanuel Onyeka
751e798395
Setup Vue
преди 2 години
Immanuel Onyeka
b968240621
Setup HTML template files
преди 2 години
Immanuel Onyeka
a159cd335f
Setup page rendering
преди 2 години