X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=1238e9490bc936dfaf6c0e318b27b0563be869bc;hb=8d534e61d74e561a15f0863a835cda4af639a9ea;hp=1caec3d40551d02049a1db5b56f2d6946b391fbc;hpb=64fcb43c61c196766260319cd9219eb70ea27767;p=freeside.git diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index 1caec3d40..1238e9490 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -10,17 +10,16 @@ -Credit <% ntable("#cccccc", 2) %> Date - <% time2str("%D",$_date) %> + <% time2str($date_format, $_date) %> Amount - $ + $ % @@ -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');