Index: openacs-4/packages/invoices/tcl/invoices-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/tcl/invoices-callback-procs.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/invoices/tcl/invoices-callback-procs.tcl 7 Apr 2006 13:46:37 -0000 1.15 +++ openacs-4/packages/invoices/tcl/invoices-callback-procs.tcl 10 Apr 2006 14:14:20 -0000 1.16 @@ -143,6 +143,12 @@ } } +ad_proc -public -callback iv::offer_send_form { + {-offer_id:required} + {-project_id:required} +} { +} + ad_proc -public -callback iv::offer_accept { {-offer_id:required} } { Index: openacs-4/packages/invoices/www/offer-accept-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-accept-2.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/invoices/www/offer-accept-2.tcl 10 Apr 2006 11:26:02 -0000 1.13 +++ openacs-4/packages/invoices/www/offer-accept-2.tcl 10 Apr 2006 14:14:20 -0000 1.14 @@ -35,6 +35,8 @@ set offer_text [lindex $documents 0] +callback iv::offer_send_form -offer_id $offer_id -project_id $project_id + set invoice_url [site_node::get_package_url -package_key invoices] set cancel_url [export_vars -base "${invoice_url}offer-ae" {offer_id {mode display} return_url}] Index: openacs-4/packages/invoices/www/offer-send.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-send.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/invoices/www/offer-send.tcl 10 Apr 2006 11:26:01 -0000 1.21 +++ openacs-4/packages/invoices/www/offer-send.tcl 10 Apr 2006 14:14:20 -0000 1.22 @@ -47,6 +47,8 @@ set file_title [lang::util::localize "#invoices.file_offer_accepted#_${offer_nr}.pdf" $locale] } +callback iv::offer_send_form -offer_id $offer_id -project_id $project_id + set invoice_url [site_node::get_package_url -package_key invoices] set cancel_url [export_vars -base "${invoice_url}offer-ae" {offer_id {mode display} return_url}]