Blame view

frontend/views/orders/basket-step-01.php 3.28 KB
8df80521   Alexander Karnovsky   not fixed commite
1
2
  <?php
  
2e3a817e   Administrator   24.03.16 finish 1
3
4
  use yii\helpers\Html;
  use yii\helpers\Url;
b7f0b4d5   Administrator   24.03.16 finish 1
5
  use yii\bootstrap\ActiveForm;
2e3a817e   Administrator   24.03.16 finish 1
6
  
8df80521   Alexander Karnovsky   not fixed commite
7
8
  $this->title = 'Оформление заказа';
  $this->params['breadcrumbs'][] = $this->title;
b7f0b4d5   Administrator   24.03.16 finish 1
9
  $model->delivery = 2;
8df80521   Alexander Karnovsky   not fixed commite
10
11
12
13
14
  ?>
  
  
  <h1 class="basket_main_title">Оформление заказа</h1>
  
2e3a817e   Administrator   24.03.16 finish 1
15
16
17
18
19
  
  	<?php $form = ActiveForm::begin([
  		'class' => 'basket_order_01_form'
  	]); ?><!-- начало формы заказа -->
  
8df80521   Alexander Karnovsky   not fixed commite
20
21
22
23
24
25
  
  	<div class="privet_info_block">
  
  		<h3>Личные данные</h3>
  
  		<div class="padding_cust">
2e3a817e   Administrator   24.03.16 finish 1
26
27
28
  			<?= $form->field($model, 'name',[
  				'template' => '<label>'.Yii::t('app', 'Ф.И.О.').'<span class="red">*</span>{input}<span class="placehold">На это имя будут оформлены документы</span>{error}{hint}</label>',
  			])->textInput() ?>
8df80521   Alexander Karnovsky   not fixed commite
29
30
31
  		</div>
  
  		<div class="padding_cust">
2e3a817e   Administrator   24.03.16 finish 1
32
33
34
  			<?= $form->field($model, 'email',[
  				'template' => '<label>'.Yii::t('app', 'E-mail').'<span class="red">*</span>{input}<span class="placehold">Сюда пришлем подробности заказа</span>{error}{hint}</label>',
  			])->textInput() ?>
8df80521   Alexander Karnovsky   not fixed commite
35
  		</div>
2e3a817e   Administrator   24.03.16 finish 1
36
  
8df80521   Alexander Karnovsky   not fixed commite
37
  		<div class="padding_cust">
2e3a817e   Administrator   24.03.16 finish 1
38
39
40
  			<?= $form->field($model, 'phone',[
  				'template' => '<label>'.Yii::t('app', 'Телефон').'<span class="red">*</span>{input}<span class="placehold">Уточним важное</span>{error}{hint}</label>',
  			])->textInput() ?>
8df80521   Alexander Karnovsky   not fixed commite
41
42
  		</div>
  
8df80521   Alexander Karnovsky   not fixed commite
43
44
45
46
47
48
49
50
  	</div>
  
  	<div class="separator"></div>
  
  	<div class="delivery_radio">
  		<h3>Доставка</h3>
  
  	 	<div class="padding_cust">
b7f0b4d5   Administrator   24.03.16 finish 1
51
52
53
  			<?= $form->field($model, 'delivery',[
  				'radioTemplate' => "{beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n{error}\n{hint}\n<p>Курьерска доставка по Киеву и области</p>",
  			])->radio() ?>
8df80521   Alexander Karnovsky   not fixed commite
54
55
56
  	 	</div>
  
  	 	<div class="padding_cust">
b7f0b4d5   Administrator   24.03.16 finish 1
57
58
59
  			<?= $form->field($model, 'delivery',[
  				'template' => '<label>{input}</label><p>В любой регион Украины</p>{error}{hint}',
  			])->radio(['value'=>2,'label'=>false])  ?>
8df80521   Alexander Karnovsky   not fixed commite
60
61
62
  	 	</div>
  
  	 	<div class="padding_cust">
b7f0b4d5   Administrator   24.03.16 finish 1
63
64
65
  			<?= $form->field($model, 'delivery',[
  				'template' => '<label>{input}</label><p>Самовывоз (бесплатно)</p><span class="placehold">уточните подробности по телефону 044 ХХХ-ХХ-ХХ</span>{error}{hint}',
  			])->radio(['value'=>3,'label'=>false]) ?>
8df80521   Alexander Karnovsky   not fixed commite
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
  	 	</div>
  	</div>
  
  	<div class="separator_02"></div>
  
  	<div class="basket_pay_block">
  		<h3>Оплата</h3>
  
  		<div class="padding_cust">
  		 	<label><input type="radio" name="pay_way" value="0" checked="true" /></label>
  	 		<p>Оплата наличными</p>
  	 	</div>
  
  	 	<div class="padding_cust">
  		 	<label><input type="radio" name="pay_way" value="0" /></label>
b7f0b4d5   Administrator   24.03.16 finish 1
81
82
  	 		<p>Оплата по безналичному расчету. Код ЕГРПОУ </p>
  			<input type="text" name="code">
8df80521   Alexander Karnovsky   not fixed commite
83
84
85
86
87
88
89
90
91
92
93
94
95
  	 	</div>
  
  	 	<div class="padding_cust">
  		 	<label><input type="radio" name="pay_way" value="0" /></label>
  		 	<p>Приват 24</p>
  	 	</div>
  
  	 	<div class="padding_cust">
  		 	<label><input type="radio" name="pay_way" value="0" /></label>
  	 		<p>Согласовать с менеджером</p>
  	 	</div>
  
  	</div>
2e3a817e   Administrator   24.03.16 finish 1
96
  
8df80521   Alexander Karnovsky   not fixed commite
97
  	<div class="for_margin">
2e3a817e   Administrator   24.03.16 finish 1
98
  		<?= Html::submitButton(Yii::t('app', 'продолжить оформление'), ['class' => 'order_01_btn', 'name' => 'signup-button']) ?>
8df80521   Alexander Karnovsky   not fixed commite
99
100
  	</div>
  
2e3a817e   Administrator   24.03.16 finish 1
101
  <?php ActiveForm::end(); ?><!-- конец формы заказа -->