<?php defined('BASEPATH') OR exit('No direct script access allowed');

require_once APPPATH . 'processors/Transaction_processor.php';
require_once APPPATH . 'processors/traits/TransRefPayment.php';

class Salinv_processor extends Transaction_processor
{
	use TransRefPayment;
/*
	public function __construct(&$params)
	{
		parent::__construct($params);
		// $this->ci =& get_instance();
	}
*/
	public function init_save(&$postData)
	{
		parent::init_save($postData);

	}

/*
	public function addValidator(&$transData)
	{
		parent::addValidator(new TransValidator($transData));
		// parent::addValidator(new SalinvValidator());
		// parent::addValidator(new SalinvValidator());
	}

	public function process_before_save(&$transData, &$postData)
	{
		parent::process_before_save($transData, $postData);

		
	}

	public function process_after_save(&$retData, &$postData)
	{
		parent::process_after_save($transData, $postData);
	}

	public function process_related_transaction($newtType, $newTransId, $tType, $transId, &$newTransData, &$postData)
	{
		parent::process_related_transaction($newtType, $newTransId, $tType, $transId, $newTransData, $postData);
	}
*/

	public function post_save(&$postData, &$result)
	{
		parent::post_save($postData, $result);
	}
}
