示例#1
0
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Net</td>";
echo "<td>";
$ro->coconutTextBox("net", $ro->selectNow("employeePayroll", "net", "payrollNo", $payrollNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Month Type</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("monthType");
echo "<option value='" . $ro->selectNow("employeePayroll", "monthType", "payrollNo", $payrollNo) . "'>" . $ro->selectNow("employeePayroll", "monthType", "payrollNo", $payrollNo) . "</option>";
echo "<option value='MONTHLY'>MONTHLY</option>";
echo "<option value='SEMI_MONTHLY'>SEMI_MONTHLY</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td> Pay From </td>";
echo "<td>";
$payFrom = preg_split("/\\-/", $ro->selectNow("employeePayroll", "payFrom", "payrollNo", $payrollNo));
$ro->coconutComboBoxStart_short("fromMonth");
echo "<option value='" . $payFrom[0] . "'>" . $payFrom[0] . "</option>";
echo "<option value='Jan'>Jan</option>";
echo "<option value='Feb'>Feb</option>";
echo "<option value='Mar'>Mar</option>";
echo "<option value='Apr'>Apr</option>";
echo "<option value='May'>May</option>";
echo "<option value='Jun'>Jun</option>";
echo "<option value='Jul'>Jul</option>";