From c3061608fd6f3a595f5874dd464d235a00896b0f Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Wed, 23 Mar 2022 17:25:12 +0100 Subject: [PATCH] Fix stampa etichette --- modules/articoli/bulk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/articoli/bulk.php b/modules/articoli/bulk.php index caa4d17ba..098d72fbd 100644 --- a/modules/articoli/bulk.php +++ b/modules/articoli/bulk.php @@ -134,7 +134,7 @@ switch (post('op')) { $_SESSION['superselect']['id_articolo_barcode'] = $id_records; $id_print = Prints::getPrints()['Barcode']; - redirect(base_path().'/pdfgen.php?id_print='.$id_print.'&id_record='.Articolo::where('barcode', '!=', '')->first()->id); + redirect(base_path().'/pdfgen.php?id_print='.$id_print.'&id_record='.Articolo::where('codice', '!=', '')->first()->id); exit(); break;