Fix senarai lelong show by id
This commit is contained in:
@@ -154,7 +154,7 @@ class LelongController extends Controller
|
||||
public function show(Request $request, $id)
|
||||
{
|
||||
$lelong_id = $id;
|
||||
$lelong = Lelong::with(['cawangan', 'lelongBid.lelongBidMarhun', 'lelKarat'])->first();
|
||||
$lelong = Lelong::with(['cawangan', 'lelongBid.lelongBidMarhun', 'lelKarat'])->find($id);
|
||||
$lelkarat = $lelong->lelKarat;
|
||||
$jeniskarat = JenisKarat::all();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user