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-06-01 00:00:00
RequiredDate:
2004-06-09 00:00:00
ShippedDate:
2004-06-02 00:00:00
Status:
Cancelled
Comments:
Customer disputed the order and we agreed to cancel it. We must be more cautions with this customer going forward, since they are very hard to please. We must cover the shipping fees.
Customer:
Devon Elizabeth

Our Products


Codeigniter Grocery CRUD Material Design for Bootstrap Theme

Elegant Mega Addons for WPBakery Page Builder (formerly Visual Composer) Video Gallery Module

Overlay Menu WordPress Plugin