1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Show online payment settings by default

This commit is contained in:
Hillel Coren 2017-03-26 11:19:00 +03:00
parent 5f9ffee8ea
commit eb8d164b37
2 changed files with 13 additions and 17 deletions

View File

@ -482,9 +482,6 @@ class AccountController extends BaseController
}
}
if ($trashedCount == 0) {
return Redirect::to('gateways/create');
} else {
$tokenBillingOptions = [];
for ($i = 1; $i <= 4; $i++) {
$tokenBillingOptions[$i] = trans("texts.token_billing_{$i}");
@ -499,7 +496,6 @@ class AccountController extends BaseController
'account' => $account,
]);
}
}
/**
* @return \Illuminate\Contracts\View\View

View File

@ -439,7 +439,7 @@ $LANG = array(
'reset_all' => 'Reset All',
'approve' => 'Approve',
'token_billing_type_id' => 'Token Billing',
'token_billing_help' => 'Enables you to store payment details with WePay, Stripe or Braintree.',
'token_billing_help' => 'Store payment details with WePay, Stripe or Braintree.',
'token_billing_1' => 'Disabled',
'token_billing_2' => 'Opt-in - checkbox is shown but not selected',
'token_billing_3' => 'Opt-out - checkbox is shown and selected',