LP#1622696: don't ask to credit card type
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 25 Sep 2017 22:23:24 +0000 (18:23 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 26 Sep 2017 19:03:39 +0000 (15:03 -0400)
Due to bug 1474051, we're not storing it, so don't request it.

It should be noted that this patch series does /not/ add support
for using Stripe as a payment processor for staff-mediated payments,
but the web staff client opens the door to adding it later.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_cc_payment_dialog.tt2

index 44ee85a..3a0ec69 100644 (file)
       </div><!--cc-internal-wrapper-->
       <div ng-if="context.cc.where_process == '0'">
         <div class="row form-group">
-          <div class="col-md-4"><label>[% l('Credit Card Type') %]</label></div>
-          <div class="col-md-8">
-            <select class="form-control" ng-model="context.cc.type">
-              <option value='VISA'>[% l('VISA') %]</option>
-              <option value='MasterCard'>[% l('Mastercard') %]</option>
-              <option value='American Express'>[% l('American Express') %]</option>
-              <option value='Discover'>[% l('Discover') %]</option>
-              <option value='Other'>[% l('Other') %]</option>
-            </select>
-          </div>
-        </div>
-        <div class="row form-group">
           <div class="col-md-4"><label>[% l('Approval Code') %]</label></div>
           <div class="col-md-8">
             <input type='text' class="form-control" ng-model="context.cc.approval_code"/>