Index: openacs-4/packages/invoices/www/invoice-ae.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-ae.tcl,v
diff -u -r1.45 -r1.46
--- openacs-4/packages/invoices/www/invoice-ae.tcl 5 Apr 2018 14:44:09 -0000 1.45
+++ openacs-4/packages/invoices/www/invoice-ae.tcl 25 Jan 2024 12:25:51 -0000 1.46
@@ -271,6 +271,10 @@
} else {
# we are adding/editing data
+
+ ::template::head::add_javascript \
+ -src /resources/acs-templating/calendar.js
+
ad_form -extend -name iv_invoice_form -form {
{currency:text(select) {mode display} {label "[_ invoices.iv_invoice_currency]"} {options $currency_options} {help_text "[_ invoices.iv_invoice_currency_help]"}}
{due_date:text,optional {label "[_ invoices.iv_invoice_due_date]"} {html {size 12 maxlength 10 id sel1}} {help_text "[_ invoices.iv_invoice_due_date_help]"} {after_html { \[y-m-d \]}}}