From 7abae1137cfd0830f108cd65fff01370c42e3028 Mon Sep 17 00:00:00 2001 From: Mike Robinson Date: Tue, 1 May 2012 12:40:56 -0500 Subject: 17528 Backdate payment access right. --- httemplate/edit/cust_pay.cgi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'httemplate/edit/cust_pay.cgi') diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 7a1bb00fa..f0826f652 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -23,6 +23,7 @@ <% mt('Payment') |h %> <% ntable("#cccccc", 2) %> +% if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) { <% mt('Date') |h %> @@ -39,6 +40,15 @@ align: "BR" }); +% } +% else { + + <% mt('Date') |h %> + + <% time2str($date_format.' %r',$_date) %> + + +% } <% mt('Amount') |h %> -- cgit v1.2.1