update to see consommables in BO
This commit is contained in:
parent
de06f70738
commit
df4be5618d
@ -12,9 +12,9 @@ require_once('../modules/privatesales_extrafields/privatesales_extrafields.php')
|
||||
if (isset($_GET['getSales'])){
|
||||
$type = $_GET['type'];
|
||||
if($type == 'finished'){
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, FALSE , FALSE, FALSE, '`position` DESC');
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, FALSE , FALSE, FALSE, '`position` DESC', NULL, NULL, FALSE, TRUE);
|
||||
}else{
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, $type , FALSE, FALSE, '`position` DESC');
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, $type , FALSE, FALSE, '`position` DESC', NULL, NULL, FALSE, TRUE);
|
||||
}
|
||||
|
||||
$ids = array();
|
||||
|
@ -655,7 +655,7 @@ class AdminPrivateSalesSales extends AdminTab {
|
||||
';
|
||||
echo ' <tbody id="saleActive" class="sortable">';
|
||||
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, 'not_ended', FALSE, FALSE, '`position` DESC');
|
||||
$sales = Sale::getSales(NULL, NULL, NULL, 'not_ended', FALSE, FALSE, '`position` DESC',NULL, NULL, FALSE, TRUE);
|
||||
$ids = array();
|
||||
foreach ($sales as $key => $sale) {
|
||||
$ids[] = $sale->id;
|
||||
|
Loading…
Reference in New Issue
Block a user