mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Show online payment settings by default
This commit is contained in:
parent
5f9ffee8ea
commit
eb8d164b37
@ -482,9 +482,6 @@ class AccountController extends BaseController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($trashedCount == 0) {
|
|
||||||
return Redirect::to('gateways/create');
|
|
||||||
} else {
|
|
||||||
$tokenBillingOptions = [];
|
$tokenBillingOptions = [];
|
||||||
for ($i = 1; $i <= 4; $i++) {
|
for ($i = 1; $i <= 4; $i++) {
|
||||||
$tokenBillingOptions[$i] = trans("texts.token_billing_{$i}");
|
$tokenBillingOptions[$i] = trans("texts.token_billing_{$i}");
|
||||||
@ -499,7 +496,6 @@ class AccountController extends BaseController
|
|||||||
'account' => $account,
|
'account' => $account,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \Illuminate\Contracts\View\View
|
* @return \Illuminate\Contracts\View\View
|
||||||
|
@ -439,7 +439,7 @@ $LANG = array(
|
|||||||
'reset_all' => 'Reset All',
|
'reset_all' => 'Reset All',
|
||||||
'approve' => 'Approve',
|
'approve' => 'Approve',
|
||||||
'token_billing_type_id' => 'Token Billing',
|
'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_1' => 'Disabled',
|
||||||
'token_billing_2' => 'Opt-in - checkbox is shown but not selected',
|
'token_billing_2' => 'Opt-in - checkbox is shown but not selected',
|
||||||
'token_billing_3' => 'Opt-out - checkbox is shown and selected',
|
'token_billing_3' => 'Opt-out - checkbox is shown and selected',
|
||||||
|
Loading…
Reference in New Issue
Block a user