projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f3c8af
)
add a new ticket link
author
ivan
<ivan>
Fri, 15 Dec 2006 20:55:31 +0000
(20:55 +0000)
committer
ivan
<ivan>
Fri, 15 Dec 2006 20:55:31 +0000
(20:55 +0000)
httemplate/elements/dashboard-toplist.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/dashboard-toplist.html
b/httemplate/elements/dashboard-toplist.html
index
5b8c524
..
7ee6f2d
100644
(file)
--- a/
httemplate/elements/dashboard-toplist.html
+++ b/
httemplate/elements/dashboard-toplist.html
@@
-23,6
+23,10
@@
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
<A HREF="view/cust_main.cgi?<% $custnum %>"><% $cust_main->name %></A>
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
<A HREF="view/cust_main.cgi?<% $custnum %>"><% $cust_main->name %></A>
</TD>
+ <TD CLASS="grid" BGCOLOR="<% $bgcolor %>" ALIGN="right">
+ <FONT SIZE="-1"><A HREF="<% FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">(new ticket)</A></FONT>
+ </TD>
+
% foreach my $priority ( @custom_priorities, '' ) {
% my $num =
% FS::TicketSystem->num_customer_tickets($custnum,$priority);
% foreach my $priority ( @custom_priorities, '' ) {
% my $num =
% FS::TicketSystem->num_customer_tickets($custnum,$priority);
@@
-51,7
+55,7
@@
% } elsif ( $line =~ /^\-\-+$/ ) { #divider
%
<TR>
% } elsif ( $line =~ /^\-\-+$/ ) { #divider
%
<TR>
- <TH CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
2
%>"></TH>
+ <TH CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
3
%>"></TH>
</TR>
% next;
</TR>
% next;
@@
-59,13
+63,14
@@
% } elsif ( $line =~ /^\s*$/ ) {
<TR>
% } elsif ( $line =~ /^\s*$/ ) {
<TR>
- <TD CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
2
%>" BGCOLOR="<% $bgcolor %>"> </TD>
+ <TD CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
3
%>" BGCOLOR="<% $bgcolor %>"> </TD>
</TR>
% } elsif ( $line =~ /^\S/ ) { #label line
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% $line %></TH>
</TR>
% } elsif ( $line =~ /^\S/ ) { #label line
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% $line %></TH>
+ <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
% foreach my $priority ( @custom_priorities, '' ) {
<TH CLASS="grid" BGCOLOR="#cccccc">
<% $priority || '<i>(none)</i>'%>
% foreach my $priority ( @custom_priorities, '' ) {
<TH CLASS="grid" BGCOLOR="#cccccc">
<% $priority || '<i>(none)</i>'%>
@@
-76,7
+81,7
@@
% } else { #regular line
<TR>
% } else { #regular line
<TR>
- <TD CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
2
%>" BGCOLOR="<% $bgcolor %>"><% $line %></TD>
+ <TD CLASS="grid" COLSPAN="<% scalar(@custom_priorities) +
3
%>" BGCOLOR="<% $bgcolor %>"><% $line %></TD>
</TR>
% }
</TR>
% }