New items

This commit is contained in:
dev-chiefworks
2022-04-23 14:48:11 -04:00
parent 49fbb7619a
commit ca802eb5a0
10 changed files with 299 additions and 20 deletions
+6 -1
View File
@@ -84,7 +84,12 @@ class Confg extends Bko_Controller {
$this->load->library('table');
$this->table->set_template($this->template);
$mysql = "SELECT * FROM country ORDER BY country ASC"; // WHERE agent_id = " . $data['agent_id'];
$mysql = "SELECT id,code,country,phone_code,
allow::date,
'<a href=\"#\" >'|| jobs::date||'</a>' AS Jobs,
status
FROM country
ORDER BY allow, jobs, status,country ASC"; // WHERE agent_id = " . $data['agent_id'];
$query = $this->db->query($mysql);
// $this->table->set_heading(array('data' => 'Key', 'style' => 'width:60px'), 'Reason', array('data' => 'Action', 'style' => 'width:100px'));
$data['country_table'] = $this->table->generate($query);