mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Fix minore select articoli
This commit is contained in:
parent
df888e84ec
commit
37cb00a7a6
@ -37,8 +37,8 @@ switch ($resource) {
|
|||||||
$idagente = $superselect['idagente'];
|
$idagente = $superselect['idagente'];
|
||||||
|
|
||||||
$query = "SELECT
|
$query = "SELECT
|
||||||
|
DISTINCT mg_articoli.id,
|
||||||
IF(`categoria`.`nome` IS NOT NULL, CONCAT(`categoria`.`nome`, IF(`sottocategoria`.`nome` IS NOT NULL, CONCAT(' (', `sottocategoria`.`nome`, ')'), '-')), '<i>".tr('Nessuna categoria')."</i>') AS optgroup,
|
IF(`categoria`.`nome` IS NOT NULL, CONCAT(`categoria`.`nome`, IF(`sottocategoria`.`nome` IS NOT NULL, CONCAT(' (', `sottocategoria`.`nome`, ')'), '-')), '<i>".tr('Nessuna categoria')."</i>') AS optgroup,
|
||||||
mg_articoli.id,
|
|
||||||
mg_articoli.barcode,
|
mg_articoli.barcode,
|
||||||
|
|
||||||
mg_articoli.".($prezzi_ivati ? 'prezzo_vendita_ivato' : 'prezzo_vendita').' AS prezzo_vendita,
|
mg_articoli.".($prezzi_ivati ? 'prezzo_vendita_ivato' : 'prezzo_vendita').' AS prezzo_vendita,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user