projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix linking of new customer contact to an existing email address, #25536
[freeside.git]
/
httemplate
/
elements
/
table-tickets.html
diff --git
a/httemplate/elements/table-tickets.html
b/httemplate/elements/table-tickets.html
index
ffcaf06
..
d722c9d
100644
(file)
--- a/
httemplate/elements/table-tickets.html
+++ b/
httemplate/elements/table-tickets.html
@@
-5,11
+5,14
@@
View
<A HREF="<% $res_link %>"><% mt('resolved') |h %></A>
<BR>
<A HREF="<% $res_link %>"><% mt('resolved') |h %></A>
<BR>
+% if ( @tickets ) {
+
<& /elements/table-grid.html &>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
<& /elements/table-grid.html &>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+<THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('#') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Subject') |h %></TH>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('#') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Subject') |h %></TH>
@@
-26,6
+29,7
@@
View
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Service') |h %></TH>
% }
</TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Service') |h %></TH>
% }
</TR>
+</THEAD>
% foreach my $ticket ( @tickets ) {
% my $href = FS::TicketSystem->href_ticket($ticket->{id});
% foreach my $ticket ( @tickets ) {
% my $href = FS::TicketSystem->href_ticket($ticket->{id});
@@
-91,6
+95,8
@@
View
% }
% }
+%}
+
</TABLE>
<%init>
</TABLE>
<%init>
@@
-153,7
+159,7
@@
if ( $ss_priority ) {
my $format = $conf->config('date_format') || '%Y-%m-%d';
my $date_formatter = sub {
my $format = $conf->config('date_format') || '%Y-%m-%d';
my $date_formatter = sub {
- my $time =
str2
time($_[0], 'GMT');
+ my $time =
parse_date
time($_[0], 'GMT');
# exclude times within 24 hours of zero
($time > 86400) ? time2str($format, $time) : '';
};
# exclude times within 24 hours of zero
($time > 86400) ? time2str($format, $time) : '';
};