<?php
/*
Generated by OutputBooks Team
*/

defined("\102\101\123\x45\120\101\x54\110") or exit("\116\157\x20\144\x69\162\145\x63\x74\x20\163\x63\x72\151\x70\x74\x20\141\x63\143\145\163\x73\40\x61\x6c\x6c\x6f\167\145\144");
class Branch_insights extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model("\x42\162\141\x6e\x63\150\111\x6e\x73\151\147\x68\164\x73\115\157\x64\145\154");
    }
    public function salesboard()
    {
        goto F2xoN;
        J5drW:
        $list = $this->BranchInsightsModel->salesboard($data);
        goto Xt340;
        F2xoN:
        $data = $this->request->post();
        goto J5drW;
        Xt340:
        $this->response->success();
        goto BJVOK;
        eE22t:
        $this->response->write();
        goto maf8h;
        BJVOK:
        if (!empty($list)) {
            $this->response->set_data("\151\x74\x65\155\x73", $list, true);
        }
        goto eE22t;
        maf8h:
        return true;
        goto rZOUf;
        rZOUf:
    }
    public function repeatcustomers()
    {
        goto EHqYs;
        eQsfx:
        $this->response->success();
        goto jHaWq;
        IdoX2:
        $this->response->write();
        goto wGWX_;
        wGWX_:
        return true;
        goto c1qpV;
        EHqYs:
        $data = $this->request->post();
        goto zZCHL;
        zZCHL:
        $list = $this->BranchInsightsModel->repeatcustomers($data);
        goto eQsfx;
        jHaWq:
        if (!empty($list)) {
            $this->response->set_data("\151\x74\x65\x6d\x73", $list, true);
        }
        goto IdoX2;
        c1qpV:
    }
    public function productperformance()
    {
        goto i2f1b;
        E_vHb:
        if (!empty($list)) {
            $this->response->set_data("\151\164\x65\x6d\x73", $list, true);
        }
        goto cZli2;
        i2f1b:
        $data = $this->request->post();
        goto C6RyU;
        C6RyU:
        $list = $this->BranchInsightsModel->productperformance($data);
        goto YH1QF;
        vi4zx:
        return true;
        goto m6RL5;
        cZli2:
        $this->response->write();
        goto vi4zx;
        YH1QF:
        $this->response->success();
        goto E_vHb;
        m6RL5:
    }
    public function averageinvoice()
    {
        goto IPRIJ;
        OKXMO:
        if (!empty($list)) {
            $this->response->set_data("\151\x74\145\x6d\x73", $list, true);
        }
        goto W9MFD;
        VnC1P:
        $this->response->success();
        goto OKXMO;
        W9MFD:
        $this->response->write();
        goto vGJ_1;
        vGJ_1:
        return true;
        goto CGo2d;
        HlpxH:
        $list = $this->BranchInsightsModel->averageinvoice($data);
        goto VnC1P;
        IPRIJ:
        $data = $this->request->post();
        goto HlpxH;
        CGo2d:
    }
    public function salesheatmap()
    {
        goto Z5ksX;
        Z5ksX:
        $data = $this->request->post();
        goto CaM_7;
        njo_C:
        $this->response->success();
        goto lpWF_;
        lpWF_:
        if (!empty($list)) {
            $this->response->set_data("\151\164\x65\155\x73", $list, true);
        }
        goto PVB9H;
        aFIKS:
        return true;
        goto uNGsO;
        CaM_7:
        $list = $this->BranchInsightsModel->salesheatmap($data);
        goto njo_C;
        PVB9H:
        $this->response->write();
        goto aFIKS;
        uNGsO:
    }
    public function deadstocks()
    {
        goto mGplI;
        mGplI:
        $data = $this->request->post();
        goto Yp_3j;
        WIxxz:
        $this->response->success();
        goto pM5wl;
        Yp_3j:
        $list = $this->BranchInsightsModel->deadstocks($data);
        goto WIxxz;
        l6Tt3:
        $this->response->write();
        goto cKqaM;
        pM5wl:
        if (!empty($list)) {
            $this->response->set_data("\x69\164\x65\x6d\163", $list, true);
        }
        goto l6Tt3;
        cKqaM:
        return true;
        goto HNlmT;
        HNlmT:
    }
    public function stockrebalance()
    {
        goto n1Ju6;
        n1Ju6:
        $data = $this->request->post();
        goto XZDgP;
        INtz7:
        $this->response->write();
        goto OKQsB;
        ThfU2:
        if (!empty($list)) {
            $this->response->set_data("\x69\164\x65\155\163", $list, true);
        }
        goto INtz7;
        BalDq:
        $this->response->success();
        goto ThfU2;
        OKQsB:
        return true;
        goto jEmgr;
        XZDgP:
        $list = $this->BranchInsightsModel->stockrebalance($data);
        goto BalDq;
        jEmgr:
    }
    public function stockreorder()
    {
        goto Q3NpK;
        tXLtl:
        $this->response->success();
        goto iAT3s;
        rIBiT:
        $list = $this->BranchInsightsModel->stockreorder($data);
        goto tXLtl;
        iAT3s:
        if (!empty($list)) {
            $this->response->set_data("\151\x74\145\x6d\x73", $list, true);
        }
        goto ZTNP2;
        ZTNP2:
        $this->response->write();
        goto qNwU0;
        qNwU0:
        return true;
        goto Urj4m;
        Q3NpK:
        $data = $this->request->post();
        goto rIBiT;
        Urj4m:
    }
    public function branchaggregate()
    {
        goto N4KdP;
        oB69L:
        return true;
        goto CP7tt;
        hZcOC:
        $this->response->write();
        goto oB69L;
        N4KdP:
        $data = $this->request->post();
        goto Vi_5G;
        Vi_5G:
        $list = $this->BranchInsightsModel->branchaggregate($data);
        goto IIFQn;
        TzwoO:
        if (!empty($list)) {
            $this->response->set_data("\151\164\x65\155\x73", $list, true);
        }
        goto hZcOC;
        IIFQn:
        $this->response->success();
        goto TzwoO;
        CP7tt:
    }
}
