Merge pull request #1074 from abhishek-webkul/gli-2076
Fixed: Online column on admin Booking Carts page
This commit is contained in:
@@ -92,7 +92,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
'type' => 'bool',
|
||||
'havingFilter' => true,
|
||||
'class' => 'fixed-width-xs',
|
||||
'icon' => array(0 => 'icon-', 1 => 'icon-user')
|
||||
'callback' => 'getOnlineStatus',
|
||||
)
|
||||
);
|
||||
$this->shopLinkType = 'shop';
|
||||
@@ -161,6 +161,11 @@ class AdminCartsControllerCore extends AdminController
|
||||
return $tpl->fetch();
|
||||
}
|
||||
|
||||
public function getOnlineStatus($status)
|
||||
{
|
||||
return $status ? $this->l('Yes') : $this->l('No');
|
||||
}
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
if (empty($this->display)) {
|
||||
|
||||
Reference in New Issue
Block a user