refactor: Replace Flux UI components with native HTML/Alpine.js and update Composer dependencies.

This commit is contained in:
pbao9
2026-03-04 09:13:15 +07:00
parent db3a8c4949
commit 68540009c0
6 changed files with 200 additions and 232 deletions
@@ -201,7 +201,10 @@
<!-- Gia hạn tự động -->
<td class="text-center py-3 px-4">
<flux:switch wire:model.live="auto_renew" :checked="$invoice->auto_renew" />
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" wire:model.live="auto_renew" @checked($invoice->auto_renew) class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 rounded-full peer peer-checked:bg-blue-600 after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-full"></div>
</label>
</td>
<!-- Thao tác -->