add product sale changes

This commit is contained in:
2015-10-01 09:37:34 +02:00
parent 7128cd438d
commit e3d6c0b902
34 changed files with 1801 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Currency */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/currency', 'Currencies'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="currency-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a(Yii::t('frontend/currency', 'Update'), ['update', 'id' => $model->id_currency], ['class' => 'btn btn-primary']) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'currency',
'name',
'rate',
'created_at:datetime',
'updated_at:datetime',
],
]) ?>
</div>