<?php
require_once '../app/db.php';
$id = $_GET['id'];

$pdo->prepare("
UPDATE bookings
SET payment_method='corporate', payment_status='pending'
WHERE id=?
")->execute([$id]);

echo "Corporate invoice issued. Our finance team will contact you.";
