[freeside-commits] freeside/httemplate/elements customer-table.html, 1.4.2.3, 1.4.2.4
Erik Levinson
levinse at wavetail.420.am
Sun Jun 5 10:22:51 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20265/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
customer-table.html
Log Message:
quick payment entry improvements, RT8121
Index: customer-table.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/customer-table.html,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -u -w -d -r1.4.2.3 -r1.4.2.4
--- customer-table.html 13 Apr 2011 05:42:39 -0000 1.4.2.3
+++ customer-table.html 5 Jun 2011 17:22:49 -0000 1.4.2.4
@@ -494,12 +494,12 @@
</TD>
% $col++;
% }
- <TD>
+ <TD STYLE="text-align:right;">
+ <% $money_char %>
<SPAN
NAME = "balance<% $row %>"
ID = "balance<% $row %>"
rownum = "<% $row %>"
- STYLE = "text-align:center;"
>
</SPAN>
</TD>
@@ -649,11 +649,12 @@
row.appendChild(customer_cell);
var balance_cell = document.createElement('TD');
+ balance_cell.style.textAlign = 'right';
+ balance_cell.innerHTML = '<% $money_char %>';
var balance_span = document.createElement('SPAN');
balance_span.setAttribute('name', 'balance'+<% $opt{prefix} %>rownum);
balance_span.setAttribute('id', 'balance'+<% $opt{prefix} %>rownum);
- balance_span.style.textAlign = 'center';
balance_span.setAttribute('rownum', <% $opt{prefix} %>rownum);
balance_cell.appendChild(balance_span);
@@ -720,6 +721,7 @@
<%init>
my(%opt) = @_;
+my $conf = new FS::Conf;
$opt{prefix} = '' unless defined $opt{prefix};
$opt{prefix} .= '_' if $opt{prefix};
@@ -740,4 +742,6 @@
'c' => 'center',
);
+my $money_char = $conf->config('money_char') || '$';
+
</%init>
More information about the freeside-commits
mailing list