Pārlūkot izejas kodu

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

feature/souke
Guillaume Bourgeois pirms 10 mēnešiem
vecāks
revīzija
767d183bf0
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      backend/views/distribution/index.php

+ 4
- 0
backend/views/distribution/index.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt