Verbesserungen i80n, Bugfixes, uvm

This commit is contained in:
2026-03-28 14:04:01 +01:00
parent 7729aba416
commit e7adae9762
18 changed files with 202 additions and 65 deletions

View File

@@ -14,9 +14,9 @@ use Nette\Utils\Random;
class PreApplicationController extends Controller
{
public function send(Request $request){
$event = $request->input('event');
$event = $request->input('district_region');
$ce = ChaosEvents::where('id', $event)->where('to_date', '>=', now())->first();
$ce = ChaosEvents::where('id', $event)->where('to_date_internal', '>=', today())->where('from_date_internal', '<=', today())->first();
if($ce){
$passport_type = $request->input('passport_type');