|
|
|
|
|
|
|
|
<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,")+' €' }}</a> |
|
|
<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,")+' €' }}</a> |
|
|
<label class="control-label" for="select-id-user"> |
|
|
<label class="control-label" for="select-id-user"> |
|
|
Utilisateur |
|
|
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> |
|
|
</label> |
|
|
<select class="form-control select2-order-form" v-model="order.id_user" @change="userChange"> |
|
|
<select class="form-control select2-order-form" v-model="order.id_user" @change="userChange"> |
|
|
<option value="0">--</option> |
|
|
<option value="0">--</option> |