senarai tangguh lelong & details
This commit is contained in:
@@ -643,10 +643,22 @@ class MarhunController extends Controller
|
||||
|
||||
public function senarailelong()
|
||||
{
|
||||
$lelong = Lelong::where('sts_lelong', 0)
|
||||
->get();
|
||||
$arrayinfo = [];
|
||||
|
||||
return view('pengesahan.senarailelong',compact('lelong'));
|
||||
$lelong = Lelong::where('sts_lelong', 0)
|
||||
->get()->toArray();
|
||||
|
||||
foreach($lelong as $details)
|
||||
{
|
||||
$detailsinfo = CawanganLelong::join('cawangan','cawangan_lelong.caw_id','=','cawangan.id')
|
||||
->where('lelong_id', $details['id'])
|
||||
->get()
|
||||
->toArray();
|
||||
|
||||
array_push($arrayinfo,['detail'=>$details, 'detailsinfo'=>$detailsinfo]);
|
||||
}
|
||||
|
||||
return view('pengesahan.senarailelong',compact('lelong', 'arrayinfo'));
|
||||
}
|
||||
|
||||
public function senaraitangguhlelong($id)
|
||||
|
||||
Reference in New Issue
Block a user