Fix senarai sag menang group by cawangan, operasi

This commit is contained in:
Amir
2023-02-19 12:14:52 +08:00
parent 6a88c5ca27
commit 8f1577cca1
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -324,7 +324,7 @@ class PembidaController extends Controller
public function detailsbidaan($user_id, $kodcaw)
public function detailsbidaan($lelong_id, $user_id, $kodcaw)
{
$userdetail = User::where('id', $user_id)->first();
@@ -336,6 +336,7 @@ class PembidaController extends Controller
->where('cawangan.caw_code', $kodcaw)
->where('lelongbid.kodcaw', $kodcaw)
->where('lelongbidder.status_payment', 1)
->where('lelongbid.lelong_id', $lelong_id)
->select('lelongbid.id as lelongbid_id',
'lelongbidder.id as lelongbidder_id',
'lelongbid.lelong_id',