Ver código fonte

[Administration] Distribution > Création commande : ajout lien pour créer utilisateur

feature/souke
Guillaume Bourgeois 10 meses atrás
pai
commit
767d183bf0
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      backend/views/distribution/index.php

+ 4
- 0
backend/views/distribution/index.php Ver arquivo

@@ -649,6 +649,10 @@ $this->setPageTitle('Distributions') ;
<a v-if="producer && producer.credit && order.id_user > 0 && user.id_user == order.id_user" class="btn btn-xs btn-primary btn-credit" :href="baseUrl+'/user/credit?id='+user.id_user" v-for="user in users">{{ parseFloat(user.credit).toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+'&nbsp;€' }}</a>
<label class="control-label" for="select-id-user">
Utilisateur
<a v-if="!order.id_user || order.id_user == 0" class="btn btn-default btn-xs" href="<?= Yii::$app->urlManager->createUrl('user/create'); ?>">
<span class="glyphicon glyphicon-plus"></span>
Créer un utilisateur
</a>
</label>
<select class="form-control select2-order-form" v-model="order.id_user" @change="userChange">
<option value="0">--</option>

Carregando…
Cancelar
Salvar