Compare commits
No commits in common. "a831b561770215c24deee26890f061c414392be2" and "859aff705e2c5ec8cda014a4ca88f55bee2a5b1b" have entirely different histories.
a831b56177
...
859aff705e
@ -38,7 +38,7 @@ class PesananController extends Controller
|
|||||||
$tanggalFormatted = [Carbon::now()->toDateString()];
|
$tanggalFormatted = [Carbon::now()->toDateString()];
|
||||||
}
|
}
|
||||||
|
|
||||||
$dataPending = Order::where('statusenabled', true)->whereIn('status_order', [
|
$dataPending = Order::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,7 +200,6 @@ 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