Fix issue tangguh lelong, set lelongbidmarhun_id=0 when PC do tangguh
This commit is contained in:
@@ -546,12 +546,10 @@ class MarhunController extends Controller
|
||||
$lelongbid->filemarhun_id = $filemarhun->id;
|
||||
}
|
||||
$marhun = LelongBidMarhun::with(
|
||||
// ['pengesahan' => function ($query)
|
||||
// {
|
||||
// $query->select('norujukan');
|
||||
// }
|
||||
// ]
|
||||
'pengesahan',
|
||||
['pengesahan' => function ($query) use($id) {
|
||||
$query->where('lelongbid_id', $id);
|
||||
|
||||
}]
|
||||
)
|
||||
->where('lelongbid_id', '=', $id)
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user