Immanuel Onyeka
26850a0e73
Also retrieve loan type and borrower in getEstimate
pirms 1 gada
Immanuel Onyeka
a2b2ca2ca2
Fix estimate_results SQL error
pirms 1 gada
Immanuel Onyeka
ae5247bc71
Add insert and select SQL queries for Results
pirms 1 gada
Immanuel Onyeka
5368bc6227
Calculate estimate result values with []Loans loop
pirms 1 gada
Immanuel Onyeka
c7158bd863
Insert MI and fees with insert functions
pirms 1 gada
Immanuel Onyeka
6d98b7b47a
Calculate estimate summary values in backend
pirms 1 gada
Immanuel Onyeka
b3cf840f88
Loop over indices to avoid copying values
pirms 1 gada
Immanuel Onyeka
26cd32c82a
Ensure new estimates have correct user IDs
pirms 1 gada
Immanuel Onyeka
3a5477760d
Fetch user's estimates list from estimates.vue
pirms 1 gada
Immanuel Onyeka
c566ddb991
Correctly represent fee types in estimates vue
pirms 1 gada
Immanuel Onyeka
af5c204eb6
Save estimates to database from summary view
pirms 1 gada
Immanuel Onyeka
bbb7bf5f1e
Add mandatory FHA MIP as a fee
pirms 1 gada
Immanuel Onyeka
2e51164a32
Check vA and USDA loan types
pirms 1 gada
Immanuel Onyeka
e9968ae63b
Represent money as int and percentages as float32
pirms 1 gada
Immanuel Onyeka
562c485b2d
Fix loan.type.id conversion error
pirms 1 gada
Immanuel Onyeka
e4f1ec3ab6
Fix type parsing errors for borrower and loan fields
pirms 1 gada
Immanuel Onyeka
0c18bfdab8
Move form validation to golang backend
pirms 1 gada
Immanuel Onyeka
39d84acba6
Calculate monthly MI
pirms 1 gada
Immanuel Onyeka
671316e0b5
Show MI payments in summary
pirms 1 gada
Immanuel Onyeka
1d7e34c0f1
Add fields and events for manual MI
pirms 1 gada
Immanuel Onyeka
c8caed27ac
Display summary pane before generation
pirms 1 gada
Immanuel Onyeka
60e164abd7
Continue to summary view after form validation
pirms 1 gada
Immanuel Onyeka
93fa18dabf
Update interest and escrow attributes with events
pirms 1 gada
Immanuel Onyeka
ee2ed39b46
Update changes to loan details in parent component
pirms 1 gada
Immanuel Onyeka
ae8b4cb0ca
Update estimate entries with events
pirms 1 gada
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.
pirms 1 gada
Immanuel Onyeka
84d6807b94
Create sample custom MI field
pirms 1 gada
Immanuel Onyeka
090ab9f565
Validate loan fields
pirms 1 gada
Immanuel Onyeka
38408390cc
Correct displayed percentages for fees
pirms 1 gada
Immanuel Onyeka
2a66cacd6f
Add logout function
pirms 1 gada
Immanuel Onyeka
9c7ac0a199
Login user through view
pirms 1 gada
Immanuel Onyeka
9b9d0a54fb
Fix errors and rename migration setup file
pirms 1 gada
Immanuel Onyeka
ee2358d259
Add API routing and login functions
pirms 1 gada
Immanuel Onyeka
9c31707dd2
Create and pull model for mortgage insurance
pirms 2 gadiem
Immanuel Onyeka
25079d7f33
Fetch NationalMI rates with Loan type
pirms 2 gadiem
Immanuel Onyeka
52f3a9a7b7
Fix SQL field errors
pirms 2 gadiem
Immanuel Onyeka
ae79dbacdd
Fix loan query and its errors
pirms 2 gadiem
Immanuel Onyeka
6887e1f824
Seperate loans from estimates in models
pirms 2 gadiem
Immanuel Onyeka
6aab5796b5
Query estimates and insert in models
pirms 2 gadiem
Immanuel Onyeka
a301645472
Convert json names to lower case
pirms 2 gadiem
Immanuel Onyeka
bbffedf09d
Specify branch and user id in queries
pirms 2 gadiem
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.
pirms 2 gadiem
Immanuel Onyeka
0b0a3d24f6
Query loan types
pirms 2 gadiem
Immanuel Onyeka
50f6682961
Pull first SQL query into a struct
Setup structs for storing query information.
pirms 2 gadiem
Immanuel Onyeka
eb93e759da
Seed mock estimates in database
pirms 2 gadiem
Immanuel Onyeka
76644bf9d8
Add example fee templates
pirms 2 gadiem
Immanuel Onyeka
3d2da6f81e
Seed loan types
pirms 2 gadiem
Immanuel Onyeka
c4801a3d12
Fix SQL syntax errors
pirms 2 gadiem
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.
pirms 2 gadiem
Immanuel Onyeka
86985c4daf
Fix loan creation error
pirms 2 gadiem