Ejemplo n.º 1
0
echo "<tD>&nbsp;</tD>";
echo "<tD>&nbsp;</tD>";
echo "<tD>&nbsp;</tD>";
echo "<tD>&nbsp;</tD>";
echo "<tD>&nbsp;</tD>";
echo "<td><font color=blue>NET</font>&nbsp;</tD>";
echo "<td>";
if (isset($_GET['totalDeduction']) && isset($_GET['wTax']) && isset($_GET['total'])) {
    $ro->coconutTextBox_short("total", $gross - ($deduction + $withholdingTax));
} else {
    $ro->coconutTextBox_short("total", "0");
}
echo "</td>";
echo "</tr>";
echo "</table>";
$ro->coconutFormStop();
if (isset($_GET['salary']) && isset($_GET['overtime']) && isset($_GET['holiday']) && isset($_GET['nsd']) && isset($_GET['gross']) && isset($_GET['sss']) && isset($_GET['philhealth']) && isset($_GET['pagibig']) && isset($_GET['wTax']) && isset($_GET['late']) && isset($_GET['absences']) && isset($_GET['totalDeduction']) && isset($_GET['total']) && isset($_GET['monthType']) && isset($_GET['fromMonth']) && isset($_GET['fromDay']) && isset($_GET['fromYear']) && isset($_GET['toMonth']) && isset($_GET['toDay']) && isset($_GET['toYear']) && isset($_GET['sssER']) && isset($_GET['phicEmployerShare']) && isset($_GET['hdmfEmployerShare'])) {
    echo "<form method='get' action='/COCONUT/payroll/addEmployeePayroll.php'>";
    $ro->coconutHidden("employeeID", $employeeID);
    $ro->coconutHidden("salary", $_GET['salary']);
    $ro->coconutHidden("overtime", $_GET['overtime']);
    $ro->coconutHidden("holiday", $_GET['holiday']);
    $ro->coconutHidden("nsd", $_GET['nsd']);
    $ro->coconutHidden("gross", $gross);
    $ro->coconutHidden("sss", $sssContribution);
    $ro->coconutHidden("philhealth", $philhealthContribution);
    $ro->coconutHidden("pagibig", $hdmfContribution);
    $ro->coconutHidden("wTax", $withholdingTax);
    $ro->coconutHidden("late", $late);
    $ro->coconutHidden("absences", $absences);
    $ro->coconutHidden("totalDeduction", $deduction + $withholdingTax);