From 343a37d60250d1a08969ac04e6ae99ac7a78c49a Mon Sep 17 00:00:00 2001
From: OscarRui <79144467+OscarRui@users.noreply.github.com>
Date: Thu, 6 May 2021 10:33:12 +0200
Subject: [PATCH] Editar/Eliminar sesiones
---
panel_manager/panel_manager.php | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/panel_manager/panel_manager.php b/panel_manager/panel_manager.php
index 05f0ffa..a3f1de1 100644
--- a/panel_manager/panel_manager.php
+++ b/panel_manager/panel_manager.php
@@ -141,7 +141,16 @@
'. str_replace('_', ' ', Session::getFilmTitle($session->getIdfilm())) .' |
'.$session->getFormat().' |
'.$session->getSeatPrice().' |
+
+
';
}
$panel.='
@@ -169,12 +178,9 @@
}
static function edit_session(){
- $panel = '
-
- Editar una session.
- En desarrollo...
-
- '."\n";
+ $data = array("option" => "edit_session","hall" => $_POST["hall"],"cinema" => $_SESSION["cinema"],"date" => $_POST['date'],"film" => $_POST['film'],"start" => $_POST['start'],"price" => $_POST['price'],"format" => $_POST['format']);
+ $panel = 'Editar una sesiĆ³n.
+ '.FormSession::generaCampoFormulario($data, null);
return $panel;
}
|