} else { echo "<option value='{$x}'>{$x}</option>"; } } $ro->coconutComboBoxStop(); echo "-"; $ro->coconutTextBox_short("toYear", $payTo[2]); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<Br>"; echo "<hr>"; echo "<b> Employer Share </b>"; echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<Td>SSS</td>"; echo "<td>" . $ro->coconutTextBox_return("sssEmployerShare", $ro->selectNow("employeePayroll", "sssEmployerShare", "payrollNo", $payrollNo)) . "</tD>"; echo "</tr>"; echo "<tr>"; echo "<Td>PhilHealth</td>"; echo "<td>" . $ro->coconutTextBox_return("philhealthEmployerShare", $ro->selectNow("employeePayroll", "philhealthEmployerShare", "payrollNo", $payrollNo)) . "</tD>"; echo "</tr>"; echo "<tr>"; echo "<Td>Pag-ibig</td>"; echo "<td>" . $ro->coconutTextBox_return("pagibigEmployerShare", $ro->selectNow("employeePayroll", "pagibigEmployerShare", "payrollNo", $payrollNo)) . "</tD>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop();
echo "<td> </td>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td> Absences </td>"; echo "<td>"; if (isset($_GET['absences'])) { $ro->coconutTextBox_short("absences", $absences); } else { $ro->coconutTextBox_short("absences", "0"); } echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>"; $ro->coconutButton("Calculate"); echo "</td>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td> <font color=red>Deduction</font> </td>"; echo "<td>"; if (isset($_GET['totalDeduction']) && isset($_GET['wTax'])) { $ro->coconutTextBox_short("totalDeduction", $deduction + $withholdingTax); } else { $ro->coconutTextBox_short("totalDeduction", "0"); } echo "</td>"; echo "</tr>"; echo "<tr>";