public function orders_management()
{

$this->config->load('grocery_crud');
$this->config->set_item('grocery_crud_dialog_forms',true);
$this->config->set_item('grocery_crud_dialog_color','deep-purple darken-3');
$this->config->set_item('grocery_crud_dialog_text_color','white');

$crud = new grocery_CRUD();

$crud->set_relation('customerNumber','customers','{contactLastName} {contactFirstName}');
$crud->display_as('customerNumber','Customer');
$crud->set_table('orders');
$crud->set_subject('Order');

$crud->unset_add();
$crud->unset_delete();

$output = $crud->render();

$this->_example_output($output);
}
View Order
OrderDate:
2004-11-12 00:00:00
RequiredDate:
2004-11-21 00:00:00
ShippedDate:
2004-11-18 00:00:00
Status:
Shipped
Comments:
Customer very concerned about the exact color of the models. There is high risk that he may dispute the order because there is a slight color mismatch
Customer:
Rovelli Giovanni

Our Products


Off Canvas Menu Addon for WPBakery Page Builder

Codeigniter Grocery CRUD Material Design for Bootstrap Theme

3D Project List Addon for WPBakery Page Builder (formerly Visual Composer)