use common\models\Order ; | use common\models\Order ; | ||||
$this->setTitle('Mes commandes') ; | $this->setTitle('Mes commandes') ; | ||||
$this->addButton(['label' => '<span class="glyphicon glyphicon-plus"></span> Ajouter', 'url' => 'order/order', 'class' => 'btn btn-primary']) ; | |||||
?> | ?> | ||||
use yii\grid\GridView; | use yii\grid\GridView; | ||||
$this->setTitle('Abonnements') ; | $this->setTitle('Abonnements') ; | ||||
$this->addButton(['label' => '+ Ajouter', 'url' => 'subscription/form', 'class' => 'btn btn-primary']) ; | |||||
$this->addButton(['label' => '<span class="glyphicon glyphicon-plus"></span> Ajouter', 'url' => 'subscription/form', 'class' => 'btn btn-primary']) ; | |||||
$columns = [ | $columns = [ | ||||
[ | [ |