a few more fixups for our favorite include(...) from Scott Edwards
authorivan <ivan>
Sun, 9 Apr 2006 23:41:01 +0000 (23:41 +0000)
committerivan <ivan>
Sun, 9 Apr 2006 23:41:01 +0000 (23:41 +0000)
httemplate/view/cust_main.cgi
httemplate/view/cust_main/payment_history.html
httemplate/view/cust_main/tickets.html

index 082a93b..58f2925 100755 (executable)
@@ -12,7 +12,8 @@ foreach my $part_svc ( qsearch('part_svc',{}) ) {
 
 %>
 
-<%= include("/elements/header.html","Customer View", menubar(
+<%= include("/elements/header.html","Customer View", 
+       include("/elements/menubar.html",
   'Main Menu' => $p,
 )) %>
 
index ec99b8c..a0bec39 100644 (file)
@@ -358,7 +358,7 @@ foreach my $cust_refund ($cust_main->cust_refund) {
 
 %>
 
-<%= table() %>
+<%= include("/elements/table.html") %>
 <TR>
   <TH>Date</TH>
   <TH>Description</TH>
index 72d6815..5c1d94e 100644 (file)
@@ -31,7 +31,7 @@
 Highest priority tickets
 (<A HREF="<%= FS::TicketSystem->href_customer_tickets($cust_main->custnum) %>">View all tickets for this customer</A>)
 (<A HREF="<%= FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">New ticket for this customer</A>)
-<%= table() %>
+<%= include("/elements/table.html") %>
 <TR>
   <TH>#</TH>
   <TH>Subject</TH>