From 47208f7694a6ec1cb979d7d0da7848dfe0e0aa7b Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 22 Apr 2004 07:07:30 +0000 Subject: initial copy from report_cust_pay.html --- httemplate/search/report_cust_credit.html | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 httemplate/search/report_cust_credit.html (limited to 'httemplate/search/report_cust_credit.html') diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html new file mode 100644 index 0000000..1b30685 --- /dev/null +++ b/httemplate/search/report_cust_credit.html @@ -0,0 +1,54 @@ + + + Payment report criteria + + + + + + +

Payment report criteria

+
+ + + + + + + + + + + + + + + +
Payments of type: +
From:
m/d/y
To:
m/d/y
+
+
+ + -- cgit v1.1 From 87227cd405166484ca7b791b2bd3c8829ce8d969 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 23 Apr 2004 12:19:40 +0000 Subject: credit report, add some links to sales/credits/receipts summary, move payment search to template --- httemplate/search/report_cust_credit.html | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'httemplate/search/report_cust_credit.html') diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 1b30685..8a0f0ed 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -1,26 +1,29 @@ - Payment report criteria + Credit report criteria -

Payment report criteria

-
+

Credit report criteria

+ - - +<% + my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit") + or die dbh->errstr; + $sth->execute or die $sth->errstr; + my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref}; +%> + -- cgit v1.1 From 470c3559d5077d2db4779610bbd798d58eaec27f Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 22 Sep 2004 11:28:13 +0000 Subject: add missing tags --- httemplate/search/report_cust_credit.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/search/report_cust_credit.html') diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html index 8a0f0ed..ceffca7 100644 --- a/httemplate/search/report_cust_credit.html +++ b/httemplate/search/report_cust_credit.html @@ -39,6 +39,7 @@ }); +
Payments of type: Credits by employee:
To:
m/d/y