diff --git a/include/common/riga.php b/include/common/riga.php index 4e10c2de3..cd5f365ba 100755 --- a/include/common/riga.php +++ b/include/common/riga.php @@ -17,6 +17,9 @@ * along with this program. If not, see . */ +$articolo = $database->selectOne('mg_articoli', '*', ['id' => $result['idarticolo']]); +$width = $options['dir'] == 'uscita' && $articolo['fattore_um_secondaria'] ? 3 : 4; + // Descrizione echo App::internalLoad('descrizione.php', $result, $options); @@ -26,21 +29,49 @@ echo App::internalLoad('conti.php', $result, $options); // Iva echo '