main
Ilham Wara Nugroho 2026-03-04 08:46:47 +07:00
parent d22d067649
commit 2945444ea6
1 changed files with 7 additions and 7 deletions

View File

@ -55,17 +55,17 @@
</div> </div>
<div class="overflow-x-auto custom-scrollbar"> <div class="overflow-x-auto custom-scrollbar">
@if ($dataset->tahun >= 2026) @if ($dataset->tahun >= 2026)
<table class="w-full text-left text-sm" id="table" <table class="w-full text-left border-collapse" id="table"
data-toggle="table" data-toggle="table"
data-search="false" data-search="false"
data-pagination="false" data-pagination="false"
data-side-pagination="server" data-side-pagination="server"
data-url="{{ url('dataset/Griddetail?id='.encode_id($keyId)) }}"> data-url="{{ url('dataset/Griddetail?id='.encode_id($keyId)) }}">
<thead class="bg-slate-50 text-slate-500 uppercase text-[10px] font-bold tracking-wider"> <thead class="bg-slate-100 border-b border-slate-100">
<tr class="hover:bg-blue-50/30 transition-colors"> <tr>
<th data-field="no" class="px-6 py-4">No</th> <th data-field="no" class="text-[10px] px-6 py-4 border font-bold text-slate-900">No</th>
@foreach ($tabel as $k => $key) @foreach ($tabel as $k => $key)
<th data-field="{{$key->order}}" class="px-6 py-4">{{ $key->name }}</th> <th data-field="{{$key->order}}" class="text-[10px] px-6 py-4 border font-bold text-slate-900">{{ $key->name }}</th>
@endforeach @endforeach
</tr> </tr>
</thead> </thead>
@ -80,10 +80,10 @@
data-url="{{ url('dataset/Griddetail2025?id='.@$keyId) }}" data-url="{{ url('dataset/Griddetail2025?id='.@$keyId) }}"
> >
<thead class="bg-slate-100 border-b border-slate-100"> <thead class="bg-slate-100 border-b border-slate-100">
<tr class="hover:bg-blue-50/30 transition-colors"> <tr>
@if (!empty($data)) @if (!empty($data))
@foreach ($data[0] as $k => $key) @foreach ($data[0] as $k => $key)
<th data-field="{{$k}}" class="text-[10px] border font-bold text-slate-900">{{ ucwords(str_replace('_', ' ', $k)) }}</th> <th data-field="{{$k}}" class="text-[10px] px-6 py-4 border font-bold text-slate-900">{{ ucwords(str_replace('_', ' ', $k)) }}</th>
@endforeach @endforeach
@endif @endif
</tr> </tr>