projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
selfservice priority sort order, #14029
[freeside.git]
/
httemplate
/
misc
/
process
/
timeworked.html
diff --git
a/httemplate/misc/process/timeworked.html
b/httemplate/misc/process/timeworked.html
index
c589d76
..
200a751
100644
(file)
--- 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 {
% 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');
% }
<%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
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},
'custnum' => $customer,
'transaction_id' => $transaction,
'seconds' => $seconds{$customer},
- 'support' =>
$seconds{$customer} * $msum
,
+ 'support' =>
int( $seconds{$customer} * $msum )
,
};
}
};
}