mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Set Braintree visible in the PaymentLibrariesSeeder
This commit is contained in:
parent
bb0f8aff2c
commit
c22bf5bd10
@ -14,9 +14,7 @@ class MakeBraintreeProviderVisible extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$gateway = Gateway::where('key', 'f7ec488676d310683fb51802d076d713')->first();
|
||||
$gateway->visible = 1;
|
||||
$gateway->save();
|
||||
Gateway::where('id', 50)->update(['visible' => 1]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -95,7 +95,7 @@ class PaymentLibrariesSeeder extends Seeder
|
||||
|
||||
Gateway::query()->update(['visible' => 0]);
|
||||
|
||||
Gateway::whereIn('id', [1,15,20,39,55])->update(['visible' => 1]);
|
||||
Gateway::whereIn('id', [1,15,20,39,55,50])->update(['visible' => 1]);
|
||||
|
||||
Gateway::all()->each(function ($gateway) {
|
||||
$gateway->site_url = $gateway->getHelp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user