Browse Source

Adaptations producer/site/index

dev
Guillaume Bourgeois 6 years ago
parent
commit
b07be5ae07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      producer/views/site/index.php

+ 1
- 1
producer/views/site/index.php View File

$colSize = 'col-md-12' ; $colSize = 'col-md-12' ;
?> ?>


<section id="commander">
<section id="order">
<a class="btn btn-primary btn-lg" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/producer','id' => $this->context->getProducer()->id,'return_url' => Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/create','slug_producer' => $this->context->getProducer()->slug])]); else: echo Yii::$app->urlManager->createUrl(['order/create']); endif; ?>"><span class="glyphicon glyphicon-plus"></span> Passer une commande</a> <a class="btn btn-primary btn-lg" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/producer','id' => $this->context->getProducer()->id,'return_url' => Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/create','slug_producer' => $this->context->getProducer()->slug])]); else: echo Yii::$app->urlManager->createUrl(['order/create']); endif; ?>"><span class="glyphicon glyphicon-plus"></span> Passer une commande</a>
</section> </section>



Loading…
Cancel
Save