application/controllers/admin/bestitamazonpay4oxid_main.php
public function getRefundsStatus()
    {
        $sId = $this->getEditObjectId();

        if ((int)$sId !== -1 && $sId !== null) {
            $oDb = $this->_getContainer()->getDatabase();

            $sSql = "SELECT BESTITAMAZONREFUNDID
                FROM bestitamazonrefunds
                WHERE STATE = 'Pending'
                  AND BESTITAMAZONREFUNDID != ''
                  AND OXORDERID = {$oDb->quote($sId)}";

            $aResult = $oDb->getAll($sSql);

            foreach ($aResult as $aRow) {
                $this->_getContainer()->getClient()->getRefundDetails($aRow['BESTITAMAZONREFUNDID']);
            }
        }
    }
public function getRefundsStatus()
    {
        $sId = $this->getEditObjectId();

        if ((int)$sId !== -1 && $sId !== null) {
            $oDb = $this->_getContainer()->getDatabase();

            $sSql = "SELECT BESTITAMAZONREFUNDID
                FROM bestitamazonrefunds
                WHERE STATE = 'Pending'
                  AND BESTITAMAZONREFUNDID != ''
                  AND OXORDERID = {$oDb->quote($sId)}";

            $aResult = $oDb->getAll($sSql);

            foreach ($aResult as $aRow) {
                $this->_getContainer()->getClient()->getRefundDetails($aRow['BESTITAMAZONREFUNDID']);
            }
        }
    }
public function getRefundsStatus ( ) { $ sId = $ this -> getEditObjectId ( ) ; if ( ( int ) $ sId !== - 1 && $ sId !== null ) { $ oDb = $ this -> _getContainer ( ) -> getDatabase ( ) ; $ sSql = "SELECT BESTITAMAZONREFUNDID
                FROM bestitamazonrefunds
                WHERE STATE = 'Pending'
                  AND BESTITAMAZONREFUNDID != ''
                  AND OXORDERID = {$oDb->quote($sId)}" ; $ aResult = $ oDb -> getAll ( $ sSql ) ; foreach ( $ aResult as $ aRow ) { $ this -> _getContainer ( ) -> getClient ( ) -> getRefundDetails ( $ aRow [ 'BESTITAMAZONREFUNDID' ] ) ; } } }
Gets refunds status for the order
@throws Exception
Gets refunds status for the order