Compare commits
2 Commits
859aff705e
...
a831b56177
| Author | SHA1 | Date | |
|---|---|---|---|
| a831b56177 | |||
| 567ec63dc5 |
@ -38,7 +38,7 @@ class PesananController extends Controller
|
|||||||
$tanggalFormatted = [Carbon::now()->toDateString()];
|
$tanggalFormatted = [Carbon::now()->toDateString()];
|
||||||
}
|
}
|
||||||
|
|
||||||
$dataPending = Order::whereIn('status_order', [
|
$dataPending = Order::where('statusenabled', true)->whereIn('status_order', [
|
||||||
'Menunggu Konfirmasi Pembayaran',
|
'Menunggu Konfirmasi Pembayaran',
|
||||||
'Menunggu Konfirmasi Pembayaran Via Billing',
|
'Menunggu Konfirmasi Pembayaran Via Billing',
|
||||||
'Menunggu Konfirmasi Pesanan MCU'
|
'Menunggu Konfirmasi Pesanan MCU'
|
||||||
@ -200,6 +200,7 @@ class PesananController extends Controller
|
|||||||
|
|
||||||
public function dataPending(){
|
public function dataPending(){
|
||||||
$data = Order::selectRaw('DATE(entry_at) as tgl, COUNT(*) as total')
|
$data = Order::selectRaw('DATE(entry_at) as tgl, COUNT(*) as total')
|
||||||
|
->where('statusenabled', true)
|
||||||
->whereIn('status_order', [
|
->whereIn('status_order', [
|
||||||
'Menunggu Konfirmasi Pembayaran',
|
'Menunggu Konfirmasi Pembayaran',
|
||||||
'Menunggu Konfirmasi Pembayaran Via Billing',
|
'Menunggu Konfirmasi Pembayaran Via Billing',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user