<?php require '../require/comun.php'; $bd = new BaseDatos(); $modelodetalle = new ModeloDetalleVenta($bd); $idventa = Leer::get("id"); $parametro['idventa'] = $idventa; $detalles = $modelodetalle->getList(0, 30, "idventa=:idventa", $parametro); $modeloventas = new ModeloVenta($bd); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../css/estilos-front.css"> <title>Venta <?php echo $idventa; ?> - Gestión tienda</title> </head> <body> <header> <img class="logo" src="../img/logo.png"> <ul class="menu-principal"> <li><a href="../do/?">INICIO</a></li> <li><a href="../backend/gestion.php">GESTIÓN-PRINCIPAL</a></li> </ul> </header> <section> <h1>Detalles de la venta: <?php