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();
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<tr class="text-center">
|
||||
<th>No</th>
|
||||
<th>Cawangan</th>
|
||||
<th>Bil Marhun (Paket)</th>
|
||||
<th>Bil Surat</th>
|
||||
<th>Berat (gm)</th>
|
||||
<th>Nilai Marhun (RM)</th>
|
||||
<th>Pembiayaan (RM)</th>
|
||||
|
||||
Reference in New Issue
Block a user