mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add dependencies and update steps in Purchase.php
This commit is contained in:
parent
2dcc070af2
commit
70fdc73b2d
@ -13,6 +13,7 @@
|
||||
namespace App\Livewire\BillingPortal;
|
||||
|
||||
use App\Libraries\MultiDB;
|
||||
use App\Livewire\BillingPortal\Authentication\RegisterOrLogin;
|
||||
use App\Livewire\BillingPortal\Cart\Cart;
|
||||
use App\Livewire\BillingPortal\Payments\Methods;
|
||||
use App\Models\Subscription;
|
||||
@ -35,12 +36,21 @@ class Purchase extends Component
|
||||
|
||||
//
|
||||
|
||||
public static array $dependencies = [
|
||||
Login::class => [],
|
||||
RegisterOrLogin::class => [],
|
||||
Register::class => [],
|
||||
Cart::class => [],
|
||||
Methods::class => [Login::class, RegisterOrLogin::class, Register::class],
|
||||
RFF::class => [Login::class, RegisterOrLogin::class, Register::class],
|
||||
];
|
||||
|
||||
public int $step = 0;
|
||||
|
||||
public array $steps = [
|
||||
public static array $steps = [
|
||||
Setup::class,
|
||||
RegisterOrLogin::class,
|
||||
Cart::class,
|
||||
Authentication::class,
|
||||
Methods::class,
|
||||
RFF::class,
|
||||
Submit::class,
|
||||
|
Loading…
Reference in New Issue
Block a user