[freeside-commits] freeside/httemplate/browse discount.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Fri Jan 29 23:38:34 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv5851/httemplate/browse
Added Files:
discount.html
Log Message:
discounts, RT#6679
--- NEW FILE: discount.html ---
<% include( 'elements/browse.html',
'title' => 'Discounts',
'name' => 'discounts',
'menubar' => [ 'Add a new discount' =>
$p.'edit/discount.html',
],
'query' => { 'table' => 'discount', },
'count_query' => 'SELECT COUNT(*) FROM discount',
'disableable' => 1,
'disabled_statuspos' => 2,
'header' => [ '#', 'Name', 'Discount', ],
'fields' => [ 'discountnum',
'name',
'description',
],
'links' => [ $link,
$link,
],
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my $link = [ "${p}edit/discount.html?", 'discountnum' ];
</%init>
More information about the freeside-commits
mailing list