예제 #1
0
$css = new CssIni("SoftConTech Compra de Mercancias");
?>
	</head>
 
	<body>
   
	 <?php 
$obVenta = new ProcesoVenta($idUser);
$myPage = "CompraMercancias.php";
$css->CabeceraIni("SoftConTech Compra de Mercancias");
$DatosUsuarios = $obVenta->DevuelveValores("usuarios", "idUsuarios", $idUser);
$css->CreaBotonDesplegable("Proveedor", "Crear Proveedor");
$css->CabeceraFin();
/////////////////Cuadro de dialogo de Proveedores create
$css->CrearCuadroDeDialogo("Proveedor", "Crear Proveedor");
$css->CrearForm("FrmCrearCliente", $myPage, "post", "_self");
$css->CrearSelect("CmbTipoDocumento", "Oculta()");
$css->CrearOptionSelect('13', 'Cedula', 1);
$css->CrearOptionSelect('31', 'NIT', 0);
$css->CerrarSelect();
//$css->CrearInputText("CmbPreVentaAct","hidden","",$idPreventa,"","","","",0,0,0,0);
$css->CrearInputText("TxtNIT", "number", "", "", "Identificacion", "black", "", "", 200, 30, 0, 1);
$css->CrearInputText("TxtPA", "text", "", "", "Primer Apellido", "black", "onkeyup", "CreaRazonSocial()", 200, 30, 0, 0);
$css->CrearInputText("TxtSA", "text", "", "", "Segundo Apellido", "black", "onkeyup", "CreaRazonSocial()", 200, 30, 0, 0);
$css->CrearInputText("TxtPN", "text", "", "", "Primer Nombre", "black", "onkeyup", "CreaRazonSocial()", 200, 30, 0, 0);
$css->CrearInputText("TxtON", "text", "", "", "Otros Nombres", "black", "onkeyup", "CreaRazonSocial()", 200, 30, 0, 0);
$css->CrearInputText("TxtRazonSocial", "text", "", "", "Razon Social", "black", "", "", 200, 30, 0, 1);
$css->CrearInputText("TxtDireccion", "text", "", "", "Direccion", "black", "", "", 200, 30, 0, 1);
$css->CrearInputText("TxtTelefono", "text", "", "", "Telefono", "black", "", "", 200, 30, 0, 1);
$css->CrearInputText("TxtEmail", "text", "", "", "Email", "black", "", "", 200, 30, 0, 1);
//echo "<div style='width: 500px;display:block;position: relative;margin: 10px; height:300px;'>";
예제 #2
0
?>
	</head>
 
	<body>
   
	 <?php 
$obVenta = new ProcesoVenta($idUser);
$myPage = "VentaFacil.php";
$css->CabeceraIni("SoftConTech Ventas");
$DatosUsuarios = $obVenta->DevuelveValores("usuarios", "idUsuarios", $idUser);
//if($DatosUsuarios['Role']=="FACTURA")
$css->CreaBotonAgregaPreventa($myPage, $idUser);
if ($idPreventa > 1) {
    $css->CreaBotonDesplegable("cant2", "Crear Separado");
}
$css->CrearForm("FrmPreventaSel", $myPage, "post", "_self");
$css->CrearSelect("CmbPreVentaAct", "EnviaForm('FrmPreventaSel')");
$css->CrearOptionSelect('NO', 'Seleccione una preventa', 0);
$pa = mysql_query("SELECT * FROM vestasactivas WHERE Usuario_idUsuario='{$idUser}'");
while ($DatosVentasActivas = mysql_fetch_array($pa)) {
    $label = $DatosVentasActivas["idVestasActivas"] . " " . $DatosVentasActivas["Nombre"];
    if ($idPreventa == $DatosVentasActivas["idVestasActivas"]) {
        $Sel = 1;
    } else {
        $Sel = 0;
    }
    $css->CrearOptionSelect($DatosVentasActivas["idVestasActivas"], $label, $Sel);
}
$css->CerrarSelect();
$css->CrearInputText("TxtBuscarCliente", "text", "Buscar Cliente: ", "", "Digite un Dato del cliente", "white", "", "", 200, 30, 0, 0);
$css->CerrarForm();
예제 #3
0
    <div class="container">
	
	
	
     	  
	  <div id="TipoEgresos" class="container" >
	
		<h2 align="center">
			<?php 
