File "actualiza_estado_cotizacion.php"

Full path: /home/dsvchile/public_html/equote/Cotizacion/transacciones/actualiza_estado_cotizacion.php
File size: 447 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

	header('Content-type: text/xml');

	include ("../../Utilidades/parse_vars.php");
	include ('../../Utilidades/Funciones.php');
	include ('../../Utilidades/envia_email.php');



	dbquery("UPDATE Cotizacion SET cot_estado='ACEPTADA' WHERE cot_id='$IdCotizacion'");

	SendEmail($IdCotizacion);

	$dom = new DOMDocument();

	$data = $dom->createElement('data');
	$dom->appendChild($data);

	$xmlString = $dom->saveXML();

	echo $xmlString;

?>