/** * Apply gift card on place order in admin. * * @return void */ public function run() { if ($this->salesRule !== null) { $this->orderCreateIndex->getCouponsBlock()->applyCouponCode($this->salesRule); } }
/** * Apply gift card on place order in admin. * * @return void */ public function run() { if ($this->salesRule !== null) { $this->orderCreateIndex->getCouponsBlock()->applyCouponCode($this->salesRule); } }