<?php
/*
Generated by OutputBooks Team
*/

defined("\x42\x41\x53\105\x50\x41\x54\110") or exit("\x4e\157\40\144\151\162\x65\143\x74\40\x73\x63\162\151\160\x74\x20\x61\143\143\x65\163\163\40\141\x6c\154\157\167\x65\144");
class Customs extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model("\103\165\163\164\157\155\163\x4d\157\x64\145\x6c");
    }
    public function getconfig($transId = '')
    {
        goto Jgg5J;
        BZzCW:
        $this->response->set_data($result);
        goto cxGZk;
        cxGZk:
        $this->response->write();
        goto d5Zxu;
        Jgg5J:
        if (!($result = $this->CustomsModel->get_config(array("\164\162\x61\x6e\163\111\x64" => $transId)))) {
            goto cuYjN;
            gbVg0:
            $this->response->write();
            goto T0t9Z;
            T0t9Z:
            return false;
            goto Ag1xL;
            cuYjN:
            $this->response->error($this->CustomsModel->message);
            goto gbVg0;
            Ag1xL:
        }
        goto BZzCW;
        d5Zxu:
        return true;
        goto lnMpK;
        lnMpK:
    }
    public function saveconfig()
    {
        goto ts17d;
        YZki1:
        return true;
        goto MNY2o;
        IsUdD:
        $this->response->success();
        goto mGsIi;
        mGsIi:
        $this->response->write();
        goto YZki1;
        sNlaG:
        if (!($itemIds = $this->CustomsModel->save_config($data))) {
            goto L3UXz;
            SPwXm:
            $this->response->write();
            goto g7JK0;
            L3UXz:
            $this->response->error($this->CustomsModel->message);
            goto SPwXm;
            g7JK0:
            return false;
            goto fvjEM;
            fvjEM:
        }
        goto Z4Q3W;
        Z4Q3W:
        $this->response->set_data(array("\x69\164\x65\155\x49\x64\x73" => $itemIds));
        goto IsUdD;
        ts17d:
        $data = $this->request->post();
        goto sNlaG;
        MNY2o:
    }
    public function shipbillsave()
    {
        goto M5Ege;
        N6MQS:
        return true;
        goto SFFWX;
        OoJWU:
        $this->response->write();
        goto N6MQS;
        s7HVQ:
        if (!($itemIds = $this->CustomsModel->save($data))) {
            goto Ai8vy;
            j2mhb:
            return false;
            goto GqViL;
            keFbb:
            $this->response->write();
            goto j2mhb;
            Ai8vy:
            $this->response->error($this->CustomsModel->message);
            goto keFbb;
            GqViL:
        }
        goto xgRrk;
        xgRrk:
        $this->response->success("\123\141\166\x65\144\x20\123\x75\143\x63\x65\x73\163\x66\x75\x6c\x6c\171");
        goto OoJWU;
        M5Ege:
        $data = $this->request->post();
        goto s7HVQ;
        SFFWX:
    }
    public function boeget()
    {
        goto PtoLz;
        PtoLz:
        $data = $this->request->post();
        goto TLo6c;
        XyZ19:
        $this->response->set_data($boeDetails);
        goto DhLWW;
        DhLWW:
        $this->response->success();
        goto M9iUj;
        wrgL5:
        if (!$boeDetails) {
            goto y4ym_;
            y4ym_:
            $this->response->error($this->CustomsModel->message);
            goto FRjQQ;
            d8_2g:
            return false;
            goto a27u6;
            FRjQQ:
            $this->response->write();
            goto d8_2g;
            a27u6:
        }
        goto XyZ19;
        TLo6c:
        $boeDetails = $this->CustomsModel->get_boe_details($data);
        goto wrgL5;
        BkWc_:
        return true;
        goto sh1jH;
        M9iUj:
        $this->response->write();
        goto BkWc_;
        sh1jH:
    }
    public function boesave()
    {
        goto xQ9Af;
        dlFNh:
        if (!$this->CustomsModel->boe_save($data)) {
            goto bwqu1;
            uszMP:
            $this->response->write();
            goto cHhhb;
            cHhhb:
            return false;
            goto alFiU;
            bwqu1:
            $this->response->error($this->CustomsModel->message);
            goto uszMP;
            alFiU:
        }
        goto oWM1R;
        WuDZC:
        return true;
        goto S_guM;
        hxL8a:
        $this->response->write();
        goto WuDZC;
        xQ9Af:
        $data = $this->request->post();
        goto dlFNh;
        oWM1R:
        $this->response->success();
        goto hxL8a;
        S_guM:
    }
}
