/var/www/vhosts/nabawater/frontend/controllers
Edit: /var/www/vhosts/nabawater/frontend/controllers/HomeController.php (2408B)
format('N')); die;
com::setSession('customer_latitude','28.41492');
com::setSession('customer_langtitude','36.53557');
com::setSession('customer_search_location','Tabuk,Tabouk');
return $this->redirect(['/product-list-normal-orders']);
$Popularlocation = Branch::getPopularLocation();
// print_r($location);die;
return $this->render('index',[
'Popularlocation' => $Popularlocation ,
]);
}
public function actionOffer()
{
$model = UserPromotion::getQuery([
UserPromotion::PROMOTION_TYPE_DIRECT_PURCHASE,
UserPromotion::PROMOTION_TYPE_FREE_PRODUCT,
])->all();
$model = ArrayHelper::toArray($model);
return $this->render('offer', ['model' => $model]);
}
public function actionPromotion()
{
return $this->render('promotion');
}
public function actionAbout()
{
return $this->render('about');
}
public function actionBranch()
{
return $this->render('branch');
}
public function actionContact()
{
return $this->render('contact');
}
public function actionMedia()
{
return $this->render('media');
}
public function actionQrCode()
{
$generatedString = QrHelper::getInstance()->generate();
}
public function actionStore()
{
return $this->render('store');
}
}