forked from science-ation/science-ation
Remove lpdf setup routines
This commit is contained in:
parent
a2239d84da
commit
8438c48e4b
@ -561,39 +561,7 @@ foreach($report_stock as $n=>$v) {
|
|||||||
$rep=new lcsv(i18n($report['name']));
|
$rep=new lcsv(i18n($report['name']));
|
||||||
$gen_mode = 'table';
|
$gen_mode = 'table';
|
||||||
break;
|
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 'label':
|
||||||
case 'tcpdf_label':
|
case 'tcpdf_label':
|
||||||
$label_stock = $report_stock[$report['option']['stock']];
|
$label_stock = $report_stock[$report['option']['stock']];
|
||||||
|
Loading…
Reference in New Issue
Block a user