chore: stop tracking compiled blade cache

This commit is contained in:
2026-09-23 13:56:51 +07:00
parent 507fc6ccdf
commit edd2f626be
154 changed files with 1149 additions and 12046 deletions
@@ -119,7 +119,6 @@
</div>
@push('scripts')
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script>
function confirmDeleteRole(id, name) {
Swal.fire({
+25 -1
View File
@@ -118,6 +118,30 @@
</div>
</div>
{{-- Notifikasi WhatsApp Operasional --}}
<div class="rounded-[2rem] border border-slate-200 bg-white p-6 md:p-8">
<div class="mb-6 flex items-start gap-4">
<div class="flex h-11 w-11 items-center justify-center rounded-2xl bg-emerald-50 text-emerald-600"><i class="fab fa-whatsapp text-xl"></i></div>
<div><h3 class="font-bold text-slate-900">Notifikasi WhatsApp operasional</h3><p class="mt-1 text-sm text-slate-500">Pilih jenis pengingat dan role penerima. Pengiriman dilakukan oleh scheduler server.</p></div>
</div>
<label class="mb-5 flex items-center gap-3 rounded-xl border border-slate-200 bg-slate-50 p-4">
<input type="checkbox" name="notif_wa_status" value="1" {{ ($settings['notif_wa_status'] ?? 'active')==='active' ? 'checked' : '' }} class="rounded border-slate-300 text-emerald-600">
<span><span class="block text-sm font-bold text-slate-800">Aktifkan notifikasi WhatsApp</span><span class="text-xs text-slate-500">Master switch untuk semua pengingat di bawah.</span></span>
</label>
<div class="grid gap-4 lg:grid-cols-3">
@foreach([
['notif_hpl_wa','notif_hpl_role_id','HPL kucing','H-7 sampai tanggal HPL, dikirim setiap hari.'],
['notif_inventory_expiry_wa','notif_inventory_role_id','Kedaluwarsa inventori','Obat, makanan, dan perlengkapan mulai H-14.'],
['notif_weight_stale_wa','notif_weight_role_id','Berat belum diperbarui','Kucing aktif yang tidak ditimbang lebih dari 7 hari.'],
] as [$switchKey,$roleKey,$title,$desc])
<div class="rounded-2xl border border-slate-200 p-4">
<label class="flex items-start gap-3"><input type="checkbox" name="{{ $switchKey }}" value="1" {{ ($settings[$switchKey] ?? 'active')==='active' ? 'checked' : '' }} class="mt-1 rounded border-slate-300 text-indigo-600"><span><span class="block text-sm font-bold text-slate-800">{{ $title }}</span><span class="mt-1 block text-xs leading-relaxed text-slate-500">{{ $desc }}</span></span></label>
<div class="mt-4"><label class="field-label">Role penerima</label><select name="{{ $roleKey }}" class="field-input rounded-xl"><option value="">Admin (default)</option>@foreach($roles as $role)<option value="{{ $role->id }}" @selected((string)($settings[$roleKey] ?? '') === (string)$role->id)>{{ $role->name }}</option>@endforeach</select></div>
</div>
@endforeach
</div>
</div>
{{-- Card 3: Status Layanan --}}
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
{{-- WA Status --}}
@@ -129,7 +153,7 @@
<div>
<h4 class="text-[10px] font-black text-slate-400 uppercase tracking-widest">WhatsApp Gateway</h4>
<p class="text-xs font-black {{ $waStatus['active'] ? 'text-emerald-700' : 'text-rose-700' }}">
{{ $waStatus['active'] ? 'Terhubung (Kuota: '.$waStatus['quota'].')' : 'Terputus' }}
{{ $waStatus['message'] ?? ($waStatus['active'] ? 'Terkonfigurasi' : 'Belum dikonfigurasi') }}
</p>
</div>
</div>