Sfoglia il codice sorgente

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

refactoring
parent
commit
efb48c920a
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      backend/views/document/_form.php

+ 4
- 1
backend/views/document/_form.php Vedi File

@@ -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…
Annulla
Salva