X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_main_note-import.cgi;h=2e7dc8b655c6fb4274f7c3a59aaa5e82a9f154d6;hp=79fdd09ff8537071481969cebbdbf11266990eb0;hb=7d80f005462758e0271215240cdf99a9336f03dd;hpb=0d75dc389fccdb680237aa1e244e13d254d12f02 diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi index 79fdd09ff..2e7dc8b65 100644 --- a/httemplate/misc/cust_main_note-import.cgi +++ b/httemplate/misc/cust_main_note-import.cgi @@ -49,8 +49,8 @@ if ( customerArray.length == 0 ) { custnum_obj.value = 'Not found'; custnum_obj.style.color = '#ff0000'; - } else if ( customerArray.length == 3 ) { - var name = customerArray[1]; + } else if ( customerArray.length >= 5 ) { + var name = customerArray[1]; opt(customer_select,custnum,name,'#000000'); customer_select.selectedIndex = customer_select.length - 1; custnum_obj.value = custnum; @@ -164,7 +164,7 @@ % my $i=0; % foreach (@cust_main) { - + % $i++; % } @@ -172,15 +172,15 @@ var customer_select<% $row %> = document.getElementById("cust_select<% $row %>"); customer_select<% $row %>.onchange = select_customer; - + - <% $first %> - + <% $first |h %> + - <% $last %> - + <% $last |h %> + <% $note %>