Perbaikan Menu Laporan per pintu pos
This commit is contained in:
@@ -85,8 +85,8 @@ public function gateData(Request $request)
|
||||
->when(isset($request->status_transaksi), function ($q) use ($request) {
|
||||
|
||||
return match ($request->status_transaksi) {
|
||||
'0' => $q->whereNotIn('tp.status_transaksi', ['3','-1'])->whereNotNull('alasan'),
|
||||
// '0' => $q->whereNotIn('tp.status_transaksi', '5')->whereNotNull('alasan'),
|
||||
// '0' => $q->whereNotIn('tp.status_transaksi', ['3','-1'])->whereNotNull('alasan'),
|
||||
'0' => $q->where('tp.status_transaksi', '0')->whereNull('alasan'),
|
||||
'3' => $q->where('tp.status_transaksi', '3')->whereNull('alasan'),
|
||||
'-1' => $q->where('tp.status_transaksi', '-1')->whereNotNull('alasan'),
|
||||
'null' => $q->whereNull('alasan')
|
||||
|
||||
Reference in New Issue
Block a user