summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/appointments.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-18 21:17:44 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-18 21:17:44 -0700
commit3e9a428cbc8abd4af6fea8eb828126519b43198b (patch)
treedb3e5ea4bcf2e111f637dcb90d7ea76e63b50de3 /httemplate/view/cust_main/appointments.html
parent060d8d15ba02f61fa0ddd68a9e55a64ce4dfa089 (diff)
customer view UI
Diffstat (limited to 'httemplate/view/cust_main/appointments.html')
-rw-r--r--httemplate/view/cust_main/appointments.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/appointments.html b/httemplate/view/cust_main/appointments.html
index 9bec7b9ae..f8c1bb686 100644
--- a/httemplate/view/cust_main/appointments.html
+++ b/httemplate/view/cust_main/appointments.html
@@ -20,17 +20,20 @@
%# <A HREF="<% $res_link %>"><% mt('resolved') |h %></A>
<BR>
+%if ( @tickets ) {
<& /elements/table-grid.html &>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+<THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Type') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Date') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Status') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Owner') |h %></TH>
</TR>
+</THEAD>
% foreach my $ticket ( @tickets ) {
% my $href = FS::TicketSystem->href_ticket($ticket->{id});
@@ -69,7 +72,7 @@
% }
</TABLE>
-
+%}
<%init>
my $cust_main = shift;