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>Asiento(s):".$seats."</p>
|
||||||
<p>Fecha: ".date_format(date_create($this->session->getDate()), 'd-m-Y')."</p>
|
<p>Fecha: ".date_format(date_create($this->session->getDate()), 'd-m-Y')."</p>
|
||||||
<p>Hora: ".$this->session->getStartTime()."</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>
|
||||||
<fieldset id='pagar_entrada'><pre>".$htmlErroresGlobales."</pre>
|
<fieldset id='pagar_entrada'><pre>".$htmlErroresGlobales."</pre>
|
||||||
<legend>Datos Bancarios</legend>
|
<legend>Datos Bancarios</legend>
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
$seatsArray = array_combine(unserialize($purchase->getRow()), unserialize($purchase->getColumn()));
|
$seatsArray = array_combine(unserialize($purchase->getRow()), unserialize($purchase->getColumn()));
|
||||||
$seats = "";
|
$seats = "";
|
||||||
foreach($seatsArray as $key=>$value){
|
for($i=0; $i < count(unserialize($purchase->getRow())); $i++){
|
||||||
$seats .= $key."-".$value.", ";
|
$seats .= unserialize($purchase->getRow())[$i]."-".unserialize($purchase->getColumn())[$i].", ";
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($_SESSION["purchase"]);
|
unset($_SESSION["purchase"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user