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:
2003-10-23 00:00:00
RequiredDate:
2003-10-30 00:00:00
ShippedDate:
 
Status:
Cancelled
Comments:
Customer called to cancel. The warehouse was notified in time and the order didn't ship. They have a new VP of Sales and are shifting their sales model. Our VP of Sales should contact them.
Customer:
Larsson Martha

Our Products


All in One Social Icons Addon for WPBakery Page Builder (formerly Visual Composer)

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

Off Canvas Menu Addon for WPBakery Page Builder