diff options
author | ivan <ivan> | 2010-10-20 02:07:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-10-20 02:07:02 +0000 |
commit | a8e4b1744a6bbd2e1509b58e73b1d52751563880 (patch) | |
tree | 77ffb2638f193f748c36423d1dabd65ee81d6d8a /httemplate/view/cust_main.cgi | |
parent | 633510de5405b966d160ab95ad396bc601764603 (diff) |
customer merging, RT#10247
Diffstat (limited to 'httemplate/view/cust_main.cgi')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index b4a6170c5..0f9c1e250 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -64,6 +64,22 @@ function areyousure(href, message) { % } +% if ( $curuser->access_right('Merge customer') ) { + + <% include( '/elements/popup_link-cust_main.html', + { 'action' => $p. 'misc/merge_cust.html', + 'label' => 'Merge this customer', + 'actionlabel' => 'Merge customer', + #'color' => '#ff0000', + 'cust_main' => $cust_main, + 'width' => 480, + 'height' => 192, + } + ) + %> | + +% } + % if ( $conf->exists('deletecustomers') % && $curuser->access_right('Delete customer') % ) { |