|
|
@@ -180,7 +180,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<span class="info-box-icon bg-yellow"><i class="fa fa-euro"></i></span> |
|
|
|
<div class="info-box-content"> |
|
|
|
<span class="info-box-text">CA (TTC)</span> |
|
|
|
<span class="info-box-number">{{ distribution.revenues }} <span class="normal" v-if="distribution.potential_revenues != '0.00 €'">/ {{ distribution.potential_revenues }}</span></span> |
|
|
|
<span class="info-box-number">{{ distribution.revenues }} <span class="normal" v-if="distribution.potential_revenues != '0,00 €'">/ {{ distribution.potential_revenues }}</span></span> |
|
|
|
<span class="info-box-text">Poids</span> |
|
|
|
<span class="info-box-number">{{ distribution.weight }} kg <span class="normal" v-if="distribution.potential_weight > 0">/ {{ distribution.potential_weight }} kg</span></span> |
|
|
|
</div> |
|
|
@@ -249,7 +249,11 @@ $this->setPageTitle('Distributions') ; |
|
|
|
|
|
|
|
<div id="buttons-top-orders"> |
|
|
|
<div class="right"> |
|
|
|
<a v-if="typeof deliveryNotes[idActivePointSale] != 'undefined'" :href="UrlManager.getBaseUrl()+'delivery-note/update?id='+deliveryNotes[idActivePointSale].id" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-file"></span> Bon de livraison</a> |
|
|
|
<a v-if="idActivePointSale > 0" @click="generateDeliveryNote" href="javascript:void(0);" class="btn btn-default btn-xs"> |
|
|
|
<span class="glyphicon glyphicon-plus"></span> |
|
|
|
<span v-if="deliveryNoteExist(idActivePointSale)">Regénérer le bon de livraison</span> |
|
|
|
<span v-else>Générer un bon de livraison</span> |
|
|
|
</a> |
|
|
|
<button id="btn-add-subscriptions" @click="addSubscriptions" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span> Importer les abonnements</button> |
|
|
|
<template v-if="producer.tiller == true"> |
|
|
|
<button v-if="tillerIsSynchro" id="btn-tiller" class="btn btn-success btn-xs" disabled><span class="glyphicon glyphicon-refresh"></span> Synchronisé avec Tiller</button> |
|
|
@@ -258,14 +262,15 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<button id="btn-add-order" @click="showModalFormOrderCreate = true" class="btn btn-xs btn-primary"><span class="glyphicon glyphicon-plus"></span> Ajouter une commande</button> |
|
|
|
</div> |
|
|
|
<div class="left"> |
|
|
|
<div v-if="idActivePointSale > 0 && oneOrderSelected()" class="btn-group"> |
|
|
|
<a v-if="deliveryNoteExist(idActivePointSale)" :href="UrlManager.getBaseUrl()+'delivery-note/update?id='+deliveryNotes[idActivePointSale].id" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-file"></span> Bon de livraison</a> |
|
|
|
<!--<div v-if="idActivePointSale > 0" class="btn-group"> |
|
|
|
<button type="button" class="btn btn-success btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
|
Action groupée <span class="caret"></span> |
|
|
|
</button> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<li><a @click="generateDeliveryNote" href="javascript:void(0);">Générer un bon de livraison</a></li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div>--> |
|
|
|
</div> |
|
|
|
<div class="clr"></div> |
|
|
|
</div> |