<?php
require '../config/db.php';

$pdo->prepare("
UPDATE development_employee_leave_requests
SET status='Rejected'
WHERE id=?
")->execute([$_POST['id']]);

header("Location: development_leave_approvals.php");
exit;
