session_start();
require_once '../clases/ventas_data.php';
require_once "../clases/PHPPaging.lib.php";
$paging = new PHPPaging();
$venta = new Venta();
$pedido = new Pedido();
$producto = new Producto();
$linea = new Linea();
$marca = new Marca();
$cliente = new Cliente();
$comprobante = new Comprobante();
$parametro = new Parametros();
if (!isset($_SESSION['sesion_id_usuario']) and !isset($_SESSION['sesion_id_area'])) {
    die("Usted no tiene acceso a esta area");
}
$pedido->pedido_ver($_REQUEST['ped_codigo']);
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Sistema de Ventas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link href="../estilos/css_sistema.css" rel="stylesheet" type="text/css">
</head>

<body>
<?php 
if ($_REQUEST['id'] === '1') {
    $rs = $pedido->detalle_pedido_listar($_REQUEST['ped_codigo']);