Initial import

This commit is contained in:
sas.fajri
2026-05-25 20:01:37 +07:00
commit 710d7c1b97
10371 changed files with 2381698 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
class Mou extends MY_Controller
{
function __construct() {
parent::__construct();
$this->db = $this->load->database("regional", true);
}
function fix_id($mouID) {
$this->load->library("SsPriceMou");
$rst = $this->sspricemou->create($mouID);
print_r($rst);
echo "\n";
}
function fix_all() {
$this->load->library("SsPriceMouPx");
$sql = "select * from m_mou where M_MouIsActive = 'Y' ";
$qry = $this->db->query($sql);
$rows = $qry->result_array();
foreach($rows as $idx => $r ) {
echo "$idx. Proses : " . $r["M_MouName"] . "\n";
$this->sspricemoupx->create($r["M_MouID"]);
}
}
}