Merge pull request #13321 from OPEN-DSI/new-takepos-product-sorted-by-label
NEW add a parameter to sort product by label in cash desk
This commit is contained in:
commit
4088553d61
@ -175,7 +175,7 @@ print '<tr class="oddeven"><td>';
|
||||
print $langs->trans("SortProductField");
|
||||
print '<td colspan="2">';
|
||||
$prod = new Product($db);
|
||||
$array = array('rowid' => 'ID', 'ref' => 'Ref', 'datec' => 'DateCreation', 'tms' => 'DateModification');
|
||||
$array = array('rowid' => 'ID', 'ref' => 'Ref', 'label' => 'Label', 'datec' => 'DateCreation', 'tms' => 'DateModification');
|
||||
print $form->selectarray('TAKEPOS_SORTPRODUCTFIELD', $array, (empty($conf->global->TAKEPOS_SORTPRODUCTFIELD) ? 'rowid' : $conf->global->TAKEPOS_SORTPRODUCTFIELD), 0, 0, 0, '', 1);
|
||||
print "</td></tr>\n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user