function __showSearchUserTable($a_result_set)
 {
     $tbl = new ilShopTableGUI($this);
     $tbl->setTitle($this->lng->txt("paya_trustee_table"));
     $tbl->setId('tbl_search_user_trustee');
     $tbl->setRowTemplate("tpl.shop_users_row.html", "Services/Payment");
     $tbl->addColumn(' ', 'trustee_id', '1%', true);
     $tbl->addColumn($this->lng->txt('login'), 'login', '10%');
     $tbl->addColumn($this->lng->txt('firstname'), 'firstname', '20%');
     $tbl->addColumn($this->lng->txt('lastname'), 'lastname', '20%');
     $tbl->setSelectAllCheckbox('user');
     $tbl->addMultiCommand("addTrustee", $this->lng->txt("add"));
     $tbl->addCommandButton('showTrustees', $this->lng->txt('cancel'));
     $tbl->fillFooter();
     $tbl->setData($a_result_set);
     $this->tpl->setVariable('TABLE', $tbl->getHTML());
     return true;
 }
 private function __showSearchUserSPTable($a_result_set)
 {
     $this->ctrl->setParameter($this, 'sell_id', $_GET['sell_id']);
     $tbl = new ilShopTableGUI($this);
     $tbl->setTitle($this->lng->txt('users'));
     $tbl->setId('tbl_search_user_vendor');
     $tbl->setRowTemplate("tpl.shop_users_row.html", "Services/Payment");
     $tbl->addColumn(' ', 'user_id', '3%', true);
     $tbl->addColumn($this->lng->txt('login'), 'login', '32%');
     $tbl->addColumn($this->lng->txt('firstname'), 'firstname', '32%');
     $tbl->addColumn($this->lng->txt('lastname'), 'lastname', '32%');
     $tbl->addMultiCommand("addCustomer", $this->lng->txt("add"));
     $tbl->addCommandButton('statistic', $this->lng->txt('cancel'));
     $tbl->fillFooter();
     $tbl->setData($a_result_set);
     $this->tpl->setVariable('TABLE', $tbl->getHTML());
     return true;
 }
 private function __editPricesTable($a_result_set)
 {
     $tbl = new ilShopTableGUI($this);
     /** @var $tmp_obj ilObject */
     $tmp_obj = ilObjectFactory::getInstanceByRefId($this->pobject->getRefId(), false);
     if ($tmp_obj) {
         $tbl->setTitle($tmp_obj->getTitle());
     } else {
         $tbl->setTitle($this->lng->txt('object_not_found'));
     }
     $tbl->setId('tbl_bookings');
     $tbl->setRowTemplate("tpl.shop_prices_row.html", "Services/Payment");
     $tbl->addColumn(' ', 'price_id', '5%');
     $tbl->addColumn($this->lng->txt('duration'), 'duration', '40%');
     $tbl->addColumn($this->lng->txt('price_a'), 'price', '1%');
     $tbl->addColumn($this->lng->txt('currency'), 'currency_unit', '10%');
     $tbl->addColumn($this->lng->txt('extension_price'), 'extension', '10%');
     $tbl->addColumn('', 'edit', '30%');
     $tbl->setSelectAllCheckbox('price_id');
     $tbl->addCommandButton('addPrice', $this->lng->txt('paya_add_price'));
     $tbl->addMultiCommand("deletePrice", $this->lng->txt("paya_delete_price"));
     $tbl->fillFooter();
     $tbl->setData($a_result_set);
     $this->tpl->setVariable('TABLE', $tbl->getHTML());
     return true;
 }