summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-input-money.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-input-money.html')
-rw-r--r--httemplate/elements/tr-input-money.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/elements/tr-input-money.html b/httemplate/elements/tr-input-money.html
new file mode 100644
index 0000000..8801419
--- /dev/null
+++ b/httemplate/elements/tr-input-money.html
@@ -0,0 +1,13 @@
+<% include('tr-input-text.html', @_,
+ 'type' => 'text',
+ 'prefix' => $money_char,
+ 'size' => 8,
+ )
+%>
+<%once>
+
+my $conf = new FS::Conf;
+my $money_char = $conf->config('money_char') || '$';
+
+</%once>
+