semak marhun
This commit is contained in:
@@ -160,7 +160,8 @@ class MarhunController extends Controller
|
||||
|
||||
}
|
||||
|
||||
public function senarailelongmarhun(Request $request){
|
||||
public function senarailelongmarhun(Request $request)
|
||||
{
|
||||
|
||||
$user = Auth::user();
|
||||
|
||||
@@ -177,6 +178,17 @@ class MarhunController extends Controller
|
||||
return view('marhun.senarailelongmarhun',compact('senarai'));
|
||||
}
|
||||
|
||||
public function semak($id)
|
||||
{
|
||||
$lelongbid = LelongBid::where('id','=',$id)->first();
|
||||
$lelongbid->status_semak = 1;
|
||||
$lelongbid->save();
|
||||
|
||||
return redirect()->route('marhun.show',$lelongbid->id)
|
||||
->with('success','Semakan Marhun Berjaya');
|
||||
}
|
||||
|
||||
//Operasi
|
||||
public function sahubahmutu(Request $request)
|
||||
{
|
||||
// dd($request->all());
|
||||
|
||||
Reference in New Issue
Block a user