<?php
/*
Generated by OutputBooks Team
*/

defined("\102\x41\123\105\x50\x41\124\x48") or exit("\x4e\x6f\x20\x64\151\162\145\143\x74\x20\x73\143\x72\x69\160\x74\x20\x61\143\x63\145\163\x73\40\x61\x6c\x6c\157\x77\145\x64");
class Offlinesalesorder extends MY_Controller
{
    public function __construct()
    {
        goto A1uxP;
        PDjWr:
        $this->load->language("\145\151\x6e\x76\157\151\143\x65");
        goto tEvxm;
        DBXBG:
        $this->load->model("\117\x66\x66\154\151\156\x65\163\141\154\145\163\x4d\157\144\145\154");
        goto eo9_4;
        oLtbB:
        $this->currency_symbol = get_company("\163\171\x6d\142\157\154");
        goto MpnwH;
        MpnwH:
        $this->currency_fraction = get_company("\x66\x72\141\143\x74\x69\x6f\x6e");
        goto PDjWr;
        A1uxP:
        parent::__construct();
        goto TzB7n;
        eo9_4:
        $this->cId = get_company("\151\x64");
        goto oLtbB;
        TzB7n:
        $this->load->helper("\141\x77\x73");
        goto DBXBG;
        tEvxm:
    }
    public function offsaleord($jsondata = '')
    {
        goto VWLu0;
        wGeBn:
        if (!empty($result)) {
            $this->response->success();
        } else {
            $this->response->error();
        }
        goto otnWY;
        otnWY:
        $this->response->write();
        goto MxIrr;
        VWLu0:
        $result = $this->OfflinesalesModel->save_offsaleord($jsondata);
        goto wGeBn;
        MxIrr:
        return true;
        goto ViBG0;
        ViBG0:
    }
}
