From e76e139f187cea303aa44291ad60bc4ccfc77f1d Mon Sep 17 00:00:00 2001 From: paulcortez Date: Fri, 27 Sep 2024 12:16:05 +0800 Subject: [PATCH] updated menu names updated menu names --- .../payroll/compensationbenefitsview.php | 284 ++++++++++++------ 1 file changed, 193 insertions(+), 91 deletions(-) diff --git a/app/Views/payroll/compensationbenefitsview.php b/app/Views/payroll/compensationbenefitsview.php index 72f7dc9..41ab6c9 100644 --- a/app/Views/payroll/compensationbenefitsview.php +++ b/app/Views/payroll/compensationbenefitsview.php @@ -169,12 +169,81 @@ + + +
-

List of Payroll Type

+

Select Schedule and Employee

@@ -211,101 +280,129 @@
+ +
+ +
+
+ +
+
+
+
+

Payroll Income and Deduction Details

+
+
+
+
+
-
- -

Payroll Income and Deduction Details

-
-
-

Employee Name: last_name . ', ' . $selectedEmployee->first_name ?>

-

Employee ID: company_issued_id ?>

-
-
-

Basic Salary basic_monthly_pay ?>

-

Date: 20/09/2024

-
-
- - - - - - - - - - - - - - - - - - - - - - - +

Employee Name: last_name . ', ' . $selectedEmployee->first_name ?>

+

Employee ID: company_issued_id ?>

+ +
+

Basic Salary basic_monthly_pay ?>

+

Date: 20/09/2024

+
+ +
DescriptionAmountAction
Basic Salary basic_semi_monthly_pay, 2, ".", ",") ?> 
inded_name ?> amount, 2, ".", ",") ?> 
+ + + + + + + + + basic_semi_monthly_pay; + $taxableGross = $selectedEmployee->basic_semi_monthly_pay; + $deductionTotal = 0; + ?> + + + + + + + + + + + + + + amount; - - endforeach; ?> - - - - - - - - - - - - - - - amount; + if($empPayIncome->is_taxable) $taxableGross += $empPayIncome->amount; + + endforeach; ?> + + + + + + + + + + + + + + + amount; - - endforeach; - ?> - - - - - - - - - - - - - - - -
DescriptionAmountAction
Basic Salary basic_semi_monthly_pay, 2, ".", ",") ?> 
inded_name ?> amount, 2, ".", ",") ?> + + +
Gross Total Php  
inded_name ?>-amount, 2, ".", ",") ?>  
Gross Total Php  
inded_name ?>-amount, 2, ".", ",") ?>  + + +
Total DeductionsPhp   
Net Income Php  
- -

Select an employee first then click on "Load Income & Deduction" button

- -
-
-
- + $deductionTotal += $empPayDeduction->amount; + + endforeach; + ?> + + Total Deductions + Php +   +   + + + + + Net Income +   + Php +   + + + + +

Select an employee first then click on "Load Income & Deduction" button

+ +
+
+
+
@@ -332,6 +429,11 @@ $('.select2').select2(); }); +function editIncome(element) { + + $('#mdlEditIncome').modal('show'); +} + endSection() ?>