Ui/DataProvider/Grid/Transaction/Query.php
protected function getMapper()
    {
        $expDebit = $this->expressCustDebit();
        $expCredit = $this->expressCustCredit();
        $expCust = $this->expressByCust();
        if (is_null($this->mapper)) {
            $map = [
                self::A_ASSET => self::AS_ASSET . '.' . ETypeAsset::A_CODE,
                self::A_CREDIT_CUST_ID => self::AS_CUST_CREDIT . '.' . Cfg::E_CUSTOMER_A_ENTITY_ID,
                self::A_CREDIT_CUST_NAME => $expCredit,
                self::A_CUSTOMER => $expCust,
                self::A_DATE_APPLIED => self::AS_TRANS . '.' . ETransaction::A_DATE_APPLIED,
                self::A_DEBIT_CUST_ID => self::AS_CUST_DEBIT . '.' . Cfg::E_CUSTOMER_A_ENTITY_ID,
                self::A_DEBIT_CUST_NAME => $expDebit,
                self::A_ID_OPER => self::AS_TRANS . '.' . ETransaction::A_OPERATION_ID,
                self::A_ID_TRANS => self::AS_TRANS . '.' . ETransaction::A_ID,
                self::A_NOTE => self::AS_TRANS . '.' . ETransaction::A_NOTE,
                self::A_USER => self::AS_BY_ADMIN . '.' . Cfg::E_ADMIN_USER_A_USERNAME,
                self::A_VALUE => self::AS_TRANS . '.' . ETransaction::A_VALUE
            ];
            $this->mapper = new \Praxigento\Core\App\Repo\Query\Criteria\Def\Mapper($map);
        }
        $result = $this->mapper;
        return $result;
    }
protected function getMapper()
    {
        $expDebit = $this->expressCustDebit();
        $expCredit = $this->expressCustCredit();
        $expCust = $this->expressByCust();
        if (is_null($this->mapper)) {
            $map = [
                self::A_ASSET => self::AS_ASSET . '.' . ETypeAsset::A_CODE,
                self::A_CREDIT_CUST_ID => self::AS_CUST_CREDIT . '.' . Cfg::E_CUSTOMER_A_ENTITY_ID,
                self::A_CREDIT_CUST_NAME => $expCredit,
                self::A_CUSTOMER => $expCust,
                self::A_DATE_APPLIED => self::AS_TRANS . '.' . ETransaction::A_DATE_APPLIED,
                self::A_DEBIT_CUST_ID => self::AS_CUST_DEBIT . '.' . Cfg::E_CUSTOMER_A_ENTITY_ID,
                self::A_DEBIT_CUST_NAME => $expDebit,
                self::A_ID_OPER => self::AS_TRANS . '.' . ETransaction::A_OPERATION_ID,
                self::A_ID_TRANS => self::AS_TRANS . '.' . ETransaction::A_ID,
                self::A_NOTE => self::AS_TRANS . '.' . ETransaction::A_NOTE,
                self::A_USER => self::AS_BY_ADMIN . '.' . Cfg::E_ADMIN_USER_A_USERNAME,
                self::A_VALUE => self::AS_TRANS . '.' . ETransaction::A_VALUE
            ];
            $this->mapper = new \Praxigento\Core\App\Repo\Query\Criteria\Def\Mapper($map);
        }
        $result = $this->mapper;
        return $result;
    }
#@-