@php $notif_topnav_pesanan = DB::table('pesanan') ->where('pesanan.status', 'Bukti Pembayaraan Sedang Di Tinjau') ->orWhere('pesanan.status', 'Pesanan Di Terima') ->orderBy('pesanan.updated_at', 'desc') ->get(); $notif_topnav_pesanan_berjalan = DB::table('pesanan') ->where('pesanan.status', 'Pesanan Di Terima') ->orderBy('pesanan.updated_at', 'desc') ->get(); $notif_topnav_pesanan_onpaid = DB::table('pesanan') ->where('pesanan.status', 'Bukti Pembayaraan Sedang Di Tinjau') ->orderBy('pesanan.updated_at', 'desc') ->get(); @endphp
Notifications
View All
@if ($notif_topnav_pesanan_onpaid->count() > 0)
Permintaan Konfirmasi

{{$notif_topnav_pesanan_onpaid->count() }} Orderan Meminta Konfirmasi Pembayaran

@endif @if ($notif_topnav_pesanan_berjalan->count() > 0)
Orderan Yang Berjalan / On-Proses

Orderan Dalam Pengerjaan {{ $notif_topnav_pesanan_berjalan->count() }} Orderan

@endif
View More..
Profile Logout
@csrf
{{--
--}}