From 1a841b48ae96f48a4fd2fcf154f510def908e2f5 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 19 Sep 2018 20:15:12 +0200 Subject: [PATCH] Update transaction.php --- htdocs/stripe/transaction.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/stripe/transaction.php b/htdocs/stripe/transaction.php index 996a80cb132..9d9a1c84597 100644 --- a/htdocs/stripe/transaction.php +++ b/htdocs/stripe/transaction.php @@ -167,9 +167,9 @@ if (! $rowid) { if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/'; if (preg_match('/po_/i', $txn->source)){ - $origin="payouts"; + $origin="payouts"; } elseif (preg_match('/fee_/i', $txn->source)) { - $origin="connect/application_fees"; + $origin="connect/application_fees"; } else { $origin="payments"; } @@ -177,13 +177,13 @@ if (! $rowid) { $url='https://dashboard.stripe.com/'.$connect.'test/'.$origin.'/'.$txn->source; if ($servicestatus) - { + { $url='https://dashboard.stripe.com/'.$connect.$origin.'/'.$txn->source; - } + } if ($txn->type == 'stripe_fee' || $txn->type == 'reserve_transaction') { print "".$txn->type.""; - } else print "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "\n"; + } else print "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "\n"; // Stripe customer //print "".$charge->customer."\n"; // Link