|
|
@@ -179,7 +179,8 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<div class="info-box-content"> |
|
|
|
<span class="info-box-text"> |
|
|
|
{{ countOrders }} Commande<span v-if="countOrders > 1">s</span><br /><br /> |
|
|
|
<a :href="distribution.url_report" class="btn btn-default" v-if="orders.length">Télécharger (PDF)</a> |
|
|
|
<a href="#" class="btn btn-default" disabled="disabled" v-if="countOrders == 0">Télécharger (PDF)</a> |
|
|
|
<a :href="distribution.url_report" class="btn btn-default" v-else>Télécharger (PDF)</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |