<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$this->load->helper('url');
$this->load->helper('form');
?>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Add New Print</title>
    </head>
    <body>
        <?php
        echo form_open("Customer_Controller/addNewProductForCustomer");
        ?>
        <table border="1">
            <tbody>
                <tr>
                    <td>Select Customer</td>
                    <td>:</td>
                    <td>
                        <select name="add_prn_customer">
                            <option value="empty">-- Select Customer --</option>
                            <?php
                            foreach ($customers->result() as $cus) {
                                ?>
                                <option value="<?php echo $cus->customer_id; ?>"><?php echo $cus->customer_name; ?></option>
                                <?php
                            }
                            ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>Customer Item Code</td>
                    <td>:</td>
                    <td><input type="text" name="add_prnt_code" value="" /></td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td>:</td>
                    <td><input type="text" name="add_prnt_description" value="" /></td>
                </tr>
                <tr>
                    <td>Price</td>
                    <td>:</td>
                    <td><input type="text" name="add_prnt_price" value="" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td align="right"><input type="submit" value="Submit " /></td>
                </tr>
            </tbody>
        </table>
        <?php
        echo form_close();
        ?>
    </body>
</html>
