summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2009-11-24 07:42:28 +0000
committerivan <ivan>2009-11-24 07:42:28 +0000
commitbaf61fc521e1b97d56c45d7ecb5901024d0f9cf4 (patch)
tree329730ac5d0d804a940ec5bc1e7e706051475907 /httemplate/misc/process
parent1c478456e58dc554ff08e06a8d419f32c82c6529 (diff)
timeworked report: carry the date range through to the success redirect
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/timeworked.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/process/timeworked.html b/httemplate/misc/process/timeworked.html
index 860118e0c..200a7511d 100644
--- a/httemplate/misc/process/timeworked.html
+++ b/httemplate/misc/process/timeworked.html
@@ -1,13 +1,15 @@
% if ($error) {
<% $cgi->redirect(popurl(2). "timeworked.html?". $cgi->query_string) %>
% } else {
-<% $cgi->redirect(popurl(3). "search/timeworked.html") %>
+<% $cgi->redirect(popurl(3). "search/timeworked.html?begin=$begin;end=$end") %>
% }
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Time queue');
+my($begin, $end) = FS::UI::Web::parse_beginning_ending($cgi);
+
my @acct_rt_transaction;
foreach my $transaction (
map { /^transactionid(\d+)$/; $1; } grep /^transactionid\d+$/, $cgi->param