update
This commit is contained in:
@@ -335,14 +335,19 @@ class LelongController extends Controller
|
||||
{
|
||||
$lelong = Lelong::where('id','=',$id)->first();
|
||||
$lelong->masatamat_lelong = '2021-12-20 04:51:50';
|
||||
$lelong->sts_lelong = 1;
|
||||
$lelong->save();
|
||||
|
||||
return redirect()->route('lelong.senarailelong')
|
||||
->with('success','Lelongan bermula');
|
||||
}
|
||||
|
||||
public function refresh()
|
||||
public function refresh($id)
|
||||
{
|
||||
$lelong = Lelong::where('id','=',$id)->first();
|
||||
$lelong->masakemaskini_data = '2021-12-20 04:51:50';
|
||||
$lelong->save();
|
||||
|
||||
return redirect()->route('lelong.senarailelong')
|
||||
->with('success','Kemaskini Berjaya');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user