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:
2005-05-09 00:00:00
RequiredDate:
2005-05-20 00:00:00
ShippedDate:
2005-05-12 00:00:00
Status:
Disputed
Comments:
Customer claims the scales of the models don't match what was discussed. I keep all the paperwork though to prove otherwise
Customer:
 

Our Products


Off Canvas Menu Addon for WPBakery Page Builder

Before After Image Pro Addon for WPBakery Page Builder (formerly Visual Composer)

Image Hover Effects Addon for WPBakery Page Builder (formerly Visual Composer)