Change in payroll save : GWM
This commit is contained in:
parent
be86795246
commit
8674ff7f1c
@ -939,18 +939,21 @@ class Payslip extends BaseController
|
|||||||
|
|
||||||
$Festivalbonus_first = explode(".", $Festival_Bonus);
|
$Festivalbonus_first = explode(".", $Festival_Bonus);
|
||||||
if (!is_numeric($Festival_Bonus) || (strlen((string)$Festival_Bonus)) > 8 || (strlen((string)$Festivalbonus_first[0])) > 5) {
|
if (!is_numeric($Festival_Bonus) || (strlen((string)$Festival_Bonus)) > 8 || (strlen((string)$Festivalbonus_first[0])) > 5) {
|
||||||
|
// echo $EmpID . "-Festival bonus Invalid Data!";
|
||||||
$ErrorFlag++;
|
$ErrorFlag++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$Other_Deductions_first = explode(".", $Other_Deductions);
|
$Other_Deductions_first = explode(".", $Other_Deductions);
|
||||||
if (!is_numeric($Other_Deductions) || (strlen((string)$Other_Deductions)) > 8 || (strlen((string)$Other_Deductions_first[0])) > 5) {
|
if (!is_numeric($Other_Deductions) || (strlen((string)$Other_Deductions)) > 8 || (strlen((string)$Other_Deductions_first[0])) > 5) {
|
||||||
//echo $EmpID . "-Loan Recoverd Invalid Data!";
|
// echo $EmpID . "-Other Deductions Invalid Data!";
|
||||||
$ErrorFlag++;
|
$ErrorFlag++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$Estimate_first = explode(".", $Estimate);
|
$Estimate_first = explode(".", $Estimate);
|
||||||
if (!is_numeric($Estimate) || (strlen((string)$Estimate)) > 8 || (strlen((string)$Estimate_first[0])) > 5) {
|
|
||||||
//echo $EmpID . "-Loan Recoverd Invalid Data!";
|
if (!is_numeric($Estimate) || (strlen((string)$Estimate)) > 8 || (strlen((string)$Estimate_first[0])) > 6) {
|
||||||
|
// echo $Estimate_first[0];
|
||||||
|
// echo $EmpID . "-Estimate Invalid Data!";
|
||||||
$ErrorFlag++;
|
$ErrorFlag++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user