X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fappointments.html;h=f8c1bb68655a4c4b3bcf1fec6edabe33993912b2;hp=9bec7b9ae0e802bcbc8ca19afd92f89187644254;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hpb=060d8d15ba02f61fa0ddd68a9e55a64ce4dfa089
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 @@
%# <% mt('resolved') |h %>
+%if ( @tickets ) {
<& /elements/table-grid.html &>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+
<% mt('Type') |h %> |
<% mt('Date') |h %> |
<% mt('Status') |h %> |
<% mt('Owner') |h %> |
+
% foreach my $ticket ( @tickets ) {
% my $href = FS::TicketSystem->href_ticket($ticket->{id});
@@ -69,7 +72,7 @@
% }
-
+%}
<%init>
my $cust_main = shift;