prepare("UPDATE tax_reports SET status = :status WHERE id = :id"); $stmt->execute([':status' => $new_status, ':id' => $report_id]); } catch (PDOException $e) { // Sebaiknya log error ini di production die("Database error: " . $e->getMessage()); } } // Redirect kembali ke dashboard header("Location: dashboard.php"); exit(); ?>