X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=dc80847deb206353dda040ce4bdad9982ca02eb6;hp=1caec3d40551d02049a1db5b56f2d6946b391fbc;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hpb=64fcb43c61c196766260319cd9219eb70ea27767 diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index 1caec3d40..dc80847de 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -10,12 +10,11 @@ -Credit <% ntable("#cccccc", 2) %> Date - <% time2str("%D",$_date) %> + <% time2str($date_format, $_date) %> @@ -36,13 +35,14 @@ Credit %> - Auto-apply
to invoices - - + Additional info + + + - Tax - + Auto-apply
to invoices + % if ( $conf->exists('pkg-balances') ) { @@ -64,12 +64,10 @@ Credit -<%once> +<%init> my $conf = new FS::Conf; - - -<%init> +my $date_format = $conf->config('date_format') || '%m/%d/%Y'; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Post credit');