detsta processing -> move to cart if not successfull, transfer/paymentLater changes
This commit is contained in:
@@ -3,20 +3,15 @@ namespace common\components;
|
||||
|
||||
|
||||
use yii\base\Object;
|
||||
use common\models\TicketInstallmentRequest;
|
||||
use common\components\giro\GiroDETSTATetel;
|
||||
use common\models\Ugiro;
|
||||
use common\components\giro\GiroDETSTA;
|
||||
use common\components\giro\GiroDETSTAFej;
|
||||
use common\components\giro\GiroDETSTALab;
|
||||
use common\components\DetStaDBSave;
|
||||
|
||||
|
||||
/**
|
||||
* This is the model class for table "ticket".
|
||||
*
|
||||
* @property common\components\giro\GiroDETSTA $detstatUzenet
|
||||
* @property common\models\UGiro $koteg
|
||||
* @property \common\components\giro\GiroDETSTA $detstatUzenet
|
||||
* @property \common\models\UGiro $koteg
|
||||
*
|
||||
* */
|
||||
class DetStatProcessor extends Object{
|
||||
@@ -120,14 +115,19 @@ class DetStatProcessor extends Object{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function readKoteg(){
|
||||
$this->koteg = Ugiro::findOne($this->idKoteg );
|
||||
if ( !isset($this->koteg) ){
|
||||
$this->errors [] = "Kötege nem található! (".$this->detstatUzenet->fej." )";
|
||||
/** @var DetStatProcessor $this */
|
||||
$this->errors [] = "Köteg nem található! (".$this->detstatUzenet->fej ." )";
|
||||
}
|
||||
}
|
||||
|
||||
public function readKotegMegbizasok(){
|
||||
$this->megbizasok = $this->koteg->requests;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user