cleaned up and put the different payment types into a loop for reuse.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@100 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-12 02:35:13 +00:00
parent c80c66d958
commit 839d9c1697
2 changed files with 48 additions and 161 deletions

File diff suppressed because one or more lines are too long

View File

@@ -92,7 +92,7 @@ function addDiv(id_name, div_name, into_div_name, flash, html, script) {
("$2" == "" ? "$2" : 'remove') + '</A>' + '</SPAN>') +
'</DIV>';
if (script != "") {
if (script) {
html += '<SCRIPT TYPE="text/javascript">';
html += script.replace(/%{id}/g, id);
html += '</SCRIPT>';