add frontend basics
This commit is contained in:
67
frontend/views/customer/_search.php
Normal file
67
frontend/views/customer/_search.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model frontend\models\CustomerSearch */
|
||||
/* @var $form yii\widgets\ActiveForm */
|
||||
?>
|
||||
|
||||
<div class="customer-search">
|
||||
|
||||
<?php $form = ActiveForm::begin([
|
||||
'action' => ['index'],
|
||||
'method' => 'get',
|
||||
]); ?>
|
||||
|
||||
<?= $form->field($model, 'id_customer') ?>
|
||||
|
||||
<?= $form->field($model, 'id_customer_card') ?>
|
||||
|
||||
<?= $form->field($model, 'id_user') ?>
|
||||
|
||||
<?= $form->field($model, 'id_partner_card') ?>
|
||||
|
||||
<?= $form->field($model, 'id_proposer') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'name') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'email') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'password') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'phone') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'sex') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'date_stundent_card_expire') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'birthdate') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'image') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'description') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'tax_number') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'country') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'zip') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'city') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'address') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'created_at') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'updated_at') ?>
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton(Yii::t('frontend/customer', 'Search'), ['class' => 'btn btn-primary']) ?>
|
||||
<?= Html::resetButton(Yii::t('frontend/customer', 'Reset'), ['class' => 'btn btn-default']) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user