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

20 lines
892 B
PHP

<flux:modal name="destroy-order" class="md:w-96">
<div class="space-y-6">
<div>
<flux:heading size="lg">Xác nhận huỷ đơn hàng</flux:heading>
<flux:text class="mt-2">Bạn có chắc chắn muốn huỷ đơn hàng này? <br>
Hành động này không thể hoàn tác và đơn hàng sẽ bị xoá khỏi hệ thống.</flux:text>
</div>
<div class="flex">
<flux:spacer />
<form action="{{ route('client.order.destroy', $order_id) }}" method="POST" class="inline">
@csrf
@method('DELETE')
<input type="hidden" name="order_num" value="{{ $orders->order_num }}">
<flux:button type="submit" variant="danger" icon="trash" class="ms-auto">Xác nhận huỷ</flux:button>
</form>
</div>
</div>
</flux:modal>