[freeside-commits] freeside/httemplate/browse usage_class.html, NONE, 1.1 rate_detail.html, 1.4, 1.5
Jeff Finucane,420,,
jeff at wavetail.420.am
Sat Aug 23 14:59:47 PDT 2008
- Previous message: [freeside-commits] freeside/FS/FS usage_class.pm, NONE, 1.1 Mason.pm, 1.2, 1.3 Schema.pm, 1.99, 1.100 Setup.pm, 1.13, 1.14 Upgrade.pm, 1.18, 1.19 rate_detail.pm, 1.8, 1.9
- Next message: [freeside-commits] freeside/httemplate/edit usage_class.html, NONE, 1.1 rate_detail.html, 1.2, 1.3 rate_region.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv1980/httemplate/browse
Modified Files:
rate_detail.html
Added Files:
usage_class.html
Log Message:
add usage classes to rate details
--- NEW FILE: usage_class.html ---
<% include( 'elements/browse.html',
'title' => 'Usage classes',
'html_init' => $html_init,
'name' => 'usage classes',
'disableable' => 1,
'disabled_statuspos' => 2,
'query' => { 'table' => 'usage_class',
'hashref' => {},
'extra_sql' => 'ORDER BY classnum',
},
'count_query' => 'SELECT COUNT(*) FROM usage_class',
'header' => [ '#', 'Class' ],
'fields' => [ 'classnum', 'classname' ],
'links' => [ $link, $link ],
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my $html_init =
'Usage classes define groups of usage for taxation purposes.<BR><BR>'.
qq!<A HREF="${p}edit/usage_class.html"><I>Add a usage class</I></A><BR><BR>!;
my $link = [ $p.'edit/usage_class.html?', 'classnum' ];
</%init>
Index: rate_detail.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/rate_detail.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rate_detail.html 1 Apr 2008 04:19:11 -0000 1.4
+++ rate_detail.html 23 Aug 2008 21:59:45 -0000 1.5
@@ -17,6 +17,7 @@
'Included<BR>minutes',
'Charge per<BR>minute',
'Granularity',
+ 'Usage class',
],
'fields' => [
'regionname',
@@ -28,10 +29,11 @@
' <FONT SIZE="-1">(edit)</FONT>';
},
sub { $granularity{ shift->sec_granularity } },
+ 'classname',
],
- 'links' => [ '', '', $edit_link, $edit_link, '' ],
- 'link_onclicks' => [ '', '', $edit_onclick, $edit_onclick, '' ],
- 'align' => 'llrrc',
+ 'links' => [ '', '', $edit_link, $edit_link, '', '' ],
+ 'link_onclicks' => [ '', '', $edit_onclick, $edit_onclick, '', '' ],
+ 'align' => 'llrrcc',
)
%>
<%once>
- Previous message: [freeside-commits] freeside/FS/FS usage_class.pm, NONE, 1.1 Mason.pm, 1.2, 1.3 Schema.pm, 1.99, 1.100 Setup.pm, 1.13, 1.14 Upgrade.pm, 1.18, 1.19 rate_detail.pm, 1.8, 1.9
- Next message: [freeside-commits] freeside/httemplate/edit usage_class.html, NONE, 1.1 rate_detail.html, 1.2, 1.3 rate_region.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list