|
|
@ -308,7 +308,7 @@ class ParkingLicensePlateController extends BaseController |
|
|
$license_plate_id = ParkingLicensePlate::getValueId($license_plate); |
|
|
$license_plate_id = ParkingLicensePlate::getValueId($license_plate); |
|
|
|
|
|
|
|
|
if (!$license_plate_id) { |
|
|
if (!$license_plate_id) { |
|
|
throw new CustomException(__validation('controller.license_plate.not_exists')); |
|
|
throw new CustomException(__('controller.license_plate.not_exists')); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$parkingSpace = ParkingSpace::query()->where( |
|
|
$parkingSpace = ParkingSpace::query()->where( |
|
|
|