add change card, add customer tab
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\DetailView;
|
||||
use common\models\TicketInstallmentRequest;
|
||||
use frontend\components\CustomerTabWidget;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Contract */
|
||||
@@ -11,11 +12,10 @@ $this->title = "Szerződés részletek" ;
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/contract', 'Szerződések'), 'url' => ['index', 'id_card' => $card->id_card]];
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<?php echo CustomerTabWidget::widget(['card' => $model->customer->card,'title' => 'Szerződés részletek'])?>
|
||||
|
||||
<div class="contract-view">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
|
||||
|
||||
<?= DetailView::widget([
|
||||
'model' => $model,
|
||||
'attributes' => [
|
||||
|
||||
Reference in New Issue
Block a user