if (!empty($RutaPrintComp)) {
    $css->CrearTabla();
    $css->CrearFilaNotificacion("Egreso registrado Correctamente <a href='{$RutaPrintComp}' target='_blank'>Imprimir Comprobante</a>", 16);
    $css->CerrarTabla();
}
////////Creo el la tabla para seleccionar un proveedor
$css->CrearForm("FrmBuscarProveedor", $myPage, "post", "_self");
$css->CrearInputText("TxtIdPre", "hidden", "", $TipoEgresos, "", "", "", "", 150, 30, 0, 0);
$css->CrearInputText("TxtBuscarProveedor", "text", '', '', "Buscar Un Proveedor", "black", "", "", 300, 30, 0, 1);
$css->CrearBoton("BtnBuscarProveedor", "Buscar");
$css->CerrarForm();
if (empty($_REQUEST["TxtAsociarProveedor"])) {
    $css->CrearTabla();
    $css->CrearFilaNotificacion("No se ha seleccionado un Proveedor", 16);
    $css->CerrarTabla();
} else {
    ////////Creo el formulario para seleccionar el tipo de egreso
    $css->CrearForm("FrmAsignaEgreso", $myPage, "post", "_self");
    $css->CrearInputText("TxtAsociarProveedor", "hidden", "", $_REQUEST["TxtAsociarProveedor"], "", "", "", "", 150, 30, 0, 0);
    $css->CrearTabla();
    $css->FilaTabla(16);
    $css->ColTabla("Seleccione el tipo de egreso:", 2);
예제 #4
0
 $css->CrearFilaNotificacion("PRE-FACTURA", 18);
 $css->FilaTabla(16);
 $css->ColTabla("<strong>Referencia</strong>", 1);
 $css->ColTabla("<strong>Descripcion</strong>", 1);
 $css->ColTabla("<strong>Valor Unitario / Cantidad</strong>", 1);
 $css->ColTabla("<strong>Total Item</strong>", 1);
 $css->ColTabla("<strong>Borrar</strong>", 1);
 $css->CierraFilaTabla();
 while ($DatosItemsCotizacion = mysql_fetch_array($consulta)) {
     $idItem = $DatosItemsCotizacion["ID"];
     $css->FilaTabla(16);
     $css->ColTabla($DatosItemsCotizacion["Referencia"], 1);
     $css->ColTabla($DatosItemsCotizacion["Descripcion"], 1);
     $DatosProducto = $obVenta->DevuelveValores($DatosItemsCotizacion["TablaOrigen"], "Referencia", $DatosItemsCotizacion["Referencia"]);
     print "<td>";
     $css->CrearForm("FormEditarCotizacion{$idItem}", $myPage, "post", "_self");
     $css->CrearInputText("TxtIdCotizacion", "hidden", "", $idCotizacion, "", "", "", "", "", "", 0, 0);
     $css->CrearInputText("TxtIdItemCotizacion", "hidden", "", $idItem, "", "", "", "", "", "", 0, 0);
     $css->CrearInputNumber("TxtValorUnitario", "number", "", $DatosItemsCotizacion["ValorUnitario"], "ValorUnitario", "black", "", "", 120, 30, 0, 1, $DatosProducto["CostoUnitario"], $DatosItemsCotizacion["ValorUnitario"] . "0", "any");
     $css->CrearInputNumber("TxtCantidad", "number", "", $DatosItemsCotizacion["Cantidad"], "ValorUnitario", "black", "", "", 80, 30, 0, 1, 1.0E-5, "", "any");
     $css->CrearBotonVerde("BtnEditar", "E");
     $css->CerrarForm();
     print "</td>";
     $css->ColTabla($DatosItemsCotizacion["Subtotal"], 1);
     $css->ColTablaDel($myPage, "cot_itemscotizaciones", "ID", $DatosItemsCotizacion['ID'], $idCotizacion);
     $css->CierraFilaTabla();
 }
 $css->CerrarTabla();
 /////////////////Mostramos Totales y Se crea el formulario para guardar la devolucion
 ////
 ////
예제 #5
0
     	  
	  <div id="Usuarios" class="container" >
	
		<h2 align="center">
                    <?php 
$imagerute = "../images/informes.png";
$Ruta = $myPage;
$css->CrearImageLink($Ruta, $imagerute, "_self", 150, 150);
?>
</h2>
               		<table class="table table-bordered" >
                      <tr>
                        <td>
                        	
                            <?php 
$css->CrearForm("FrmInformeVentas", "../tcpdf/examples/InformeAdmin.php", "post", "_blank");
$css->CrearTabla();
$css->ColTabla("<h4>Seleccione el Rango de Fechas</h4>", 3);
$css->CierraColTabla();
print "</tr>";
print "<tr>";
print "<td>";
$css->CrearInputText("TxtFechaIni", "date", "Fecha Inicial: ", $fecha, "", "", "", "", 150, 30, 0, 0);
print "</td>";
print "<td>";
$css->CrearInputText("TxtFechaFinal", "date", "Fecha Final: ", $fecha, "", "", "", "", 150, 30, 0, 0);
print "</td>";
$css->ColTablaBoton("BtnEnviar", "Enviar");
print "</tr>";
$css->CierraFilaTabla();
$css->CerrarForm();
예제 #6
0
<html>
  
	<head>
	
	 <?php 
$css = new CssIni("Remisiones");
?>
	</head>
 
	<body>
   
	 <?php 
$obVenta = new ProcesoVenta($idUser);
$myPage = "Remisiones.php";
$css->CabeceraIni("SoftConTech Remisiones");
$css->CrearForm("FrmBuscarCotizacion", $myPage, "post", "_self");
$css->CrearInputText("TxtBuscarCotizacion", "text", "Buscar Cotizacion: ", "", "Digite el numero de una cotizacion", "white", "", "", 300, 30, 0, 0);
$css->CrearBoton("BtnBuscarCotizacion", "Buscar");
$css->CerrarForm();
$css->CabeceraFin();
$css->CreaMenuBasico("Menu");
$css->CreaSubMenuBasico("Historial de Remisiones", "historialremisiones.php");
$css->CierraMenuBasico();
?>
	

	

	
    <div class="container" align="center">
	<br>
예제 #7
0
    $idFactura = $_REQUEST['idFactura'];
}
print "<html>";
print "<head>";
$css = new CssIni("Registrar Ingreso");
print "</head>";
print "<body>";
$obVenta = new ProcesoVenta($idUser);
include_once "procesadores/procesaIngreso.php";
$myPage = "RegistrarIngreso.php";
$css->CabeceraIni("Registrar Ingreso");
//Inicia la cabecera de la pagina
//////////Creamos el formulario de busqueda de remisiones
/////
/////
$css->CrearForm("FrmBuscarFactura", $myPage, "post", "_self");
$css->CrearInputText("TxtBuscarFactura", "text", "Buscar Factura: ", "", "Digite el numero de una Factura", "white", "", "", 300, 30, 0, 0);
$css->CrearBoton("BtnBuscarFactura", "Buscar");
$css->CerrarForm();
$css->CabeceraFin();
///////////////Creamos el contenedor
/////
/////
$css->CrearDiv("principal", "container", "center", 1, 1);
print "<br>";
///////////////Creamos la imagen representativa de la pagina
/////
/////
$css->CrearImageLink($myPage, "../images/pagos.png", "_self", 200, 200);
///////////////Si se crea una devolucion o una factura
/////
예제 #8
0
  
	<head>
	
	 <?php 
