break; case 10: $codpedido = $_REQUEST['codpedido']; $_SESSION['codpedido'] = $codpedido; header('Location: ../view/detallepedido.php'); break; case 11: unset($_SESSION['pedxfecha']); $objDAO = new dao(); $fec1 = $_REQUEST['fec1']; $fec2 = $_REQUEST['fec2']; $opp = $_REQUEST['opp']; $_SESSION['fec1'] = $fec1; $_SESSION['fec2'] = $fec2; $_SESSION['opp'] = $opp; $pedxfecha = $objDAO->pedxfecha($fec1, $fec2); $_SESSION['pedxfecha'] = $pedxfecha; header('Location: ../view/pedidosxfecha.php'); break; case 12: unset($_SESSION['pediapro']); $objDAO = new dao(); $pediapro = $objDAO->pediapro(); $_SESSION['pediapro'] = $pediapro; header('Location: ../view/pediapro.php'); break; case 13: unset($_SESSION['pedipend']); $objDAO = new dao(); $pedipend = $objDAO->pedipend(); $_SESSION['pedipend'] = $pedipend;