forked from science-ation/science-ation
- Fix report stock when the report stock keys were updated
- Add a missing stock number - Fix a report where distinct was missing
This commit is contained in:
parent
984c9776ef
commit
49a19c9d44
@ -172,7 +172,7 @@ LRP 180 99765 5967 4 1 3/4 x 1/2 80 */
|
||||
);
|
||||
*/
|
||||
|
||||
$report_stock['5164'] = array('name' => 'Avery 5164/5264/8164, G&T 99763 (4"x3 1/3")',
|
||||
$report_stock['5164'] = array('name' => 'Avery 5164/5264/5964/8164, G&T 99763 (4"x3 1/3")',
|
||||
'page_width' => 8.5,
|
||||
'page_height' => 11,
|
||||
'label_width' => 4,
|
||||
|
@ -1 +1 @@
|
||||
85
|
||||
86
|
||||
|
8
db/db.update.86.sql
Normal file
8
db/db.update.86.sql
Normal file
@ -0,0 +1,8 @@
|
||||
SELECT @id:=id FROM reports WHERE system_report_id='19';
|
||||
INSERT INTO `reports_items` ( `id` , `reports_id` , `type` , `ord` , `field` , `value` , `x` , `y` , `w` , `h` , `lines` , `face` , `align`) VALUES
|
||||
( NULL , @id, 'distinct', '0', 'pn', '', '0', '0', '0', '0', '0', '', '');
|
||||
|
||||
UPDATE reports_items SET value='fullpage' WHERE field='stock' AND value='letter';
|
||||
UPDATE reports_items SET value='5164' WHERE field='stock' AND value='5964';
|
||||
UPDATE reports_items SET value='5161' WHERE field='stock' AND value='5961';
|
||||
|
Loading…
Reference in New Issue
Block a user