<?php

include_once '../Controller/Cotizar.php';
echo '<pre>';
$id_servicio = $_POST['Servicios'];
$cantidad = $_POST['cantida'];
$id_cotizacion = $_POST['CodCabCotizacion'];
$Precio = $_POST['precio'];
$cot = new Cotizar();
$id = $cot->DetalleCotizacion($id_servicio, $cantidad, $id_cotizacion, $Precio);
var_dump($id);
<?php

include_once '../Controller/Cotizar.php';
include_once '../Controller/Visual.php';
$Render = new Visual();
$cot = new Cotizar();
$Servicios = $_POST["Servicios"];
$cantidad = $_POST["cantida"];
$CodCabCotizacion = $_POST["CodCabCotizacion"];
$id = $cot->DetalleCotizacion($Servicios, $cantidad, $CodCabCotizacion);
$Res = $cot->VerCotizacion($CodCabCotizacion);
echo '<h1 align="center">Precio $' . number_format($cot->Total($CodCabCotizacion), 0, ',', '.') . '</h1><br/>';
$Res = $Render->FormatoNumerico($Res, 3, '$', 0);
$Res = $Render->FormatoNumerico($Res, 4, '$', 0);
echo $Render->Tabla($Res, '', array('#', 'Proveedor', 'Servicio', 'Cantidad', 'Valor unitario', 'Valor total'), 'table', '', TRUE);