Example #1
0
 public function daftar_retur($value = '')
 {
     $this->datatables->select('id,reference,nota,date,operator')->add_column('Actions', get_detail_ajax('$1'), 'id')->edit_date('date', '$1', 'date')->from('atombizz_retur_in');
     echo $this->datatables->generate();
 }
Example #2
0
 public function daftar_retur_internal()
 {
     $this->datatables->select('id,date,reference,total')->edit_date('date', '$1', 'date')->edit_currency('total', '$1', 'total')->add_column('Actions', get_detail_ajax('$1'), 'id')->from('atombizz_retur_internal');
     $this->db->order_by("id", "desc");
     echo $this->datatables->generate();
 }