|
|
|
|
|
|
|
|
'v-model' => 'idUser', |
|
|
'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"> |
|
|
<div class="form-group"> |
|
|
<?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-primary']) ?> |
|
|
<?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-primary']) ?> |
|
|
</div> |
|
|
</div> |