Пример #1
0
 public function ajax_call_dropdown()
 {
     if ($_POST) {
         $iduom = $_POST['idunidadesmedida'];
         $this->load->helper(array('dropdown', 'form'));
         $this->load->model('UOM_Model', '', TRUE);
         $list = $this->UOM_Model->get_UOM_fields('idunidadesmedida,codigo', $iduom);
         echo storagesection_dropdown($list, 'idunidadesmedida');
     }
 }
Пример #2
0
 public function ajax_call_dropdown()
 {
     if ($_POST) {
         $storagetype = $_POST['storagetypenumber'];
         $this->load->helper(array('dropdown', 'form'));
         $this->load->model('StorageSection_Model', '', TRUE);
         $list = $this->StorageSection_Model->get_storagesection_fields('idStoragesection,code', $storagetype);
         echo storagesection_dropdown($list, 'idstoragesection');
     }
     //
 }
Пример #3
0
    echo storagetype_dropdown($storagetypelist, 'idstoragetype', $storagetypenumber);
}
?>
                     </div>     
                    </td>
                </tr>
                <tr>
                    <td><h5>Storage Section</h5></td>
                    <td>
                        <div id="storagesection">
                        <?php 
if (form_error('idstoragesection') != "") {
    echo '<small class="error">' . form_error('idstoragesection') . '</small>';
}
if ($action == 'edit') {
    echo storagesection_dropdown($storagesectionlist, 'idstoragesection', $storagesectionnumber);
}
?>
                     </div>   
                        
                    </td>
                </tr>
                 <tr>
                    <td><input type="submit" value="Submit" class="button"/></td>
                    <td><?php 
echo anchor('configuration/storagebin', 'Cancel', array('class' => 'button'));
?>
</td>
                </tr>
                
            </tbody>