summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-11-08 16:47:13 -0800
committerMark Wells <mark@freeside.biz>2013-11-08 16:47:13 -0800
commit3b172c8a7b7ca97bd71671dc358f29c5116948da (patch)
treea85f5037fb0d9490376d59ce684fefec51905f47 /httemplate/edit/cust_main
parent8adb2ffe88bff5cc7e9a62c113ff81c2662ae0eb (diff)
option to make ship_company field available again, #25782
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r--httemplate/edit/cust_main/before_ship_location.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/before_ship_location.html b/httemplate/edit/cust_main/before_ship_location.html
new file mode 100644
index 000000000..badb5e8cd
--- /dev/null
+++ b/httemplate/edit/cust_main/before_ship_location.html
@@ -0,0 +1,13 @@
+% if ( length($cust_main->ship_company) or
+% $conf->exists('show_ship_company') ) {
+ <& /elements/tr-input-text.html,
+ label => mt('Company'),
+ field => 'ship_company',
+ curr_value => $cust_main->ship_company,
+ colspan => 6,
+ &>
+% }
+<%init>
+my $cust_main = shift;
+my $conf = FS::Conf->new;
+</%init>