refactor: update table column spans and image asset paths in pesanan views

This commit is contained in:
LailaWulandarii 2026-01-08 19:01:02 +07:00
parent cd8a6b6a6e
commit 2c1c5a0dc8
7 changed files with 14 additions and 14 deletions

View File

@ -31,7 +31,7 @@
<th>Jam Ambil</th> <th>Jam Ambil</th>
<th>Total</th> <th>Total</th>
<th>Status</th> <th>Status</th>
<th class="text-center">Aksi</th> <th>Aksi</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -61,7 +61,7 @@
@include('admin.pesanan.partials.modal-buket') @include('admin.pesanan.partials.modal-buket')
@empty @empty
<tr> <tr>
<td colspan="4" class="text-center text-muted">Belum ada data pesanan buket.</td> <td colspan="8" class="text-center text-muted">Belum ada data pesanan buket.</td>
</tr> </tr>
@endforelse @endforelse
</tbody> </tbody>

View File

@ -31,7 +31,7 @@
<th>Waktu</th> <th>Waktu</th>
<th>Total</th> <th>Total</th>
<th>Status</th> <th>Status</th>
<th class="text-center">Aksi</th> <th>Aksi</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -62,7 +62,7 @@
@include('admin.pesanan.partials.modal-foto') @include('admin.pesanan.partials.modal-foto')
@empty @empty
<tr> <tr>
<td colspan="4" class="text-center text-muted">Belum ada data pesanan foto.</td> <td colspan="8" class="text-center text-muted">Belum ada data pesanan foto.</td>
</tr> </tr>
@endforelse @endforelse
</tbody> </tbody>

View File

@ -95,9 +95,9 @@ class="badge {{ $p->status_label->class }}">
<div class="proof-img-wrapper"> <div class="proof-img-wrapper">
@if ($p->bukti_bayar) @if ($p->bukti_bayar)
{{-- Klik hanya pada gambar --}} {{-- Klik hanya pada gambar --}}
<img src="{{ asset($p->bukti_bayar) }}" class="proof-img" <img src="{{ asset('storage/' . $p->bukti_bayar) }}" class="proof-img"
style="cursor: pointer;" style="cursor: pointer;"
onclick="showImage('{{ asset($p->bukti_bayar) }}')"> onclick="showImage('{{ asset('storage/' . $p->bukti_bayar) }}')">
@else @else
{{-- Div pengganti kalau tidak ada foto --}} {{-- Div pengganti kalau tidak ada foto --}}
<div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded" <div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded"

View File

@ -90,9 +90,9 @@ class="badge {{ $p->status_label->class }}">
<div class="proof-img-wrapper"> <div class="proof-img-wrapper">
@if ($p->bukti_bayar) @if ($p->bukti_bayar)
{{-- Klik hanya pada gambar --}} {{-- Klik hanya pada gambar --}}
<img src="{{ asset($p->bukti_bayar) }}" class="proof-img" <img src="{{ asset('storage/' . $p->bukti_bayar) }}" class="proof-img"
style="cursor: pointer;" style="cursor: pointer;"
onclick="showImage('{{ asset($p->bukti_bayar) }}')"> onclick="showImage('{{ asset('storage/' . $p->bukti_bayar) }}')">
@else @else
{{-- Div pengganti kalau tidak ada foto --}} {{-- Div pengganti kalau tidak ada foto --}}
<div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded" <div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded"

View File

@ -94,9 +94,9 @@ class="badge {{ $rb->status_label->class }}">
<div class="proof-img-wrapper"> <div class="proof-img-wrapper">
@if ($rb->bukti_bayar) @if ($rb->bukti_bayar)
{{-- Klik hanya pada gambar --}} {{-- Klik hanya pada gambar --}}
<img src="{{ asset($rb->bukti_bayar) }}" class="proof-img" <img src="{{ asset('storage/' . $rb->bukti_bayar) }}" class="proof-img"
style="cursor: pointer;" style="cursor: pointer;"
onclick="showImage('{{ asset($rb->bukti_bayar) }}')"> onclick="showImage('{{ asset('storage/' . $rb->bukti_bayar) }}')">
@else @else
{{-- Div pengganti kalau tidak ada foto --}} {{-- Div pengganti kalau tidak ada foto --}}
<div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded" <div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded"

View File

@ -93,9 +93,9 @@ class="badge {{ $rf->status_label->class }}">
<div class="proof-img-wrapper"> <div class="proof-img-wrapper">
@if ($rf->bukti_bayar) @if ($rf->bukti_bayar)
{{-- Klik hanya pada gambar --}} {{-- Klik hanya pada gambar --}}
<img src="{{ asset($rf->bukti_bayar) }}" class="proof-img" <img src="{{ asset('storage/' . $rf->bukti_bayar) }}" class="proof-img"
style="cursor: pointer;" style="cursor: pointer;"
onclick="showImage('{{ asset($rf->bukti_bayar) }}')"> onclick="showImage('{{ asset('storage/' . $rf->bukti_bayar) }}')">
@else @else
{{-- Div pengganti kalau tidak ada foto --}} {{-- Div pengganti kalau tidak ada foto --}}
<div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded" <div class="custom-img-box d-flex align-items-center justify-content-center text-muted border rounded"

View File

@ -57,7 +57,7 @@
@include('admin.pesanan.partials.modal-riwayat-buket') @include('admin.pesanan.partials.modal-riwayat-buket')
@empty @empty
<tr> <tr>
<td colspan="4" class="text-center text-muted">Belum ada data riwayat pesanan <td colspan="7" class="text-center text-muted">Belum ada data riwayat pesanan
buket. buket.
</td> </td>
</tr> </tr>
@ -102,7 +102,7 @@
@include('admin.pesanan.partials.modal-riwayat-foto') @include('admin.pesanan.partials.modal-riwayat-foto')
@empty @empty
<tr> <tr>
<td colspan="4" class="text-center text-muted">Belum ada data riwayat pesanan <td colspan="7" class="text-center text-muted">Belum ada data riwayat pesanan
foto.</td> foto.</td>
</tr> </tr>
@endforelse @endforelse