<?php include $_SERVER['DOCUMENT_ROOT'] . "/WebApp/assesor/html.class.php";
$db = new DBMain();
$date = date('Y-m-d H:i', strtotime("+ 2hours"));

$db->Update('bookings', ['date_done','notes', 'induction_date', 'medical_date', 'industry'], [$date, $_POST['notes'], $_POST['induction_date'], $_POST['medical_date'], $_POST['industry']], "record_id = {$_POST['booking_id']}");

echo "<script>window.location.href = 'license.php?booking_id={$_POST['booking_id']}';</script>";
