Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
refactor: update default settings to match new schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kndonetm committed Nov 23, 2023
1 parent 24e27e4 commit a575aed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/models/loan_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,42 @@ LoanSettings.findOne()
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
},
educational: {
interest_rate: { unit: 'percentage', value: 0, enabled: false },
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
},
pettyCash: {
interest_rate: { unit: 'percentage', value: 0, enabled: false },
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
},
multipurpose: {
interest_rate: { unit: 'percentage', value: 0, enabled: false },
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
},
commercial: {
interest_rate: { unit: 'percentage', value: 0, enabled: false },
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
},
livelihood: {
interest_rate: { unit: 'percentage', value: 0, enabled: false },
service_fee: { unit: 'percentage', value: 0, enabled: false },
capital_build_up: { unit: 'percentage', value: 0, enabled: false },
savings: { unit: 'percentage', value: 0, enabled: false },
credit_life_insurance: { unit: 'percentage', value: 0, enabled: false }
time: { type: 'monthly', value: 0 }
}
})

Expand Down

0 comments on commit a575aed

Please sign in to comment.