$css = new CssIni("SoftConTech Cotizaciones");
?>
	</head>
 
	<body align="center">
   
	 <?php 
$obVenta = new ProcesoVenta($idUser);
$myPage = "Cotizaciones.php";
$css->CabeceraIni("SoftConTech Cotizaciones");
$DatosUsuarios = $obVenta->DevuelveValores("usuarios", "idUsuarios", $idUser);
$css->CrearForm("FrmBuscarCliente", $myPage, "post", "_self");
$css->CrearInputText("TxtBuscarCliente", "text", "Buscar Cliente: ", "", "Digite un Dato del cliente", "white", "", "", 200, 30, 0, 0);
$css->CrearBoton("BtnBuscarCliente", "Buscar");
$css->CerrarForm();
$css->CreaBotonDesplegable("DialCliente", "Crear Cliente");
$css->CabeceraFin();
/////////////////Cuadro de dialogo de Clientes create
$css->CrearCuadroDeDialogo("DialCliente", "Crear Crear Cliente");
$css->CrearForm("FrmCrearCliente", $myPage, "post", "_self");
$css->CrearSelect("CmbTipoDocumento", "Oculta()");
$css->CrearOptionSelect('13', 'Cedula', 1);
$css->CrearOptionSelect('31', 'NIT', 0);
$css->CerrarSelect();
//$css->CrearInputText("CmbPreVentaAct","hidden","",$idPreventa,"","","","",0,0,0,0);
$css->CrearInputText("TxtNIT", "number", "", "", "Identificacion", "black", "", "", 200, 30, 0, 1);
$css->CrearInputText("TxtPA", "text", "", "", "Primer Apellido", "black", "onkeyup", "CreaRazonSocial()", 200, 30, 0, 0);
예제 #9
0
include_once "../modelo/php_tablas.php";
include_once "css_construct.php";
if (!isset($_SESSION['username'])) {
    exit("No se ha iniciado una sesion <a href='../index.php' >Iniciar Sesion </a>");
}
$idPreventa = "";
//////Si recibo una preventa
if (!empty($_REQUEST['CmbPreVentaAct'])) {
    $idPreventa = $_REQUEST['CmbPreVentaAct'];
}
$myPage = "VentasRapidas.php";
$css = new CssIni("TS5 Ventas");
$css->CabeceraIni("TS5 Ventas");
$css->CreaBotonAgregaPreventa($myPage, $idUser);
$css->CreaBotonDesplegable("DialCliente", "Crear Cliente");
$css->CrearForm("FrmPreventaSel", $myPage, "post", "_self");
$css->CrearSelect("CmbPreVentaAct", "EnviaForm('FrmPreventaSel')");
$css->CrearOptionSelect('NO', 'Seleccione una preventa', 0);
$pa = mysql_query("SELECT * FROM vestasactivas WHERE Usuario_idUsuario='{$idUser}'");
while ($DatosVentasActivas = mysql_fetch_array($pa)) {
    $label = $DatosVentasActivas["idVestasActivas"] . " " . $DatosVentasActivas["Nombre"];
    if ($idPreventa == $DatosVentasActivas["idVestasActivas"]) {
        $Sel = 1;
    } else {
        $Sel = 0;
    }
    $css->CrearOptionSelect($DatosVentasActivas["idVestasActivas"], $label, $Sel);
}
$css->CerrarSelect();
$css->CerrarForm();
if ($idPreventa > 1) {
예제 #10
0
    $idRemision = $_REQUEST['TxtAsociarRemision'];
}
print "<html>";
print "<head>";
$css = new CssIni("Ajuste Remision");
print "</head>";
print "<body>";
$obVenta = new ProcesoVenta($idUser);
include_once "procesaDevolucion.php";
$myPage = "Devoluciones.php";
$css->CabeceraIni("SoftConTech Ajuste a Remision");
//Inicia la cabecera de la pagina
//////////Creamos el formulario de busqueda de remisiones
/////
/////
$css->CrearForm("FrmBuscarRemision", $myPage, "post", "_self");
$css->CrearInputText("TxtBuscarRemision", "text", "Buscar Remision: ", "", "Digite el numero de una Remision", "white", "", "", 300, 30, 0, 0);
$css->CrearBoton("BtnBuscarRemision", "Buscar");
$css->CerrarForm();
$css->CabeceraFin();
///////////////Creamos el contenedor
/////
/////
$css->CrearDiv("principal", "container", "center", 1, 1);
print "<br>";
///////////////Creamos la imagen representativa de la pagina
/////
/////
$css->CrearImageLink("../VMenu/MnuVentas.php", "../images/devolucion2.png", "_self", 200, 200);
///////////////Si se crea una devolucion o una factura
/////