chore: update application configuration and UI components for improved styling and functionality

This commit is contained in:
Jennie Robinson Faber 2025-08-16 08:13:35 +01:00
parent 0af6b17792
commit 37ab8d7bab
54 changed files with 23293 additions and 1666 deletions

View file

@ -6,15 +6,15 @@ export const usePoliciesStore = defineStore(
// Schema version for persistence
const schemaVersion = "1.0";
// Core policies
// Core policies - initialize with empty/zero values
const equalHourlyWage = ref(0);
const payrollOncostPct = ref(25);
const savingsTargetMonths = ref(3);
const minCashCushionAmount = ref(3000);
const payrollOncostPct = ref(0);
const savingsTargetMonths = ref(0);
const minCashCushionAmount = ref(0);
// Deferred pay limits
const deferredCapHoursPerQtr = ref(240);
const deferredSunsetMonths = ref(12);
const deferredCapHoursPerQtr = ref(0);
const deferredSunsetMonths = ref(0);
// Surplus distribution order
const surplusOrder = ref([
@ -117,11 +117,11 @@ export const usePoliciesStore = defineStore(
// Reset function
function resetPolicies() {
equalHourlyWage.value = 0;
payrollOncostPct.value = 25;
savingsTargetMonths.value = 3;
minCashCushionAmount.value = 3000;
deferredCapHoursPerQtr.value = 240;
deferredSunsetMonths.value = 12;
payrollOncostPct.value = 0;
savingsTargetMonths.value = 0;
minCashCushionAmount.value = 0;
deferredCapHoursPerQtr.value = 0;
deferredSunsetMonths.value = 0;
surplusOrder.value = [
"Deferred",
"Savings",