|
|
@@ -336,9 +336,11 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<span v-if="order.delivery_home && order.delivery_address && order.delivery_address.length > 0" class="glyphicon glyphicon-home"></span> |
|
|
|
</td> |
|
|
|
<td class="column-point-sale" v-if="idActivePointSale == 0"> |
|
|
|
{{ order.pointSale.name }} |
|
|
|
<template v-if="order.pointSale"> |
|
|
|
{{ order.pointSale.name }} |
|
|
|
</template> |
|
|
|
</td> |
|
|
|
<td class="column-amount">{{ order.amount.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }}</td> |
|
|
|
<td class="column-amount">{{ order.amount.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }}</td> |
|
|
|
<td class="column-state-payment"> |
|
|
|
<div class="input-group"> |
|
|
|
<span class="label label-success input-group-addon" v-if="order.amount_paid == order.amount">payé</span> |
|
|
@@ -420,7 +422,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<span :class="'info-box-icon ' +((order.amount_paid == order.amount) ? 'bg-green' : 'bg-red')"><i class="fa fa-check"></i></span> |
|
|
|
<div class="info-box-content"> |
|
|
|
<span class="info-box-text">Montant</span> |
|
|
|
<span class="info-box-number">{{ order.amount.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }}</span> |
|
|
|
<span class="info-box-number">{{ order.amount.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }}</span> |
|
|
|
<span class="info-box-text"> |
|
|
|
Statut<br /> |
|
|
|
<span class="label label-success" v-if="order.amount_paid == order.amount">payé</span> |
|
|
@@ -445,7 +447,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
data-type="refund" |
|
|
|
@click="orderPaymentClick" > |
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> |
|
|
|
Rembourser {{ order.amount.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
Rembourser {{ order.amount.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
</button> |
|
|
|
|
|
|
|
<button v-else-if="order.amount_paid == 0" |
|
|
@@ -454,7 +456,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
data-type="payment" |
|
|
|
@click="orderPaymentClick"> |
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> |
|
|
|
Payer {{ order.amount.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
Payer {{ order.amount.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
</button> |
|
|
|
|
|
|
|
<button v-else-if="order.amount_paid > order.amount" |
|
|
@@ -463,7 +465,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
data-type="refund" |
|
|
|
@click="orderPaymentClick"> |
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> |
|
|
|
Rembourser {{ order.amount_surplus.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
Rembourser {{ order.amount_surplus.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
</button> |
|
|
|
|
|
|
|
<button v-else-if="order.amount_paid < order.amount" |
|
|
@@ -472,7 +474,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
data-type="payment" |
|
|
|
@click="orderPaymentClick"> |
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> |
|
|
|
Payer le restant {{ order.amount_remaining.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
Payer le restant {{ order.amount_remaining.replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
|