mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add BillingPortal Setup component
This commit is contained in:
parent
2c1cb88783
commit
1a2f6ea48d
33
app/Livewire/BillingPortal/Setup.php
Normal file
33
app/Livewire/BillingPortal/Setup.php
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Invoice Ninja (https://invoiceninja.com).
|
||||||
|
*
|
||||||
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||||
|
*
|
||||||
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace App\Livewire\BillingPortal;
|
||||||
|
|
||||||
|
use Livewire\Component;
|
||||||
|
|
||||||
|
class Setup extends Component
|
||||||
|
{
|
||||||
|
public array $context;
|
||||||
|
|
||||||
|
public function mount()
|
||||||
|
{
|
||||||
|
$this->dispatch('purchase.context', property: 'quantity', value: 1);
|
||||||
|
$this->dispatch('purchase.next');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function render()
|
||||||
|
{
|
||||||
|
return <<<'HTML'
|
||||||
|
<template></template>
|
||||||
|
HTML;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user