feat: move pelelong berlesen functions to operasi and update login and reports (#4)

Co-authored-by: nurafrinaalimi16 <nurafrinaalimi16@gmail.com>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-10-06 11:26:49 +08:00
parent 56ebb153b5
commit b1d393b1a1
37 changed files with 837 additions and 1318 deletions
+2 -2
View File
@@ -1948,7 +1948,7 @@ class LelongController extends Controller
public function stopcawangan($id,$cawid)
{
event(new LelongNotify('start'));
event(new LelongNotify('stop'));
$currentdate = Carbon::now();
$currenttime = $currentdate->toTimeString();
$endtime = $currentdate->addHours(2);
@@ -1965,7 +1965,7 @@ class LelongController extends Controller
$lelong->save();
return redirect()->route('home')
->with('success','Lelongan bermula');
->with('success','Lelongan ditamatkan');
}
public function startall($id)