update 15/11/2022
This commit is contained in:
@@ -663,7 +663,7 @@ class LelongController extends Controller
|
||||
$simulasi->delete();
|
||||
|
||||
return redirect()->route('lelong.senarailelong')
|
||||
->with('success','Create Lelong Berjaya');
|
||||
->with('success','Pendaftaran Lelong Berjaya');
|
||||
|
||||
}
|
||||
|
||||
@@ -678,6 +678,7 @@ class LelongController extends Controller
|
||||
|
||||
$currentdate = Carbon::now();
|
||||
$currentdate2 = $currentdate->toDateString();
|
||||
|
||||
|
||||
$lelong = CawanganLelong::join('lelong', 'cawangan_lelong.lelong_id', '=', 'lelong.id')
|
||||
->select('lelong_id','tarikh_lelong','lelong.fasa','lelong.masatamat_lelong','harga_emas_asas','jbg','cajlelong','sts_lelong','lelong.created_at')
|
||||
@@ -689,12 +690,19 @@ class LelongController extends Controller
|
||||
foreach($lelong as $laporan)
|
||||
{
|
||||
$details = CawanganLelong::join('cawangan','cawangan_lelong.caw_id','=','cawangan.id')
|
||||
->where('lelong_id',$laporan['lelong_id'])
|
||||
->where('lelong_id',$laporan['lelong_id'])
|
||||
|
||||
->get()
|
||||
->toArray();
|
||||
->toArray();
|
||||
|
||||
array_push($arraydetails,['laporan' => $laporan,'details' => $details]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
///////////// lelong belum mula
|
||||
|
||||
$lelong2 = CawanganLelong::join('lelong', 'cawangan_lelong.lelong_id', '=', 'lelong.id')
|
||||
@@ -715,6 +723,7 @@ class LelongController extends Controller
|
||||
|
||||
////////// lelong selesai
|
||||
|
||||
|
||||
$lelong3 = CawanganLelong::join('lelong', 'cawangan_lelong.lelong_id', '=', 'lelong.id')
|
||||
->select('lelong_id','tarikh_lelong','lelong.fasa','lelong.masatamat_lelong','harga_emas_asas','jbg','cajlelong','sts_lelong','lelong.created_at')
|
||||
->groupBy('lelong_id')
|
||||
@@ -750,6 +759,7 @@ class LelongController extends Controller
|
||||
|
||||
/////////////// lelong jana pemenang
|
||||
|
||||
|
||||
$lelong5 = CawanganLelong::join('lelong', 'cawangan_lelong.lelong_id', '=', 'lelong.id')
|
||||
->select('lelong_id','tarikh_lelong','lelong.fasa','lelong.masatamat_lelong','harga_emas_asas','jbg','cajlelong','sts_lelong','lelong.created_at')
|
||||
->groupBy('lelong_id')
|
||||
@@ -764,9 +774,6 @@ class LelongController extends Controller
|
||||
->toArray();
|
||||
array_push($arraydetails5,['laporan5' => $laporan5,'details5' => $details5]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return view('lelong.senarailelong',compact('lelong', 'arraydetails',
|
||||
'lelong2','arraydetails2',
|
||||
@@ -3103,7 +3110,7 @@ class LelongController extends Controller
|
||||
}
|
||||
|
||||
return redirect()->route('lelong.senarailelong')
|
||||
->with('success','Create Lelong Berjaya');
|
||||
->with('success','Pendaftaran Lelong Berjaya');
|
||||
|
||||
}
|
||||
public function listsagbycust($lelongid, $cawid)
|
||||
|
||||
Reference in New Issue
Block a user