Files
portal-api/resources/views/frontend/order/modal/confirm.blade.php
T
2025-07-24 16:18:27 +07:00

19 lines
915 B
PHP

<flux:modal name="confirm-order" class="md:w-96">
<div class="space-y-6">
<div>
<flux:heading size="lg">Xác nhận thanh toán</flux:heading>
<flux:text class="mt-2">Bạn có chắc chắn muốn thanh toán đơn hàng này? <br>
Hành động này không thể hoàn tác và số dư sẽ trừ vào tài khoản!</flux:text>
</div>
<div class="flex">
<flux:spacer />
<form action="{{ route('client.invoice.store', ['order_id' => $orders->id, 'order_num' => $orders->order_num]) }}" method="POST" class="inline">
@csrf
<input type="hidden" name="order_num" value="{{ $orders->order_num }}">
<flux:button type="submit" variant="primary" icon="credit-card" class="ms-auto">Xác nhận thanh toán</flux:button>
</form>
</div>
</div>
</flux:modal>