diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 0ea3cc2..e2708e1 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -561,39 +561,7 @@ foreach($report_stock as $n=>$v) { $rep=new lcsv(i18n($report['name'])); $gen_mode = 'table'; break; -/* - case 'label': - $label_stock = $report_stock[$report['option']['stock']]; - $rep=new lpdf( i18n($config['fairname']), - i18n($report['name']), - $_SERVER['DOCUMENT_ROOT'].$config['SFIABDIRECTORY']."/data/logo.gif"); - $rep->setPageStyle("labels"); - $rep->newPage($label_stock['page_width'], $label_stock['page_height']); - $rep->setFontSize(11); - $rep->setLabelDimensions($label_stock['label_width'], $label_stock['label_height'], - $label_stock['x_spacing'], $label_stock['y_spacing'],11,$label_stock['y_padding']); - $gen_mode = 'label'; - break; - case 'old_pdf': - $label_stock = $report_stock[$report['option']['stock']]; - $rep=new lpdf( i18n($config['fairname']), - i18n($report['name']), - $_SERVER['DOCUMENT_ROOT'].$config['SFIABDIRECTORY']."/data/logo.gif"); - $rep->newPage($label_stock['page_width'], $label_stock['page_height']); - if($report['option']['default_font_size']) { - $rep->setDefaultFontSize($report['option']['default_font_size']); - $rep->setFontSize($report['option']['default_font_size']); - } - else { - $rep->setDefaultFontSize(11); - $rep->setFontSize(11); - } - $gen_mode = 'table'; - if($report['option']['allow_multiline'] == 'yes') - $table['option']['allow_multiline'] = true; - break; -*/ case 'label': case 'tcpdf_label': $label_stock = $report_stock[$report['option']['stock']];