Ver código fonte

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

dev
Guillaume Bourgeois 5 anos atrás
pai
commit
efb48c920a
1 arquivos alterados com 4 adições e 1 exclusões
  1. +4
    -1
      backend/views/document/_form.php

+ 4
- 1
backend/views/document/_form.php Ver arquivo

@@ -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>

Carregando…
Cancelar
Salvar