add discount to product sell js

This commit is contained in:
2015-10-21 07:46:15 +02:00
parent f2e30779f0
commit 4e04425403
9 changed files with 63 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ $this->title = Yii::t('common/discount', 'Update {modelClass}: ', [
'modelClass' => 'Discount',
]) . ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/discount', 'Discounts'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id_warehouse]];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id_discount]];
$this->params['breadcrumbs'][] = Yii::t('common/discount', 'Update');
?>
<div class="discount-update">