From 77ea8306a967f5d34e98b0900cc7414f4540f04a Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 5 May 2016 22:14:36 -0500 Subject: RT#37632: Credit card validation [v3, saving from payment.cgi] --- httemplate/misc/process/payment.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index a475786dd..dcfcc0b85 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -164,7 +164,10 @@ if ( $cgi->param('save') ) { #false laziness w/FS:;cust_main::realtime_bop - check both to make sure # working correctly if ( $payby eq 'CARD' && - grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save') ) { + ( (grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save')) + || $conf->exists('business-onlinepayment-verification') + ) + ) { $new->set( 'paycvv' => $paycvv ); } else { $new->set( 'paycvv' => ''); -- cgit v1.2.1 From 223ba5f56facfc4bbb246c4cc4ce67d203bbf687 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 9 May 2016 20:15:47 -0500 Subject: RT#42236: Select installers to show on calendar when setting appointment --- httemplate/misc/make_appointment.html | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/make_appointment.html b/httemplate/misc/make_appointment.html index 6f308e0a8..79c3c2c89 100644 --- a/httemplate/misc/make_appointment.html +++ b/httemplate/misc/make_appointment.html @@ -6,13 +6,10 @@ -% my @sched_item = qsearch('sched_item', { 'disabled' => '', }); -% my @username = map $_->access_user->username, @sched_item; -% foreach my $username (@username) { - -% } - -Length: + + + + + + +% my @sched_item = qsearch('sched_item', { 'disabled' => '', }); +% my @username = map $_->access_user->username, @sched_item; + + + + + +
Length: -
-
+
Installer: + +
+ +
-- cgit v1.2.1