Files
ladill-pos/resources/views/partials/payment-checkout-host.blade.php
T
isaacclad 7c20cf705a
Deploy Ladill POS / deploy (push) Successful in 1m16s
Frame POS checkout sheet for till operators.
Use operator-facing copy and merchant email so Card/MoMo checkout is for staff handing the screen to a customer, not self-serve buyers.
2026-07-15 13:23:29 +00:00

18 lines
575 B
PHP

{{-- Global host for till-operator Card/MoMo sheets (register + open tickets). --}}
<div x-data
x-init="
const url = @js(session('checkout_url'));
if (url) {
$store.paymentCheckout.open(url);
}
"
class="contents">
<div x-data="{
get showSheet() { return $store.paymentCheckout.isOpen },
set showSheet(v) { if (!v) { $store.paymentCheckout.close() } },
get checkoutUrl() { return $store.paymentCheckout.url },
}">
@include('partials.paystack-sheet')
</div>
</div>