From 150acde810cc2e842df65af8572fbe27fed5aaa3 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Tue, 3 Jun 2025 15:08:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/wizard/salary_compute_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_salary/wizard/salary_compute_wizard.py b/yuthon_salary/wizard/salary_compute_wizard.py index 8885b0bb8..dd3c7956b 100644 --- a/yuthon_salary/wizard/salary_compute_wizard.py +++ b/yuthon_salary/wizard/salary_compute_wizard.py @@ -146,7 +146,7 @@ class SalaryComputeWizard(models.Model): base_value = line.total if base_value % 1 != 0: base_value = math.ceil(base_value) - result = base_value * 0.8 * internship_days / days + line.total * work_days / days + result = base_value * 0.8 * internship_days / days + base_value * 0.8 * work_days / days else: result = line.total * 0.8 * internship_days / days + line.total * work_days / days