diff --git a/src/appointment_management.php b/src/appointment_management.php index d2656d1..8d85813 100644 --- a/src/appointment_management.php +++ b/src/appointment_management.php @@ -112,7 +112,7 @@ if(isset($_POST["edit_form"])){ } if(isset($_POST["edit"])){ - appointmentModification(); + appointmentModification(); } if(isset($_POST["delete"])){ diff --git a/src/report_management.php b/src/report_management.php index f8feae5..da88128 100644 --- a/src/report_management.php +++ b/src/report_management.php @@ -33,13 +33,6 @@ function reportDeletion() } -function printPDF() -{ - $id = $_GET["print_pdf"]; - header('location: report.php'); -} - - if (isset($_POST["create"])) { reportCreation(); } @@ -53,8 +46,3 @@ if (isset($_POST["edit"])) { if (isset($_GET["delete"])) { reportDeletion(); } - - -if (isset($_GET["print_pdf"])) { - printPDF(); -}