Merge pull request #2756 from jitendra-webkul/1.0
Fixed undefind variable issue in rental booking helper
This commit is contained in:
commit
adc75554a1
|
|
@ -158,6 +158,8 @@ class RentalSlot extends Booking
|
|||
|
||||
return $isExpired;
|
||||
} else {
|
||||
$currentTime = Carbon::now();
|
||||
|
||||
$requestedFromDate = Carbon::createFromTimeString($cartItem['additional']['booking']['date_from'] . " 00:00:00");
|
||||
|
||||
$requestedToDate = Carbon::createFromTimeString($cartItem['additional']['booking']['date_to'] . " 23:59:59");
|
||||
|
|
|
|||
Loading…
Reference in New Issue