This commit is contained in:
antv
2026-07-15 22:23:49 +07:00
parent d16db9c73d
commit 7f059dce86
4 changed files with 26 additions and 18 deletions
+19 -11
View File
@@ -63,19 +63,24 @@
<!-- 3. HISTORY SECTION -->
@if($administrations)
<div class="mb-6">
<h4 class="text-lg font-black text-[#1a2b49] mb-4 flex items-center gap-2">
<span class="w-1.5 h-6 bg-[#3462f7] rounded-full inline-block"></span>
Lịch sử hoạt động
</h4>
<div class="flex items-center justify-between mb-4">
<h4 class="text-lg font-black text-[#1a2b49] flex items-center gap-2">
<span class="w-1.5 h-6 bg-[#3462f7] rounded-full inline-block"></span>
Lịch sử hoạt động
</h4>
<x-month-filter :mode="$mode" :user="$user" :selectedMonth="$selectedMonth" />
</div>
<div id="history-lists-container" class="grid grid-cols-1 lg:grid-cols-2 gap-6 items-stretch">
<!-- Card Allocation History: Lịch sử cấp phát thẻ -->
@if(isset($addCards))
<div class="bg-white rounded-[24px] shadow-[0_10px_30px_rgba(15,23,42,0.05)] border border-white overflow-hidden flex flex-col h-full">
<div class="px-6 py-5 border-b border-gray-100 bg-white flex flex-col sm:flex-row sm:items-center justify-between gap-3">
<h3 class="text-[17px] font-extrabold text-[#1a2b49] leading-tight">
Lịch sử cấp phát thẻ
</h3>
<x-month-filter :mode="$mode" :user="$user" :selectedMonth="$selectedMonth" />
<div>
<h3 class="text-[17px] font-extrabold text-[#1a2b49] leading-tight">
Lịch sử cấp phát thẻ
</h3>
<p class="text-sm text-gray-500 mt-1 font-medium">Thẻ hiện (Tháng {{ \Carbon\Carbon::now()->format('m/Y') }}): <span class="font-bold text-[#3462f7]">{{ $user->card }}</span></p>
</div>
</div>
<div class="flex-1 overflow-y-auto max-h-[600px]">
@@ -167,9 +172,12 @@
@if($mode === 'edit' && isset($addCards))
<div class="bg-white rounded-[24px] shadow-[0_10px_30px_rgba(15,23,42,0.05)] border border-white overflow-hidden flex flex-col">
<div class="px-6 py-5 border-b border-gray-100 bg-white flex flex-col sm:flex-row sm:items-center justify-between gap-3">
<h3 class="text-[17px] font-extrabold text-[#1a2b49] leading-tight">
Lịch sử cấp phát thẻ
</h3>
<div>
<h3 class="text-[17px] font-extrabold text-[#1a2b49] leading-tight">
Lịch sử cấp phát thẻ
</h3>
<p class="text-sm text-gray-500 mt-1 font-medium">Thẻ hiện (Tháng {{ \Carbon\Carbon::now()->format('m/Y') }}): <span class="font-bold text-[#3462f7]">{{ $user->card }}</span></p>
</div>
<x-month-filter :mode="$mode" :user="$user" :selectedMonth="$selectedMonth" />
</div>