Index: openacs-4/packages/invoices/www/invoice-pdf.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-pdf.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/invoices/www/invoice-pdf.xql 4 Jan 2006 08:06:48 -0000 1.4 +++ openacs-4/packages/invoices/www/invoice-pdf.xql 25 Jan 2006 17:03:52 -0000 1.5 @@ -17,7 +17,7 @@ update cr_items set publish_status = 'live' - where item_id = :file_item_id + where item_id = :one_file @@ -27,7 +27,7 @@ update acs_objects set context_id = :invoice_folder_id - where object_id = :file_item_id + where object_id = :one_file Index: openacs-4/packages/invoices/www/offer-pdf.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-pdf.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/invoices/www/offer-pdf.xql 4 Jan 2006 08:06:48 -0000 1.3 +++ openacs-4/packages/invoices/www/offer-pdf.xql 25 Jan 2006 17:03:52 -0000 1.4 @@ -28,7 +28,7 @@ update cr_items set publish_status = 'live' - where item_id = :file_item_id + where item_id = :file_id @@ -38,7 +38,7 @@ update acs_objects set context_id = :offer_folder_id - where object_id = :file_item_id + where object_id = :file_id