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-08-21 00:00:00
RequiredDate:
2004-08-29 00:00:00
ShippedDate:
2004-08-26 00:00:00
Status:
Shipped
Comments:
Custom shipping instructions sent to warehouse
Customer:
Klaeboe Jan

Our Products


Mega Monster Menu Plugin for WordPress

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

Counter Addon for WPBakery Page Builder (formerly Visual Composer)