summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/invoice_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/invoice_template.html')
-rw-r--r--httemplate/edit/process/invoice_template.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/edit/process/invoice_template.html b/httemplate/edit/process/invoice_template.html
new file mode 100644
index 0000000..6c9371a
--- /dev/null
+++ b/httemplate/edit/process/invoice_template.html
@@ -0,0 +1,15 @@
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my $conf = new FS::Conf;
+
+my $confname = $cgi->param('confname');
+my $value = $cgi->param('value');
+
+$conf->set($confname, $value);
+
+$cgi->redirect(popurl(3). 'browse/invoice_template.html');
+
+</%init>