Immanuel Onyeka
27de7ea416
Allow users to delete saved estimates
1 ano atrás
Immanuel Onyeka
166123d50f
Remove old seed script
1 ano atrás
Immanuel Onyeka
274ea0581d
Fix duplicate loan_id error
At most one result should exist for each loan stored but not redeclaring
the 'estimate' variable within the seed loop caused the loan entries of
the first estimate to be copied onto the second, which caused an error
while seeding result entries.
1 ano atrás
Immanuel Onyeka
6dad31be22
Fix row decleration bug
1 ano atrás
Immanuel Onyeka
f26b39f093
Add functions for seeding estimates in dev
1 ano atrás
Immanuel Onyeka
987090a927
Create CLI command for reseting database
Also seperate stages of seeding into other functions.
1 ano atrás
Immanuel Onyeka
3b00be6374
Create sample users in seed function
1 ano atrás
Immanuel Onyeka
14efd4937b
Add seed function for addresses and branches
1 ano atrás
Immanuel Onyeka
e77294f777
Save changed user address in database
1 ano atrás
Immanuel Onyeka
1d7163f5ae
Render and select address from dropdown
1 ano atrás
Immanuel Onyeka
6566e1a4e9
Fix type and syntax errors
1 ano atrás
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.
1 ano atrás
Immanuel Onyeka
290746a438
Dislay PDF mockup as test page
1 ano atrás
Immanuel Onyeka
366647310f
Fix error caused by negative percentages in fees
1 ano atrás
Immanuel Onyeka
daaff1c318
Add endpoint to create a new fee
1 ano atrás
Immanuel Onyeka
ae5247bc71
Add insert and select SQL queries for Results
1 ano atrás
Immanuel Onyeka
5368bc6227
Calculate estimate result values with []Loans loop
1 ano atrás
Immanuel Onyeka
3a5477760d
Fetch user's estimates list from estimates.vue
1 ano atrás
Immanuel Onyeka
af5c204eb6
Save estimates to database from summary view
1 ano atrás
Immanuel Onyeka
9c7ac0a199
Login user through view
1 ano atrás
Immanuel Onyeka
9b9d0a54fb
Fix errors and rename migration setup file
1 ano atrás
Immanuel Onyeka
ee2358d259
Add API routing and login functions
1 ano atrás
Immanuel Onyeka
9c31707dd2
Create and pull model for mortgage insurance
2 anos atrás
Immanuel Onyeka
25079d7f33
Fetch NationalMI rates with Loan type
2 anos atrás
Immanuel Onyeka
52f3a9a7b7
Fix SQL field errors
2 anos atrás
Immanuel Onyeka
ae79dbacdd
Fix loan query and its errors
2 anos atrás
Immanuel Onyeka
6887e1f824
Seperate loans from estimates in models
2 anos atrás
Immanuel Onyeka
6aab5796b5
Query estimates and insert in models
2 anos atrás
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 anos atrás
Immanuel Onyeka
0b0a3d24f6
Query loan types
2 anos atrás
Immanuel Onyeka
50f6682961
Pull first SQL query into a struct
Setup structs for storing query information.
2 anos atrás
Immanuel Onyeka
eb93e759da
Seed mock estimates in database
2 anos atrás
Immanuel Onyeka
76644bf9d8
Add example fee templates
2 anos atrás
Immanuel Onyeka
3d2da6f81e
Seed loan types
2 anos atrás
Immanuel Onyeka
c4801a3d12
Fix SQL syntax errors
2 anos atrás
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.
2 anos atrás
Immanuel Onyeka
53277258c9
Fix table setup errors
2 anos atrás
Immanuel Onyeka
e09de1c690
Setup database tables
2 anos atrás