function init() { parent::init(); $this->report->enableFilterEntity('date_range'); $this->report->enableFilterEntity('employee'); $this->grid = $this->add('xepan\\hr\\CRUD', ['allow_add' => null, 'grid_class' => 'xepan\\projects\\View_TaskList', 'grid_options' => ['del_action_wrapper' => true]]); }
function init() { parent::init(); $this->report->enableFilterEntity('ledger'); $this->report->enableFilterEntity('date_range'); $this->grid = $this->add('xepan\\base\\Grid'); }
function init() { parent::init(); $this->report->enableFilterEntity('date_range'); $this->report->enableFilterEntity('department'); $this->chart = $this->add('xepan\\base\\View_Chart'); }
function init() { parent::init(); $this->report->enableFilterEntity('date_range'); $this->report->enableFilterEntity('project'); $this->report->enableFilterEntity('employee'); $this->grid = $this->add('xepan\\base\\Grid'); }
function init() { parent::init(); $this->view = $this->add('View', null, null, ['view\\dashboard\\smallbox']); $this->view->setStyle('cursor', 'pointer'); $this->customer_v_page = $this->add('VirtualPage'); $this->customer_v_page->set(function ($vp) { $customer = $vp->add('xepan\\commerce\\Model_Customer'); $customer->addExpression('online_unpaid_order')->set($customer->refSQL('QSPMaster')->addCondition('status', 'OnlineUnpaid')->count()); $customer->addCondition('online_unpaid_order', '>', 0); $crud = $vp->add('xepan\\hr\\CRUD', ['action_page' => 'xepan_commerce_customerdetail', 'allow_add' => false], null, ['view/customer/grid']); $crud->setModel($customer)->setOrder('created_at', 'desc'); $crud->grid->addPaginator(20); }); }
function init() { parent::init(); $this->view = $this->add('xepan\\base\\View_Widget_SingleInfo'); $extra_info = $this->app->recall('epan_extra_info_array', false); $valid_till = $extra_info['valid_till']; $post = $this->add('xepan\\hr\\Model_Post'); $post->tryLoadBy('id', $this->app->employee['post_id']); if (!$post->loaded()) { return; } if ($valid_till and ($post['parent_post_id'] == null or $post['parent_post_id'] == $post['id'])) { $expiry_view = $this->view; $expiry_view->setIcon('fa fa-clock-o')->setHeading('Expiring At')->setValue(date('d M\'y', strtotime($valid_till)))->makeDanger(); $expiry_view->template->trySet('expiry_date', $valid_till); } else { $this->destroy(); $this->owner->destroy(); } }
function init() { parent::init(); $this->report->enableFilterEntity('department'); $this->view = $this->add('View', null, null, ['view\\multibox']); }
function init() { parent::init(); $this->chart = $this->add('xepan\\base\\View_Chart'); }
function init() { parent::init(); $this->view = $this->add('View', null, null, ['widget\\tasktoreceive']); }
function init() { parent::init(); $this->grid = $this->add('xepan\\hr\\Grid', null, null, ['view\\dashboard\\favitem']); }
function init() { parent::init(); }
function init() { parent::init(); $this->report->enableFilterEntity('employee'); }
function init() { parent::init(); $this->report->enableFilterEntity('date_range'); }
function init() { parent::init(); $this->view = $this->add('View', null, null, ['view\\dashboard\\smallbox']); }
function init() { parent::init(); $this->grid = $this->add('xepan\\base\\Grid'); }
function init() { parent::init(); $this->view = $this->add('xepan\\base\\View_Widget_SingleInfo'); }
function init() { parent::init(); $this->report->enableFilterEntity('date_range'); $this->grid = $this->add('xepan\\base\\Grid', null, null, ['view\\dashboard\\order']); }
function init() { parent::init(); $this->grid = $this->add('xepan\\hr\\CRUD', ['allow_add' => null, 'grid_class' => 'xepan\\projects\\View_TaskList', 'grid_options' => ['del_action_wrapper' => true]]); $this->grid->addClass('hot-tasks'); }
function init() { parent::init(); $this->view = $this->add('xepan\\commerce\\View_QSPWidgetHandler', ['heading' => 'Purchase Order Status', 'page' => 'purchaseorder']); }
function init() { parent::init(); $this->view = $this->add('xepan\\commerce\\View_QSPWidgetHandler', ['heading' => 'Sales Invoice Status', 'page' => 'salesinvoice']); }
function init() { parent::init(); $this->report->enableFilterEntity('department'); $this->grid = $this->add('xepan\\hr\\Grid', null, null, ['view\\employee\\movement-mini']); }
function init() { parent::init(); $this->grid = $this->add('xepan\\hr\\Grid', null, null, ['view\\employee\\movement-mini']); }
function init() { parent::init(); $this->view = $this->add('View', null, null, ['view\\unreadmails-widget']); }
function init() { parent::init(); $this->view = $this->add('View', null, null, ['view\\pending-widget']); }