diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 07c1469..cbdd83c 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -193,7 +193,7 @@ LRP 180 99765 5967 4 1 3/4 x 1/2 80 */ 'rows' => 3, ); - $report_stock['nametag'] = array('name' => 'Fullpage, 4up', + $report_stock['letter_4up'] = array('name' => 'Fullpage, 4up', 'page_width' => 8.5, 'page_height' => 11, 'label_width' => 4, @@ -204,6 +204,29 @@ LRP 180 99765 5967 4 1 3/4 x 1/2 80 */ 'rows' => 2, ); + $report_stock['ledger'] = array('name' => 'Ledger/Tabloid 11 x 17', + 'page_width' => 11, + 'page_height' => 17, + 'label_width' => 11, + 'x_spacing' => 0, + 'cols' => 1, + 'label_height' => 17, + 'y_spacing' => 0, + 'rows' => 1, + ); + + $report_stock['ledger_landscape'] = array('name' => 'Ledger/Tabloid 11 x 17 Landscape', + 'page_width' => 17, + 'page_height' => 11, + 'label_width' => 17, + 'x_spacing' => 0, + 'cols' => 1, + 'label_height' => 11, + 'y_spacing' => 0, + 'rows' => 1, + ); + + $report_options['stock'] = array('desc' => "Paper Type", 'values' => array() ); diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 398050c..257e563 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -101 +102 diff --git a/db/db.update.102.sql b/db/db.update.102.sql new file mode 100644 index 0000000..57a4f91 --- /dev/null +++ b/db/db.update.102.sql @@ -0,0 +1,4 @@ +SELECT @id:=id FROM reports WHERE system_report_id='44'; +UPDATE reports_items SET `value`='letter_4up' WHERE `field`='stock' AND `reports_id`=@id; + +