Add files via upload
This commit is contained in:
parent
3dc56e4618
commit
1fac908cd5
@ -110,7 +110,7 @@ class FormPurchase extends Form {
|
||||
<p>Asiento(s):".$seats."</p>
|
||||
<p>Fecha: ".date_format(date_create($this->session->getDate()), 'd-m-Y')."</p>
|
||||
<p>Hora: ".$this->session->getStartTime()."</p>
|
||||
<p>Precio: ".$this->session->getSeatPrice()*count($this->seat)."€</p>
|
||||
<p>Precio Total: ".$this->session->getSeatPrice()*count($this->seat)."€ (Precio por asiento: ".$this->session->getSeatPrice()." €)</p>
|
||||
</fieldset>
|
||||
<fieldset id='pagar_entrada'><pre>".$htmlErroresGlobales."</pre>
|
||||
<legend>Datos Bancarios</legend>
|
||||
|
@ -20,8 +20,8 @@
|
||||
|
||||
$seatsArray = array_combine(unserialize($purchase->getRow()), unserialize($purchase->getColumn()));
|
||||
$seats = "";
|
||||
foreach($seatsArray as $key=>$value){
|
||||
$seats .= $key."-".$value.", ";
|
||||
for($i=0; $i < count(unserialize($purchase->getRow())); $i++){
|
||||
$seats .= unserialize($purchase->getRow())[$i]."-".unserialize($purchase->getColumn())[$i].", ";
|
||||
}
|
||||
|
||||
unset($_SESSION["purchase"]);
|
||||
|
Loading…
Reference in New Issue
Block a user