X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fdid_vendor.html;fp=httemplate%2Fbrowse%2Fdid_vendor.html;h=04904ec63e6f0a5fbaa9638302d890d1e36404a3;hb=e356f2ebb6564fe8d5333fc89bb4583ee3cd1fb1;hp=0000000000000000000000000000000000000000;hpb=5226903b423e42e7e8ee135b2b445d362241102a;p=freeside.git diff --git a/httemplate/browse/did_vendor.html b/httemplate/browse/did_vendor.html new file mode 100644 index 000000000..04904ec63 --- /dev/null +++ b/httemplate/browse/did_vendor.html @@ -0,0 +1,32 @@ +<% include( 'elements/browse.html', + 'title' => 'Bulk DID Vendors', + 'html_init' => $html_init, + 'name' => 'bulk DID vendors', + 'disableable' => 0, + 'query' => { 'table' => 'did_vendor', + 'hashref' => {}, + 'order_by' => 'ORDER BY vendornum', + }, + 'count_query' => $count_query, + 'header' => $header, + 'fields' => $fields, + 'links' => $links, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $html_init = + qq!Add a bulk DID vendor

!; + +my $count_query = 'SELECT COUNT(*) FROM did_vendor'; + +my $link = [ $p.'edit/did_vendor.html?', 'vendornum' ]; + +my $header = [ '#', 'Vendor' ]; +my $fields = [ 'vendornum', 'vendorname' ]; +my $links = [ $link, $link ]; + +