add scan serahan kpd pembida, add kebenaran bayaran tunai(xsiaplg), update xdeclarexlaku

This commit is contained in:
Nur Izzati Zulkifli
2022-10-15 18:17:59 +08:00
parent d7f72a8dfa
commit 838e56294d
28 changed files with 2270 additions and 294 deletions
@@ -1746,6 +1746,7 @@ class LelongController extends Controller
// foreach($highestprice as $price){
// $bidders = LelongBidder::where('lelongbid_id','=',$bid->id)->where('hargabida','=',$highestprice->hargabida)->orderBy('masa_bidaan','ASC' )->get();
$bidders = LelongBidder::join('lelongbid', 'lelongbid.id', '=', 'lelongbidder.lelongbid_id')
->where('lelongbid.lelong_id', '=', $lelong_id)
->where('lelongbid_id', '=', $bid->id)
->where('hargabida', '=', $highestprice->hargabida)->orderBy('masa_bidaan', 'ASC')
->select('lelongbidder.user_id', 'lelongbidder.id', 'lelongbidder.hargabida', 'lelongbid.pinjaman', 'lelongbid.bakiupah')