<?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', ['status', 'date_done', 'notes'], ['DONE', $date, $_POST['notes']], "record_id = {$_POST['booking_id']}");

echo "<script>window.location.href = 'bookings.php';</script>";
