X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcustomer-table.html;h=aa085c41aa3994482c4bda2cb03b77ce3337c003;hb=12869becc72000bd21be04ddeaf7160217e29bfd;hp=4d9d10213a5a5349ce9ed6f078a2f6cf7e62265f;hpb=b64ad663a0b694d86079c82c80f9de929b2559af;p=freeside.git diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html index 4d9d10213..aa085c41a 100644 --- a/httemplate/elements/customer-table.html +++ b/httemplate/elements/customer-table.html @@ -128,7 +128,7 @@ Example: custnum_obj.value = customerArray[0]; custnum_obj.style.color = '#000000'; customer.value = customerArray[1]; - balance.innerHTML = customerArray[2]; + balance.innerHTML = '<% $money_char %>' + customerArray[2] + ' '; status.innerHTML = customerArray[3]; status.style.color = '#'+customerArray[4]; @@ -205,7 +205,7 @@ Example: custnum_obj.value = customerArray[0]; custnum_obj.style.color = '#000000'; customer.value = customerArray[1]; - balance.innerHTML = customerArray[2]; + balance.innerHTML = '<% $money_char %>' + customerArray[2] + ' '; status.innerHTML = customerArray[3]; status.style.color = '#'+customerArray[4]; @@ -277,7 +277,7 @@ Example: custnum_obj.value = customerArray[0][0]; customer_obj.value = customerArray[0][1]; - balance.innerHTML = customerArray[0][2]; + balance.innerHTML = '<% $money_char %>' + customerArray[0][2] + ' '; status.innerHTML = customerArray[0][3]; status.style.color = '#'+customerArray[0][4]; @@ -345,7 +345,7 @@ Example: var pos_underscore2 = custnum_balance_status.indexOf('_',pos_underscore1+1); var pos_underscore3 = custnum_balance_status.indexOf('_',pos_underscore2+1); var custnum = custnum_balance_status.substring(0,pos_underscore1); - var balance = custnum_balance_status.substring(pos_underscore1+1,pos_underscore2); + var balance = custnum_balance_status.substring(pos_underscore1+1,pos_underscore2) + ' '; var status = custnum_balance_status.substring(pos_underscore2+1,pos_underscore3); var color = custnum_balance_status.substring(pos_underscore3+1); @@ -355,7 +355,7 @@ Example: customer_obj.value = customer; customer_obj.style.color = '#000000'; - balance_obj.innerHTML = balance; + balance_obj.innerHTML = '<% $money_char %>' + balance; status_obj.innerHTML = status; status_obj.style.color = '#'+color; @@ -494,14 +494,14 @@ Example: % $col++; % } -