Selaa lähdekoodia

Correction problème nombre d'éléments dans liste BL / devis et factures.

dev
Guillaume Bourgeois 4 vuotta sitten
vanhempi
commit
2d98cfa183
3 muutettua tiedostoa jossa 3 lisäystä ja 6 poistoa
  1. +1
    -2
      common/models/DeliveryNoteSearch.php
  2. +1
    -2
      common/models/InvoiceSearch.php
  3. +1
    -2
      common/models/QuotationSearch.php

+ 1
- 2
common/models/DeliveryNoteSearch.php Näytä tiedosto



$query = DeliveryNote::find() $query = DeliveryNote::find()
->with($optionsSearch['with']) ->with($optionsSearch['with'])
->joinWith($optionsSearch['join_with'], true)
->where(['delivery_note.id_producer' => GlobalParam::getCurrentProducerId()]) ->where(['delivery_note.id_producer' => GlobalParam::getCurrentProducerId()])
->orderBy('delivery_note.status ASC, delivery_note.reference DESC'); ->orderBy('delivery_note.status ASC, delivery_note.reference DESC');


'query' => $query, 'query' => $query,
'sort' => ['attributes' => ['name', 'reference', 'date']], 'sort' => ['attributes' => ['name', 'reference', 'date']],
'pagination' => [ 'pagination' => [
'pageSize' => 30,
'pageSize' => 20,
], ],
]); ]);



+ 1
- 2
common/models/InvoiceSearch.php Näytä tiedosto



$query = Invoice::find() $query = Invoice::find()
->with($optionsSearch['with']) ->with($optionsSearch['with'])
->joinWith($optionsSearch['join_with'], true)
->where(['invoice.id_producer' => GlobalParam::getCurrentProducerId()]) ->where(['invoice.id_producer' => GlobalParam::getCurrentProducerId()])
->orderBy('invoice.status ASC, invoice.reference DESC'); ->orderBy('invoice.status ASC, invoice.reference DESC');


'query' => $query, 'query' => $query,
'sort' => ['attributes' => ['name', 'reference', 'date']], 'sort' => ['attributes' => ['name', 'reference', 'date']],
'pagination' => [ 'pagination' => [
'pageSize' => 30,
'pageSize' => 20,
], ],
]); ]);



+ 1
- 2
common/models/QuotationSearch.php Näytä tiedosto



$query = Quotation::find() $query = Quotation::find()
->with($optionsSearch['with']) ->with($optionsSearch['with'])
->joinWith($optionsSearch['join_with'], true)
->where(['quotation.id_producer' => GlobalParam::getCurrentProducerId()]) ->where(['quotation.id_producer' => GlobalParam::getCurrentProducerId()])
->orderBy('quotation.status ASC, quotation.reference DESC'); ->orderBy('quotation.status ASC, quotation.reference DESC');


'query' => $query, 'query' => $query,
'sort' => ['attributes' => ['name', 'reference', 'date']], 'sort' => ['attributes' => ['name', 'reference', 'date']],
'pagination' => [ 'pagination' => [
'pageSize' => 30,
'pageSize' => 20,
], ],
]); ]);



Loading…
Peruuta
Tallenna