Index: openacs-4/packages/invoices/www/invoice-pay.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-pay.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/invoices/www/invoice-pay.xql 12 Oct 2005 23:11:27 -0000 1.2 +++ openacs-4/packages/invoices/www/invoice-pay.xql 9 Dec 2005 18:26:33 -0000 1.3 @@ -23,6 +23,7 @@ where invoice_id = (select latest_revision from cr_items where item_id = :inv_id) + and status = 'billed'