|
|
|
|
|
|
|
|
<td class="column-actions"> |
|
|
<td class="column-actions"> |
|
|
<a class="btn btn-default" :href="baseUrl+'/subscription/update?id='+order.id_subscription" v-if="order.id_subscription > 0"><span class="glyphicon glyphicon-repeat"></span></a> |
|
|
<a class="btn btn-default" :href="baseUrl+'/subscription/update?id='+order.id_subscription" v-if="order.id_subscription > 0"><span class="glyphicon glyphicon-repeat"></span></a> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="orderViewClick"><span :class="'glyphicon ' + ((showViewProduct && idOrderView == order.id) ? 'glyphicon-eye-close' : 'glyphicon-eye-open')"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="orderViewClick"><span :class="'glyphicon ' + ((showViewProduct && idOrderView == order.id) ? 'glyphicon-eye-close' : 'glyphicon-eye-open')"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="orderPaymentModalClick"><span class="glyphicon glyphicon-euro"></span></button> |
|
|
|
|
|
|
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="orderPaymentModalClick" v-show="order.user"><span class="glyphicon glyphicon-euro"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="updateOrderClick"><span class="glyphicon glyphicon-pencil"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="updateOrderClick"><span class="glyphicon glyphicon-pencil"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="deleteOrderClick"><span class="glyphicon glyphicon-trash"></span></button> |
|
|
<button class="btn btn-default" :data-id-order="order.id" @click="deleteOrderClick"><span class="glyphicon glyphicon-trash"></span></button> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<modal v-if="showModalPayment && idOrderPayment == order.id" class="modal-payment" @close="showModalPayment = false"> |
|
|
<modal v-if="showModalPayment && idOrderPayment == order.id" class="modal-payment" @close="showModalPayment = false"> |
|
|
<h3 slot="header"> |
|
|
<h3 slot="header"> |
|
|
Commande du <strong>{{ dateFormat }}</strong> > |
|
|
Commande du <strong>{{ dateFormat }}</strong> > |
|
|
<strong><span v-if="order.user">{{ order.user.name +' '+order.user.lastname }}</span> |
|
|
|
|
|
<span v-else>{{ order.username }}</span></strong> |
|
|
|
|
|
|
|
|
<strong><span v-if="order.user">{{ order.user.name +' '+order.user.lastname }}</span> |
|
|
|
|
|
<span v-else>{{ order.username }}</span></strong> |
|
|
</h3> |
|
|
</h3> |
|
|
<div slot="body"> |
|
|
<div slot="body"> |
|
|
<div class="col-md-4"> |
|
|
<div class="col-md-4"> |
|
|
|
|
|
|
|
|
<td>{{ creditHistory.date }}</td> |
|
|
<td>{{ creditHistory.date }}</td> |
|
|
<td>{{ creditHistory.user_action }}</td> |
|
|
<td>{{ creditHistory.user_action }}</td> |
|
|
<td v-html="creditHistory.wording"></td> |
|
|
<td v-html="creditHistory.wording"></td> |
|
|
<td>{{ creditHistory.debit }}</td> |
|
|
|
|
|
<td>{{ creditHistory.credit }}</td> |
|
|
|
|
|
|
|
|
<td v-html="creditHistory.debit"></td> |
|
|
|
|
|
<td v-html="creditHistory.credit"></td> |
|
|
</tr> |
|
|
</tr> |
|
|
</tbody> |
|
|
</tbody> |
|
|
</table> |
|
|
</table> |