<form id="itemsCotizacion" onsubmit="return false;" method="post" name="itemsCotizacion">
{% include 'ventas/vistas/cotizaciones/vista-previa/cabecera.html.php' %}
{% include 'ventas/vistas/cotizaciones/vista-previa/datoscliente.html.php' %}
{% include 'ventas/vistas/cotizaciones/vista-previa/descripcionservicio.html.php' %}
{% include 'ventas/vistas/cotizaciones/vista-previa/totalservicio.html.php' %}
{% include 'ventas/vistas/cotizaciones/vista-previa/datosbanco.html.php' %}
{% include 'ventas/vistas/cotizaciones/vista-previa/firmas.html.php' %}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="col-md-6" style="text-align:center;">
{{ boton('editar',null,'editarCot()', "Editar Cotización" ) }}
</div>
<div class="col-md-6" style="text-align:center;">
{{ boton('descargar',null,'generarPDF()', "Generar Factura" ) }}
</div>
</div>
</div>
</div>
</form>
<script type="text/javascript">
function editarCot(){
cargarVista('ventas','Cotizaciones','editarCotizacion','cotizacionID='+"{{Cotizacion.cotizacionID}}",'Editar Cotización '+$("#numCotizacion").text(), 'nuevaCotizacion');
}
function generarPDF(){
alert("codigo para generar pdf");
}
</script>