diff options
author | levinse <levinse> | 2011-04-06 08:24:27 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-04-06 08:24:27 +0000 |
commit | 31f2e890b5b3e1b0ad29a877ff67bc641ea1fc40 (patch) | |
tree | 1cf3150f90efb5f0cf97055743ba0d22e47b3713 /httemplate/edit/process/did_order.html | |
parent | 2daf4c6c460e66d67839ad48f4b050be181e109f (diff) |
bulk DID order/inventory improvements, RT11291
Diffstat (limited to 'httemplate/edit/process/did_order.html')
-rw-r--r-- | httemplate/edit/process/did_order.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/process/did_order.html b/httemplate/edit/process/did_order.html index 0c9a3f0e0..e5948ff0b 100644 --- a/httemplate/edit/process/did_order.html +++ b/httemplate/edit/process/did_order.html @@ -2,6 +2,10 @@ 'table' => 'did_order', 'viewall_dir' => 'browse', 'value_callback' => $value_callback, + 'process_o2m' => { + 'table' => 'did_order_item', + 'fields' => \@item_fields, + }, ) %> <%init> @@ -15,6 +19,8 @@ my $value_callback = sub { ($field =~ /ed$/ && $value !~ /^\d+$/) ? parse_datetime($value) : $value; }; +my @item_fields = qw( msa npa latanum rate_center state quantity ); + die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Import'); |