block tangguhlelong if tarikh_lelong = currentdate

This commit is contained in:
nishaMuhd
2022-10-26 11:31:28 +08:00
parent 92eccf59f0
commit 6a4200bfef
2 changed files with 4 additions and 3 deletions
@@ -27,7 +27,8 @@ class TangguhLelongController extends Controller
public function senleluntuktangguh()
{
$user = Auth::user();
$currentdate = Carbon::now();
$currentdate = $currentdate->toDateTimeString();
$arrayinfo = [];
$lelong = CawanganLelong::join('lelong','cawangan_lelong.lelong_id','=','lelong.id')
@@ -58,7 +59,7 @@ class TangguhLelongController extends Controller
}
return view('tangguhlelong.senarailelongtangguh',compact('lelong', 'arrayinfo'));
return view('tangguhlelong.senarailelongtangguh',compact('lelong', 'arrayinfo', 'currentdate'));
}
public function carian($lelong_id)