<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require APPPATH."modules/trxin/controllers/trxin.php";

class Wipin extends Trxin {
	
	function __construct()
	{
		parent::__construct();
		
		$this->pmodul = 'trxin';
		$this->modul = 'wipin';
		
		$this->title = 'INCOMING WIP';
		$this->mat_type = '11';
		$this->tp_barang = '11';
	//	var_dump($this->proses);
	//$this->proses =  'WIP-S';
		
		
		$this->tbl = 'mat_inchdr_sub';		
		$this->tbl2 = 'mat_incdet_sub';
		$this->tbl3 = 'mst_in_type';
		$this->tbl4 = 'mst_perusahaan';
		$this->tbl5 = 'mst_barang';
		$this->tbl6 = 'jenis_dok';
		
		$this->pk = 'matin_id';
		$this->pk2 = 'no_ref';
		$this->pk3 = 'matin_type';
		$this->pk4 = 'KdPrshn';
		$this->pk5 = 'KdBarang';
		$this->pk6 = 'KdJnsDok';
		$this->pkh = 'matin_no';
		
		$this->load->model($this->pmodul.'/'.$this->pmodul.'_mdl','pmdl');
		$this->load->model($this->modul.'_mdl','mdl');
		
	}
}