Exemplo n.º 1
0
                                    </select>
                                </td>
                                
                                <td>
                                    <select id='PAID' name='PAID'>
                                        <?php 
    echo customer_model::comboBox($paid, $sel);
    ?>
                                    </select>
                                </td>
                                
                                
                                  <td>
                                    <select id='DRIVER' name='DRIVER'>
                                        <?php 
    echo customer_model::comboBox($driver, $sel);
    ?>
                                    </select>
                                </td>
                                <td><input style="background:#FFFFCC" size='16' value='<?php 
    echo $row['GHICHU'];
    ?>
' id="NOTES" name="NOTES"  /></td>

                                <td>
                                <input type="button" value="Lưu" class="input_button"/>
                                <input type="button" value="Hủy" onclick="document.location.href='/order/day/';" class="input_button"/>
                                </td>
                                    
                        <input type='hidden' value='<?php 
    echo $row['MD5'];
Exemplo n.º 2
0
                                    <?php 
echo customer_model::comboBox($district);
?>
                                </select>
                            </td>
                            <td>
                                <input type="text" name="tel" id="tel" style="width:85px;border-color:#f7df09"></input>
                            </td>
                            <td>
                                <input type="text" name="delivery_time" id="delivery_time" style="width:60px;border-color:#f7df09"></input>
                            </td>

                            <td>
                                <select id='customer_type' name='customer_type'>
                                    <?php 
echo customer_model::comboBox($type);
?>
                                </select>
                            </td>

                            <td colspan='3'>
                                <input type="text" name="notes" id="notes" style="width:125px;border-color:#f7df09"></input>
                                <input type="button" class='input_button' value="Lưu" onClick="document.frm.action='/customer/save/';document.frm.submit();"/>
                                <input type="button" class='input_button' value="Hủy" onClick="window.location.href='/customer/index/'"/>
                            </td>

                        </tr>
                        <?php 
if ($cust == null) {
    echo "<tr><td colspan='13'><font color=red>Không tìm thấy khách hàng</font></td></tr>";
}