[freeside-commits] freeside/httemplate/elements table-grid.html,
NONE, 1.1 select-agent.html, NONE, 1.1 tr-select-agent.html,
NONE, 1.1 tr-input-beginning_ending.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Wed Dec 21 20:01:19 PST 2005
- Previous message: [freeside-commits] freeside/httemplate/search report_tax.cgi, 1.22,
1.23 cust_bill_pkg.cgi, NONE, 1.1 report_tax.html, 1.6,
1.7 report_cust_pay.html, 1.9, 1.10 report_cust_credit.html,
1.5, 1.6 report_cust_bill.html, 1.1, 1.2 cust_pkg_report.cgi,
1.2, 1.3 cust_bill_event.html, 1.7, 1.8
- Next message: [freeside-commits] freeside/httemplate/search/elements search.html,
1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv21339/httemplate/elements
Added Files:
table-grid.html select-agent.html tr-select-agent.html
tr-input-beginning_ending.html
Log Message:
tax report update, link to new line item report, per-agent tax reporting
--- NEW FILE: select-agent.html ---
<%
my( $agentnum, %opt ) = @_;
my @agents;
if ( $opt{'agents'} ) {
@agents = @{ $opt{'agents'} };
} else {
@agents = qsearch( 'agent', { disabled=>'' } );
}
%>
<SELECT NAME="agentnum">
<OPTION VALUE="">all</OPTION>
<% foreach my $agent ( sort { $a->agent cmp $b->agent } @agents ) { %>
<OPTION VALUE="<%= $agent->agentnum %>"<%= $agentnum == $agent->agentnum ? ' SELECTED' : '' %>><%= $agent->agent %>
<% } %>
</SELECT>
--- NEW FILE: tr-input-beginning_ending.html ---
<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
<TR>
<TD ALIGN="right">From: </TD>
<TD><INPUT TYPE="text" NAME="beginning" ID="beginning_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="beginning_button" STYLE="cursor: pointer" TITLE="Select date"><BR><i>m/d/y</i></TD>
<SCRIPT TYPE="text/javascript">
Calendar.setup({
inputField: "beginning_text",
ifFormat: "%m/%d/%Y",
button: "beginning_button",
align: "BR"
});
</SCRIPT>
</TR>
<TR>
<TD ALIGN="right">To: </TD>
<TD><INPUT TYPE="text" NAME="ending" ID="ending_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="ending_button" STYLE="cursor: pointer" TITLE="Select date"><BR><i>m/d/y</i></TD>
<SCRIPT TYPE="text/javascript">
Calendar.setup({
inputField: "ending_text",
ifFormat: "%m/%d/%Y",
button: "ending_button",
align: "BR"
});
</SCRIPT>
</TR>
<TR>
<TD></TD>
<TD>
<FONT SIZE="-1">(leave one or both dates blank for an open-ended search)</FONT>
</TD>
</TR>
--- NEW FILE: tr-select-agent.html ---
<%
my( $agentnum, %opt ) = @_;
my @agents;
if ( $opt{'agents'} ) {
@agents = @{ $opt{'agents'} };
} else {
@agents = qsearch( 'agent', { disabled=>'' } );
}
%>
<% if ( scalar(@agents) == 1 ) { %>
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agents[0]->agentnum %>">
<% } else { %>
<TR>
<TD ALIGN="right"><%= $opt{'label'} || 'Agent: ' %></TD>
<TD>
<%= include( '/elements/select-agent.html', $agentnum,
'agents' => \@agents,
)
%>
</TD>
</TR>
<% } %>
--- NEW FILE: table-grid.html ---
<STYLE TYPE="text/css">
.grid table { border: solid; empty-cells: show }
.grid TH { padding-left: 3px; padding-right: 3px; border: 1px solid #dddddd; border-bottom: dashed 1px black; border-right: none }
.grid TD { padding-left: 3px; padding-right: 3px; empty-cells: show; border: 1px solid #cccccc; border-bottom: none; border-right: none }
</STYLE>
<TABLE CLASS="grid" CELLSPACING=0 CELLPADDING=0 BORDER=1 BORDERCOLOR="#000000" STYLE="border: solid 1px black; empty-cells: show">
- Previous message: [freeside-commits] freeside/httemplate/search report_tax.cgi, 1.22,
1.23 cust_bill_pkg.cgi, NONE, 1.1 report_tax.html, 1.6,
1.7 report_cust_pay.html, 1.9, 1.10 report_cust_credit.html,
1.5, 1.6 report_cust_bill.html, 1.1, 1.2 cust_pkg_report.cgi,
1.2, 1.3 cust_bill_event.html, 1.7, 1.8
- Next message: [freeside-commits] freeside/httemplate/search/elements search.html,
1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list