- Fix the paper type in system report 44

- Add 2 new paper types (Ledger 11x17 + landscape)
This commit is contained in:
dave 2008-01-25 05:31:27 +00:00
parent 6a2683d92d
commit fddce24de3
3 changed files with 29 additions and 2 deletions

View File

@ -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() );

View File

@ -1 +1 @@
101
102

4
db/db.update.102.sql Normal file
View File

@ -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;