Browse Source

[backend] Création de commande : affichage du crédit de l'utilisateur sélectionné

dev
Guillaume Bourgeois 5 years ago
parent
commit
fe07512e18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/views/distribution/index.php

+ 1
- 1
backend/views/distribution/index.php View File

@@ -462,7 +462,7 @@ $this->setPageTitle('Distributions') ;
</select>
</div>
<div class="form-group">
<a v-if="producer.credit && order.id_user > 0" class="btn btn-xs btn-primary btn-credit" :href="baseUrl+'/user/credit?id='+user.id_user" v-for="user in users" v-if="user.id_user == order.id_user">{{ user.credit }} €</a>
<a v-if="producer.credit && order.id_user > 0" class="btn btn-xs btn-primary btn-credit" :href="baseUrl+'/user/credit?id='+user.id_user" v-for="user in users" v-if="user.id_user == order.id_user">{{ parseFloat(user.credit).toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+'&nbsp;€' }}</a>
<label class="control-label" for="select-id-user">
Utilisateur
</label>

Loading…
Cancel
Save