parent
3048633841
commit
424c098780
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
class StockReceivingView extends CI_Model
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->load->database();
|
||||
}
|
||||
|
||||
|
||||
public function getHdrDataByTransID($transID)
|
||||
{
|
||||
return $this->db->get_where("stockreceivinghdr", array("transid"=>$transID))->order_by("transid", "DESC");
|
||||
}
|
||||
|
||||
public function getDtlDataByItemcode($itemcode)
|
||||
{
|
||||
return $this->db->get_where("stockreceivingdtl", array("itemcode"=>$itemcode));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue