13 lines
351 B
PHP
13 lines
351 B
PHP
<?php
|
|
include('includes/config/config.php');
|
|
include('includes/functions.php');
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
$id = $_REQUEST['id'];
|
|
$app_type = $_REQUEST['app_type'];
|
|
$booking_id = '';
|
|
if (!empty($id)) {
|
|
$booking_id = updateBookedAppointment($app_type, $_POST['emp_id'], $_POST['checkdown_date'], $id);
|
|
}
|
|
echo json_encode($booking_id);
|
|
?>
|