Преглед изворни кода

Modification d'un document : gestion du champs 'comment' #166

refactoring
Guillaume Bourgeois пре 4 година
родитељ
комит
efb48c920a
1 измењених фајлова са 4 додато и 1 уклоњено
  1. +4
    -1
      backend/views/document/_form.php

+ 4
- 1
backend/views/document/_form.php Прегледај датотеку

@@ -72,7 +72,10 @@ use common\models\Producer;
'v-model' => 'idUser',
]
); ?>
<?= $form->field($model, 'address')->textarea(['rows' => 3, 'v-model' => 'document.address']) ?>
<?= $form->field($model, 'address')->textarea(['rows' => 2, 'v-model' => 'document.address']) ?>
<?php if ($action == 'update'): ?>
<?= $form->field($model, 'comment')->textarea(['rows' => 2])->hint('Affiché en bas de la facture') ?>
<?php endif; ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-primary']) ?>
</div>

Loading…
Откажи
Сачувај