projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date editing fix, fallout from date_format
[freeside.git]
/
httemplate
/
edit
/
REAL_cust_pkg.cgi
diff --git
a/httemplate/edit/REAL_cust_pkg.cgi
b/httemplate/edit/REAL_cust_pkg.cgi
index
18d4415
..
29c8ca6
100755
(executable)
--- a/
httemplate/edit/REAL_cust_pkg.cgi
+++ b/
httemplate/edit/REAL_cust_pkg.cgi
@@
-128,16
+128,19
@@
</FORM>
<% include('/elements/footer.html') %>
</FORM>
<% include('/elements/footer.html') %>
+<%shared>
+my $conf = new FS::Conf;
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
+
+my $format = $date_format. ' %T %z (%Z)';
+
+</%shared>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Edit customer package dates');
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Edit customer package dates');
-my $conf = new FS::Conf;
-my $date_format = $conf->config('date_format') || '%m/%d/%Y';
-
-my $format = $date_format. ' %T %z (%Z)';
my $error = '';
my( $pkgnum, $cust_pkg );
my $error = '';
my( $pkgnum, $cust_pkg );