X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fprocess%2Ftimeworked.html;h=200a7511d78ea11a72f6f6c2e4b4fad23ff38784;hb=dfba562ff61f541ba7c75f2c02b32951b73aa002;hp=c589d768f66797a7a1980c7efb7477fdf86faeb8;hpb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;p=freeside.git diff --git a/httemplate/misc/process/timeworked.html b/httemplate/misc/process/timeworked.html index c589d768f..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 @@ -45,7 +47,7 @@ foreach my $transaction ( 'custnum' => $customer, 'transaction_id' => $transaction, 'seconds' => $seconds{$customer}, - 'support' => $seconds{$customer} * $msum, + 'support' => int( $seconds{$customer} * $msum ), }; }