X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcustomer-table.html;h=12b192e8cb4bf95154fcbe1576890496b9f33980;hb=5b0df166c22e13eba83fabee858846ead6a54141;hp=25c26b584a926f33beabb20b997cdb6b30130a7b;hpb=f7b5454b52807d21d563db95a5da3a6ed0bddb25;p=freeside.git diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html index 25c26b584..12b192e8c 100644 --- a/httemplate/elements/customer-table.html +++ b/httemplate/elements/customer-table.html @@ -108,6 +108,9 @@ and probably should be cleaned up more before being used by anything else. var customer = document.getElementById('customer'+searchrow); var customer_select = document.getElementById('cust_select'+searchrow); + var postPaymentBtn = document.getElementById('btnsubmit'); + postPaymentBtn.disabled = false; + display_custnum_obj.disabled = false; display_custnum_obj.style.backgroundColor = '#ffffff'; customer.disabled = false; @@ -331,6 +334,9 @@ and probably should be cleaned up more before being used by anything else. custnum_obj.value = 'Multiple'; // or something custnum_obj.style.color = '#ff0000'; + var postPaymentBtn = document.getElementById('btnsubmit'); + postPaymentBtn.disabled = true; + //blank the current list customer_select.options.length = 0; @@ -634,6 +640,7 @@ and probably should be cleaned up more before being used by anything else. var my_cell = document.createElement('TD'); my_cell.setAttribute('align', '<% $align{ $opt{align}->[$col] || 'l' } %>'); + my_cell.style.whiteSpace = 'nowrap'; % if ($opt{'color'}->[$col]) { my_cell.style.color = '<% $opt{color}->[$col] %>'; % } @@ -661,6 +668,7 @@ and probably should be cleaned up more before being used by anything else. my_input_button.setAttribute('title', <% mt('Select date') |js_string %>); my_input_button.setAttribute('name', '<% $name %>'+thisrownum+'button'); my_input_button.setAttribute('id', '<% $name %>'+thisrownum+'button'); + my_input_button.style.verticalAlign = 'top'; % } my_input.value = (values && values.<% $field %>) || ''; % if ( $opt{onchange}->[$col] ) { @@ -726,7 +734,7 @@ and probably should be cleaned up more before being used by anything else. Customer Balance % foreach my $header ( @{$opt{header}} ) { - <% $header %> + <% $header %> % }