update bug

This commit is contained in:
Pham Bao
2025-07-29 22:49:14 +07:00
parent b048edee11
commit 21a2dfe855
15 changed files with 540 additions and 158 deletions
+2 -2
View File
@@ -525,8 +525,8 @@ function snapshotTable() {
// Constants
const API_ENDPOINTS = {
GET_SNAPSHOTS: "/dich-vu-dang-ky/secure/get-snapshots",
REMOVE_SNAPSHOT: "/secure/remove-snapshot",
REVERT_SNAPSHOT: "/secure/revert-snapshot",
REMOVE_SNAPSHOT: "/dich-vu-dang-ky/secure/remove-snapshot",
REVERT_SNAPSHOT: "/dich-vu-dang-ky/secure/revert-snapshot",
};
const MESSAGES = {
@@ -10,7 +10,7 @@
<div class="flex justify-between items-center">
<h1 class="text-white text-2xl font-bold">Thông tin đơn hàng</h1>
<span class="bg-white text-primary px-4 py-2 rounded-full text-sm font-medium">
Mã đơn: #{{ $invoice->order_num }}
Mã đơn: #{{ $invoice->order_num ?? 'N/A'}}
</span>
</div>
</div>
@@ -23,7 +23,7 @@
<div class="space-y-2">
<div class="flex justify-between">
<span class="text-gray-600">Ngày đặt:</span>
<span class="font-medium">{{ date('d/m/Y H:i', $invoice->date) }}</span>
<span class="font-medium">{{ date('d/m/Y H:i', $invoice->date ?? 'N/A') }}</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">Trạng thái:</span>