[freeside-commits] freeside/httemplate/edit/process did_order.html, NONE, 1.1 did_vendor.html, NONE, 1.1
Erik Levinson
levinse at wavetail.420.am
Sat Feb 12 23:19:46 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv15255/httemplate/edit/process
Added Files:
did_order.html did_vendor.html
Log Message:
bulk DID orders and inventory, RT11291
--- NEW FILE: did_vendor.html ---
<% include( 'elements/process.html',
'table' => 'did_vendor',
'viewall_dir' => 'browse',
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
</%init>
--- NEW FILE: did_order.html ---
<% include( 'elements/process.html',
'table' => 'did_order',
'viewall_dir' => 'browse',
'value_callback' => $value_callback,
)
%>
<%init>
unless($cgi->param('submitted')) {
$cgi->param('submitted',time);
}
my $value_callback = sub {
my ($field, $value) = @_;
($field =~ /ed$/ && $value !~ /^\d+$/) ? parse_datetime($value) : $value;
};
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Import');
</%init>
More information about the freeside-commits
mailing list