src/views/price/formRow/template.php 1 location
|
@@ 41-44 (lines=4) @@
|
38 |
|
<?php endif ?> |
39 |
|
</div> |
40 |
|
<div class="col-md-1"> |
41 |
|
<?php if ($model->unitOptions !== []): ?> |
42 |
|
<?= $form->field($model, "[$i]unit")->dropDownList($model->unitOptions) ?> |
43 |
|
<?php endif ?> |
44 |
|
</div> |
45 |
|
<div class="col-md-4"> |
46 |
|
<div class="col-md-4"> |
47 |
|
<div class="<?= AmountWithCurrency::$widgetClass ?>"> |
src/views/price/formRow/simple.php 1 location
|
@@ 76-79 (lines=4) @@
|
73 |
|
<?php endif ?> |
74 |
|
</div> |
75 |
|
<div class="col-md-1"> |
76 |
|
<?php if ($model->unitOptions !== []): ?> |
77 |
|
<?= $form->field($model, "[$i]unit")->dropDownList($model->unitOptions) ?> |
78 |
|
<?php endif ?> |
79 |
|
</div> |
80 |
|
<div class="col-md-2"> |
81 |
|
<div class="<?= AmountWithCurrency::$widgetClass ?>"> |
82 |
|
<?= $form->field($model, "[$i]price")->widget(AmountWithCurrency::class, [ |