Updated v3 flowS

This commit is contained in:
David Bomba 2024-11-14 17:25:59 +11:00
parent 352d8034f6
commit d34ed476ac
3 changed files with 12 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -372,7 +372,7 @@
"src": "resources/js/setup/setup.js"
},
"resources/sass/app.scss": {
"file": "assets/app-8ac29972.css",
"file": "assets/app-9454bf28.css",
"isEntry": true,
"src": "resources/sass/app.scss"
}

View File

@ -1,8 +1,7 @@
<div class="grid grid-cols-12 bg-gray-50">
<div
class="col-span-12 xl:col-span-6 bg-white flex flex-col items-center lg:h-screen"
>
<div class="w-full p-10 lg:mt-24 md:max-w-xl">
<!-- Left Column - Cart -->
<div class="col-span-12 xl:col-span-6 bg-white border-r border-gray-200">
<div class="w-full p-10 lg:mt-24 md:max-w-xl mx-auto">
<img
class="h-8"
src="{{ $this->subscription->company->present()->logo }}"
@ -20,9 +19,10 @@
</div>
</div>
<!-- Right Column - Summary -->
<div class="col-span-12 xl:col-span-6">
<div class="sticky top-0">
<div class="w-full p-10 lg:mt-24 md:max-w-xl">
<div class="w-full p-10 lg:mt-24 md:max-w-xl mx-auto">
<div class="my-6 space-y-10 xl:ml-5">
@livewire('billing-portal.summary', ['subscription_id' => $this->subscription->hashed_id, 'context' => $context], key($this->summaryUniqueId()))
</div>
@ -30,12 +30,13 @@
</div>
</div>
<!-- Hidden Form -->
<form
action="{{ route('client.payments.process', ['hash' => $hash, 'sidebar' => 'hidden', 'source' => 'subscriptions']) }}"
method="post"
id="payment-method-form">
id="payment-method-form"
class="hidden">
@csrf
<input type="hidden" name="action" value="payment">
<input type="hidden" name="invoices[]" />
<input type="hidden" name="payable_invoices[0][amount]" value="{{ $this->context['form']['payable_amount'] ?? '' }}" />
@ -45,5 +46,5 @@
<input type="hidden" name="contact_first_name" value="{{ $this->context['contact']['first_name'] ?? '' }}" />
<input type="hidden" name="contact_last_name" value="{{ $this->context['contact']['last_name'] ?? '' }}" />
<input type="hidden" name="contact_email" value="{{ $this->context['contact']['email'] ?? '' }}" />
</form>
</div>
</form>
</div>