Index: openacs-4/packages/invoices/www/invoice-credit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-credit.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/invoices/www/invoice-credit.tcl 24 May 2006 09:40:38 -0000 1.6 +++ openacs-4/packages/invoices/www/invoice-credit.tcl 25 Jan 2024 12:25:52 -0000 1.7 @@ -44,6 +44,9 @@ category::ad_form::add_widgets -container_object_id $container_objects(invoice_id) -categorized_object_id $_invoice_id -form_name iv_invoice_credit_form } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name iv_invoice_credit_form -form { {invoice_nr:text {label "[_ invoices.iv_credit_invoice_nr]"} {html {size 80 maxlength 200}} {help_text "[_ invoices.iv_credit_invoice_nr_help]"}} {currency:text(select) {mode display} {label "[_ invoices.iv_invoice_currency]"} {options $currency_options} {help_text "[_ invoices.iv_invoice_currency_help]"}}