You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
635 B

  1. <?php
  2. use blobt\widgets\Icheck;
  3. use common\models\ars\ExpressTemplate;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ars\ExpressTemplate */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
  9. <?= $form->field($model, 'calculation')->widget(Icheck::className(), ["items" => ExpressTemplate::$calculation, 'type' => "radio"]) ?>
  10. <?= $form->field($model, 'basic_amount')->textInput() ?>
  11. <?= $form->field($model, 'basic_price')->textInput() ?>
  12. <?= $form->field($model, 'extra_amount')->textInput() ?>
  13. <?= $form->field($model, 'extra_price')->textInput() ?>