tangguh lelong

edit add delete siappppp
This commit is contained in:
faiqahzaman
2022-03-20 17:02:58 +08:00
parent e3e62f3143
commit 15753afcff
4 changed files with 65 additions and 29 deletions
+2 -4
View File
@@ -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');
}