mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Remove unused code in Methods.php
This commit is contained in:
parent
1acaa33ef0
commit
405052620f
@ -12,7 +12,6 @@
|
||||
|
||||
namespace App\Livewire\BillingPortal\Payments;
|
||||
|
||||
use App\Livewire\BillingPortal\Authentication;
|
||||
use Livewire\Component;
|
||||
use App\Models\Subscription;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
@ -27,11 +26,6 @@ class Methods extends Component
|
||||
|
||||
public function mount(): void
|
||||
{
|
||||
if (auth()->guard('contact')->guest()) {
|
||||
$this->dispatch('purchase.forward', component: Authentication::class);
|
||||
return;
|
||||
}
|
||||
|
||||
$total = collect($this->context['products'])->sum('total_raw');
|
||||
|
||||
$methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods(
|
||||
|
Loading…
x
Reference in New Issue
Block a user