mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Payment methods
This commit is contained in:
parent
c7d6b50778
commit
76f6c51a1b
@ -12,11 +12,12 @@
|
|||||||
|
|
||||||
namespace App\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use App\Livewire\Terms;
|
use App\Livewire\Flow2\Terms;
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
use App\Utils\HtmlEngine;
|
use App\Utils\HtmlEngine;
|
||||||
use App\Libraries\MultiDB;
|
use App\Libraries\MultiDB;
|
||||||
use App\Livewire\Signature;
|
use App\Livewire\Flow2\PaymentMethod;
|
||||||
|
use App\Livewire\Flow2\Signature;
|
||||||
use Livewire\Attributes\On;
|
use Livewire\Attributes\On;
|
||||||
use Livewire\Attributes\Computed;
|
use Livewire\Attributes\Computed;
|
||||||
use Livewire\Attributes\Reactive;
|
use Livewire\Attributes\Reactive;
|
||||||
@ -66,6 +67,8 @@ class InvoicePay extends Component
|
|||||||
|
|
||||||
if(!$this->signature_accepted)
|
if(!$this->signature_accepted)
|
||||||
return Signature::class;
|
return Signature::class;
|
||||||
|
|
||||||
|
return PaymentMethod::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Computed()]
|
#[Computed()]
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoice Ninja (https://invoiceninja.com).
|
|
||||||
*
|
|
||||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
|
||||||
*
|
|
||||||
* @license https://www.elastic.co/licensing/elastic-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace App\Livewire;
|
|
||||||
|
|
||||||
use Livewire\Component;
|
|
||||||
|
|
||||||
class Signature extends Component
|
|
||||||
{
|
|
||||||
|
|
||||||
public function render()
|
|
||||||
{
|
|
||||||
return render('components.livewire.signature');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoice Ninja (https://invoiceninja.com).
|
|
||||||
*
|
|
||||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
|
||||||
*
|
|
||||||
* @license https://www.elastic.co/licensing/elastic-license
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace App\Livewire;
|
|
||||||
|
|
||||||
use Livewire\Component;
|
|
||||||
|
|
||||||
class Terms extends Component
|
|
||||||
{
|
|
||||||
public $invoice;
|
|
||||||
|
|
||||||
public $context;
|
|
||||||
|
|
||||||
public $variables;
|
|
||||||
|
|
||||||
public function mount()
|
|
||||||
{
|
|
||||||
$this->invoice = $this->context['invoice'];
|
|
||||||
$this->variables = $this->context['variables'];
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render()
|
|
||||||
{
|
|
||||||
return render('components.livewire.terms');
|
|
||||||
}
|
|
||||||
}
|
|
1
public/build/assets/app-26306e87.css
vendored
1
public/build/assets/app-26306e87.css
vendored
File diff suppressed because one or more lines are too long
@ -241,6 +241,7 @@
|
|||||||
},
|
},
|
||||||
"resources/sass/app.scss": {
|
"resources/sass/app.scss": {
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
"file": "assets/app-fee1da41.css",
|
"file": "assets/app-fee1da41.css",
|
||||||
=======
|
=======
|
||||||
@ -249,6 +250,9 @@
|
|||||||
=======
|
=======
|
||||||
"file": "assets/app-26306e87.css",
|
"file": "assets/app-26306e87.css",
|
||||||
>>>>>>> c315911da4 (Payment float)
|
>>>>>>> c315911da4 (Payment float)
|
||||||
|
=======
|
||||||
|
"file": "assets/app-4cad835a.css",
|
||||||
|
>>>>>>> fd7c28880c (Payment methods)
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
"src": "resources/sass/app.scss"
|
"src": "resources/sass/app.scss"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user