Browse Source

Backend : libellé commandes automatiques

Commandes automatiques devient "commandes récurrentes".
master
keun 7 years ago
parent
commit
b445364c48
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      backend/controllers/CommandeautoController.php
  2. +1
    -1
      backend/views/commandeauto/index.php
  3. +2
    -2
      backend/views/commandeauto/update.php
  4. +1
    -1
      backend/views/layouts/main.php

+ 1
- 1
backend/controllers/CommandeautoController.php View File

} }
} }
else { else {
throw new NotFoundHttpException('La commande automatique est introuvable.', 404);
throw new NotFoundHttpException('La commande récurrente est introuvable.', 404);
} }
// produits // produits

+ 1
- 1
backend/views/commandeauto/index.php View File

/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */ /* @var $dataProvider yii\data\ActiveDataProvider */


$this->title = 'Commandes automatiques';
$this->title = 'Commandes récurrentes';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="commande-auto-index"> <div class="commande-auto-index">

+ 2
- 2
backend/views/commandeauto/update.php View File

/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model app\models\Produit */ /* @var $model app\models\Produit */


$this->title = 'Modifier une commande automatique';
$this->params['breadcrumbs'][] = ['label' => 'Commandes automatiques', 'url' => ['index']];
$this->title = 'Modifier une commande récurrente';
$this->params['breadcrumbs'][] = ['label' => 'Commandes récurrentes', 'url' => ['index']];
$this->params['breadcrumbs'][] = 'Modifier'; $this->params['breadcrumbs'][] = 'Modifier';
?> ?>
<div class="commandeauto-update"> <div class="commandeauto-update">

+ 1
- 1
backend/views/layouts/main.php View File

'visible' => !Yii::$app->user->isGuest 'visible' => !Yii::$app->user->isGuest
], ],
[ [
'label' => '<span class="glyphicon glyphicon-repeat"></span> Commandes automatiques',
'label' => '<span class="glyphicon glyphicon-repeat"></span> Commandes récurrentes',
'url' => ['/commandeauto/index'], 'url' => ['/commandeauto/index'],
'visible' => !Yii::$app->user->isGuest 'visible' => !Yii::$app->user->isGuest
], ],

Loading…
Cancel
Save