Skip to content

Commit

Permalink
fix food expense
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuiantw1212 committed May 8, 2024
1 parent eed9401 commit 4cfe8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/calculator/career/labor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function calculateInsuranceType() {
function calculateEmployeeWelfareFund() {
if (career.value.insuredUnit === 'company') {
const { monthlyBasicSalary, } = career.value
career.value.employeeWelfareFund = Math.floor(monthlyBasicSalary * 0.5 / 100)
career.value.employeeWelfareFund = Math.floor((monthlyBasicSalary + foodExpense) * 0.5 / 100)
} else {
career.value.employeeWelfareFund = 0
}
Expand Down

0 comments on commit 4cfe8d2

Please sign in to comment.