mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add BillingPortal Submit component
This commit is contained in:
parent
9acdb89ab8
commit
7d5a8f5787
34
app/Livewire/BillingPortal/Submit.php
Normal file
34
app/Livewire/BillingPortal/Submit.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?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 Submit extends Component
|
||||
{
|
||||
public array $context;
|
||||
|
||||
public function mount()
|
||||
{
|
||||
// This is right place to check if everything is set up correctly.
|
||||
|
||||
$this->dispatch('purchase.submit');
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return <<<'HTML'
|
||||
<div></div>
|
||||
HTML;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user