|
|
|
|
|
|
|
|
<?= Html::hiddenInput('id', $model->id); ?> |
|
|
<?= Html::hiddenInput('id', $model->id); ?> |
|
|
<button class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Valider le document</button> |
|
|
<button class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Valider le document</button> |
|
|
</form> |
|
|
</form> |
|
|
|
|
|
<?php if(isset($model->user) && strlen($model->user->email) > 0): ?> |
|
|
|
|
|
<a href="<?= Yii::$app->urlManager->createUrl([Yii::$app->controller->getControllerUrl().'/send', 'id' => $model->id]) ?>" class="btn btn-default"><span class="glyphicon glyphicon-send"></span> Envoyer le document</a> |
|
|
|
|
|
<?php endif; ?> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |