|
|
|
|
|
|
|
|
{{ order.user.lastname+' '+order.user.name }} |
|
|
{{ order.user.lastname+' '+order.user.name }} |
|
|
</template> |
|
|
</template> |
|
|
<span class="shortcuts btn-group" role="group"> |
|
|
<span class="shortcuts btn-group" role="group"> |
|
|
<a class="btn btn-default btn-sm" :href="baseUrl+'/user/credit?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" :data-content="order.user.credit.toFixed(2)+' €'"><span class="glyphicon glyphicon-euro"></span></a> |
|
|
|
|
|
|
|
|
<a :class="order.user.credit_active ? 'btn btn-success btn-sm' : 'btn btn-default btn-sm'" :href="baseUrl+'/user/credit?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" :data-content="order.user.credit.toFixed(2)+' €'"><span class="glyphicon glyphicon-euro"></span></a> |
|
|
<a class="btn btn-default btn-sm" :href="baseUrl+'/user/update?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Modifier"><span class="glyphicon glyphicon-user"></span></a> |
|
|
<a class="btn btn-default btn-sm" :href="baseUrl+'/user/update?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Modifier"><span class="glyphicon glyphicon-user"></span></a> |
|
|
<a class="btn btn-default btn-sm" :href="baseUrl+'/user/orders?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Voir les commandes"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
|
<a class="btn btn-default btn-sm" :href="baseUrl+'/user/orders?id='+order.id_user" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Voir les commandes"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
|
</span> |
|
|
</span> |
|
|
|
|
|
|
|
|
<table class="table table-condensed table-bordered table-hover" v-if="order.paymentsArray && order.paymentsArray.length > 0"> |
|
|
<table class="table table-condensed table-bordered table-hover" v-if="order.paymentsArray && order.paymentsArray.length > 0"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<!--<td>Utilisateur</td> |
|
|
|
|
|
<td>Action</td> |
|
|
|
|
|
<td>Origine action</td>--> |
|
|
|
|
|
<td>Date</td> |
|
|
<td>Date</td> |
|
|
|
|
|
<td>Origine action</td> |
|
|
<td>Type</td> |
|
|
<td>Type</td> |
|
|
<td>Moyen</td> |
|
|
<td>Moyen</td> |
|
|
<td>Montant</td> |
|
|
<td>Montant</td> |
|
|
|
|
|
|
|
|
</thead> |
|
|
</thead> |
|
|
<tbody> |
|
|
<tbody> |
|
|
<tr v-for="payment in order.paymentsArray"> |
|
|
<tr v-for="payment in order.paymentsArray"> |
|
|
<!--<td>{{ payment.user }}</td> |
|
|
|
|
|
<td v-html="payment.wording"></td> |
|
|
|
|
|
<td>{{ payment.user_action }}</td>--> |
|
|
|
|
|
<td>{{ payment.date }}</td> |
|
|
<td>{{ payment.date }}</td> |
|
|
|
|
|
<td>{{ payment.user_action }}</td> |
|
|
<td>{{ payment.wording_type }}</td> |
|
|
<td>{{ payment.wording_type }}</td> |
|
|
<td>{{ payment.wording_mean_payment }}</td> |
|
|
<td>{{ payment.wording_mean_payment }}</td> |
|
|
<td v-html="payment.amount"></td> |
|
|
<td v-html="payment.amount"></td> |