2024-02-12 18:55:03 +01:00
|
|
|
<div class="grid grid-cols-12 bg-gray-50">
|
|
|
|
<div
|
2024-02-14 18:29:53 +01:00
|
|
|
|
|
|
|
class="col-span-12 xl:col-span-6 bg-white flex flex-col items-center lg:h-screen"
|
2024-02-12 18:55:03 +01:00
|
|
|
>
|
|
|
|
<div class="w-full p-10 lg:mt-24 md:max-w-xl">
|
|
|
|
<img
|
|
|
|
class="h-8"
|
2024-02-09 17:53:31 +01:00
|
|
|
src="{{ $subscription->company->present()->logo }}"
|
2024-02-12 18:55:03 +01:00
|
|
|
alt="{{ $subscription->company->present()->name }}"
|
|
|
|
/>
|
|
|
|
|
2024-02-09 17:53:31 +01:00
|
|
|
<div class="my-10" id="container">
|
2024-02-16 17:42:55 +01:00
|
|
|
@livewire($this->component, ['context' => $context, 'subscription' => $this->subscription], key($this->componentUniqueId()))
|
2024-02-09 17:53:31 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-08 19:55:47 +01:00
|
|
|
</div>
|
|
|
|
|
2024-02-13 18:39:57 +01:00
|
|
|
<div class="col-span-12 xl:col-span-6">
|
2024-02-12 18:55:03 +01:00
|
|
|
<div class="sticky top-0">
|
|
|
|
<div class="w-full p-10 lg:mt-24 md:max-w-xl">
|
2024-02-13 18:39:57 +01:00
|
|
|
<div class="my-6 space-y-10 xl:ml-5">
|
2024-02-16 17:42:55 +01:00
|
|
|
@livewire('billing-portal.summary', ['subscription' => $subscription, 'context' => $context], key($this->summaryUniqueId()))
|
2024-02-12 18:55:03 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-09 17:53:31 +01:00
|
|
|
</div>
|
2024-02-08 19:55:47 +01:00
|
|
|
</div>
|
2024-02-19 18:16:15 +01:00
|
|
|
|
|
|
|
<form
|
|
|
|
action="{{ route('client.payments.process', ['hash' => $hash, 'sidebar' => 'hidden']) }}"
|
|
|
|
method="post"
|
|
|
|
id="payment-method-form">
|
|
|
|
@csrf
|
|
|
|
|
|
|
|
<input type="hidden" name="action" value="payment">
|
|
|
|
<input type="hidden" name="invoices[]" value="{{ $context['form']['invoice_hashed_id'] ?? '' }}">
|
|
|
|
<input type="hidden" name="payable_invoices[0][amount]" value="{{ $context['form']['payable_amount'] ?? '' }}">
|
|
|
|
<input type="hidden" name="payable_invoices[0][invoice_id]" value="{{ $context['form']['invoice_hashed_id'] ?? '' }}">
|
|
|
|
<input type="hidden" name="company_gateway_id" value="{{ $context['form']['company_gateway_id'] ?? '' }}"/>
|
|
|
|
<input type="hidden" name="payment_method_id" value="{{ $context['form']['payment_method_id'] ?? '' }}"/>
|
|
|
|
</form>
|
2024-02-08 19:55:47 +01:00
|
|
|
</div>
|