tangguh lelong
edit add delete siappppp
This commit is contained in:
@@ -32,9 +32,6 @@ use App\Models\LelKarat_temp;
|
||||
use App\Models\Resit;
|
||||
use Carbon\Carbon;
|
||||
|
||||
|
||||
|
||||
|
||||
class LelongController extends Controller
|
||||
{
|
||||
/**
|
||||
@@ -349,9 +346,10 @@ class LelongController extends Controller
|
||||
public function delete($id)
|
||||
{
|
||||
$lelong = Lelong::where('id','=',$id)->first();
|
||||
|
||||
// dd($role);
|
||||
$lelong->delete();
|
||||
|
||||
// $gadai = Gadai::
|
||||
return redirect()->route('lelong.senarailelong')
|
||||
->with('success','Padam Lelong Berjaya');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user