Add files via upload
This commit is contained in:
parent
157201c2f8
commit
53dbcbe6a6
@ -14,6 +14,7 @@ class FormHall extends Form {
|
|||||||
|
|
||||||
$this->option = $option;
|
$this->option = $option;
|
||||||
$this->cinema = $cinema;
|
$this->cinema = $cinema;
|
||||||
|
if($hall)
|
||||||
$this->og_hall = $hall;
|
$this->og_hall = $hall;
|
||||||
|
|
||||||
if($option == "edit_hall")
|
if($option == "edit_hall")
|
||||||
@ -39,7 +40,7 @@ class FormHall extends Form {
|
|||||||
}
|
}
|
||||||
$alltozero = $_POST["alltozero"] ?? 0;
|
$alltozero = $_POST["alltozero"] ?? 0;
|
||||||
//Show the original seats_map once u click restart or the first time u enter this form from manage_halls's form
|
//Show the original seats_map once u click restart or the first time u enter this form from manage_halls's form
|
||||||
if(!isset($_GET["editing"])){
|
if($this->option == "edit_hall" && !isset($_GET["editing"])){
|
||||||
$rows = $this->og_hall->getNumRows();
|
$rows = $this->og_hall->getNumRows();
|
||||||
$cols = $this->og_hall->getNumCol();
|
$cols = $this->og_hall->getNumCol();
|
||||||
$seat_list = Seat::getSeatsMap($this->og_hall->getNumber(), $this->cinema);
|
$seat_list = Seat::getSeatsMap($this->og_hall->getNumber(), $this->cinema);
|
||||||
|
Loading…
Reference in New Issue
Block a user