Fix cannot update upload overall marhun photo
This commit is contained in:
@@ -515,6 +515,7 @@ class MarhunController extends Controller
|
||||
|
||||
public function show($id, $lelong_id)
|
||||
{
|
||||
|
||||
$lelongbid = LelongBid::where('id', '=', $id)->first();
|
||||
$filemarhun = FileMarhun::where('lelongbid_id', '=', $lelongbid['id'])
|
||||
->where('photo_type', '=', '1')
|
||||
@@ -540,16 +541,13 @@ class MarhunController extends Controller
|
||||
$index->eachmarhun_id = $eachmarhun->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* FIXME:
|
||||
* Status here need to clarify
|
||||
*/
|
||||
$status = Pengesahan::where('lelongbid_id', $id)
|
||||
->where('lelong_id', $lelongbid['lelong_id'])
|
||||
->first();
|
||||
// dd($status);
|
||||
// $marhun[$index->status_semak] = $status;
|
||||
// dd($status);
|
||||
|
||||
|
||||
$index->status = $status;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user