forked from science-ation/science-ation
Only show the label layout if the type is label
This commit is contained in:
parent
2cebd4dc9f
commit
3d30262af5
@ -390,11 +390,11 @@ function createData(x,y,w,h,l,face,align,valign,value) {
|
|||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
||||||
echo "<h4>Label Data Locations</h4>";
|
|
||||||
|
|
||||||
$l_w=$report_stock[$report['option']['stock']]['label_width'];
|
$l_w=$report_stock[$report['option']['stock']]['label_width'];
|
||||||
$l_h=$report_stock[$report['option']['stock']]['label_height'];
|
$l_h=$report_stock[$report['option']['stock']]['label_height'];
|
||||||
if($l_w && $l_h) {
|
if($l_w && $l_h && $report['option']['type']=="label") {
|
||||||
|
echo "<h4>Label Data Locations</h4>";
|
||||||
|
|
||||||
$doCanvasSample=true;
|
$doCanvasSample=true;
|
||||||
$ratio=$l_h/$l_w;
|
$ratio=$l_h/$l_w;
|
||||||
$canvaswidth=600;
|
$canvaswidth=600;
|
||||||
|
Loading…
Reference in New Issue
Block a user