summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_bill-promised_date.html
diff options
context:
space:
mode:
authormark <mark>2011-12-08 21:13:58 +0000
committermark <mark>2011-12-08 21:13:58 +0000
commit3ab9b93b970353bfddc44b65bbb79d3aa586ded7 (patch)
treeb231b2928de907b5aa09b15e5159d76029b8e3e4 /httemplate/misc/cust_bill-promised_date.html
parent5df49c99a8c9cb241910b2cf262d19bdbae1f612 (diff)
promised payment date for invoices, #13554
Diffstat (limited to 'httemplate/misc/cust_bill-promised_date.html')
-rw-r--r--httemplate/misc/cust_bill-promised_date.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/misc/cust_bill-promised_date.html b/httemplate/misc/cust_bill-promised_date.html
new file mode 100644
index 000000000..7b7b9601d
--- /dev/null
+++ b/httemplate/misc/cust_bill-promised_date.html
@@ -0,0 +1,19 @@
+<& /elements/header-popup.html, 'Edit promised date' &>
+<FORM method="POST" action="process/cust_bill-promised_date.html">
+<B><% emt('Invoice #[_1]', $invnum) %></B><BR>
+<% ntable('cccccc',2) %>
+<INPUT TYPE="hidden" NAME="invnum" VALUE="<%$invnum%>">
+<& /elements/tr-input-date-field.html,
+ 'promised_date',
+ $cust_bill->promised_date,
+ emt('Promised date'),
+&>
+</TABLE>
+<INPUT TYPE="submit" NAME="submit" VALUE="<% emt('Set date') %>">
+</FORM>
+<& /elements/footer.html &>
+<%init>
+my ($invnum) = $cgi->keywords;
+$invnum =~ /^\d+$/ or die "Illegal invnum";
+my $cust_bill = qsearchs('cust_bill', { invnum => $invnum });
+</%init>