Ver código fonte

[backend] Commandes triées par ordre alphabétique

dev
Guillaume Bourgeois 5 anos atrás
pai
commit
6e4f4005b5
2 arquivos alterados com 3 adições e 1 exclusões
  1. +2
    -0
      backend/controllers/DistributionController.php
  2. +1
    -1
      backend/views/distribution/index.php

+ 2
- 0
backend/controllers/DistributionController.php Ver arquivo

@@ -97,6 +97,8 @@ class DistributionController extends BackendController
// commandes
$ordersArray = Order::searchAll([
'distribution.date' => $date,
],[
'orderby' => 'user.lastname ASC, user.name ASC'
]);
// montant et poids des commandes

+ 1
- 1
backend/views/distribution/index.php Ver arquivo

@@ -236,7 +236,7 @@ $this->setPageTitle('Distributions') ;
<label class="label label-warning" v-else>admin</label>
</td>
<td>
<span v-if="order.user">{{ order.user.name +' '+order.user.lastname }}</span>
<span v-if="order.user">{{ order.user.lastname+' '+order.user.name }}</span>
<span v-else>{{ order.username }}</span>
</td>
<td v-if="idActivePointSale == 0">

Carregando…
Cancelar
Salvar