1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Show "Credit Card" instead of "Stripe" as a payment option.

This commit is contained in:
Joshua Dwire 2016-06-05 15:07:02 -04:00
parent 5eb76df20e
commit 0967ca65e8

View File

@ -225,6 +225,9 @@ class ClientPortalController extends BaseController
foreach(Gateway::$paymentTypes as $type) {
if ($type == PAYMENT_TYPE_STRIPE) {
continue;
}
if ($gateway = $account->getGatewayByType($type)) {
if ($type == PAYMENT_TYPE_DIRECT_DEBIT) {
if ($gateway->gateway_id == GATEWAY_STRIPE) {