<?php 
if ($factura->ind_factura == 2) {
    ?>
                    <br /><br />
                    <strong style="padding-right:5px;">FORMA DE PAGO</strong>
                    <input name="txtMercancia" type="text" size="49" style="text-transform:uppercase"  
						 value="<?php 
    echo $factura->forma_pago;
    ?>
" disabled />
						 &nbsp;
                    <strong style="padding-right:5px;">FECHA DE PAGO</strong>
                    <input name="txtMercancia" type="text" size="8" style="text-transform:uppercase"  
						 value="<?php 
    echo mostrarFecha($factura->fecha_pago);
    ?>
" disabled />	 
                    <br /><br />
					<?php 
    if ($factura->forma_pago != "EFECTIVO") {
        ?>
                    <strong style="padding-right:5px;">N&deg;</strong>
                    <input name="txtMercancia" type="text" size="30" style="text-transform:uppercase"  
						 value="<?php 
        echo $factura->numero_pago;
        ?>
" disabled />
						 &nbsp;
                    <strong style="padding-right:5px;">BANCO</strong>
                    <input name="txtMercancia" type="text" size="53" style="text-transform:uppercase"  
Ejemplo n.º 2
0
    $inactiva = false;
    if ($row->ind_activo == 0) {
        $inactiva = true;
    }
    ?>
               
          				<tr style="color: #000">
                			<td <?php 
    if ($inactiva) {
        ?>
 style="color:#999;" <?php 
    }
    ?>
>
								<?php 
    echo mostrarFecha($row->fecha_creacion);
    ?>
                    		</td> 
                			<td <?php 
    if ($inactiva) {
        ?>
 style="color:#999;" <?php 
    }
    ?>
>
								<?php 
    echo substr(obtenerProveedorStr($link, $row->id_proveedor), 0, 22);
    ?>
                    		</td>
                			<td <?php 
    if ($inactiva) {
Ejemplo n.º 3
0
                <hr />
                <p>
                	<strong style="padding-right:5px">ESTATUS</strong>
                    <span style="color:<?php 
echo colorIndEstatus($cliente->ind_activo);
?>
; font-weight:bold">
					<?php 
echo indEstatusStr($link, $cliente->ind_activo);
?>
                    </span>       
                    &nbsp;
                    <strong style="padding-right:5px">CLIENTE DESDE</strong>
					<input name="txtTelefono" type="text" size="8" style="text-transform:uppercase" 
                     value="<?php 
echo mostrarFecha($cliente->fecha_creacion);
?>
" disabled />
                             
                </p> 
                <hr />
                								
	  		</div> 	
	<!-- content-wrap ends here -->	
	</div>
<!-- wrap ends here -->
</div>		
<?php 
include "inc_footer.php";
?>
</body>
Ejemplo n.º 4
0
            $row->numero_guia = $row->id;
        }
        $total_facturas += $row->total_pagar;
        ?>
         
 						<!--       
          				<tr style="color: #000">
                			<td <?php 
        if ($inactiva) {
            ?>
 style="color:#999;" <?php 
        }
        ?>
>
								<?php 
        echo mostrarFecha($row->fecha_modificacion);
        ?>
                    		</td> 
                			<td <?php 
        if ($inactiva) {
            ?>
 style="color:#999;" <?php 
        }
        ?>
 align="center">
								<?php 
        echo str_pad($row->numero_factura, 9, "0", STR_PAD_LEFT);
        ?>
                    		</td>
                			<td <?php 
        if ($inactiva) {
Ejemplo n.º 5
0
                	<hr />
	                <p>
	                	<strong style="padding-right:5px">ESTATUS</strong>
	                    <span style="color:<?php 
echo colorIndEstatus($usuario->ind_activo);
?>
; font-weight:bold">
						<?php 
echo indEstatusStr($link, $usuario->ind_activo);
?>
	                    </span>       
	                    &nbsp;
	                    <strong style="padding-right:5px">USUARIO DESDE</strong>
						<input name="txtTelefono" type="text" size="8" style="text-transform:uppercase" 
	                     value="<?php 
echo mostrarFecha($usuario->fecha_creacion);
?>
" disabled />
	                             
	                </p>                                  
	                <br />
	                <hr />							
	  		</div> 	
	<!-- content-wrap ends here -->	
	</div>
<!-- wrap ends here -->
</div>		
<?php 
include "inc_footer.php";
?>
</body>
Ejemplo n.º 6
0
                                        <span style="font-size:10px">
                                        Av. Victoria entre calle Chile con Internacional, <br />
                                        Urb. Las Acacias, Edif. Bologna, PB, Local 1, Caracas. <br />
                                        Tel&eacute;fonos: (58-0212) 633.31.89 - Fax: (58-212) 632.8383 <br />
                                        E-mail: transportespay@gmail.com
                                        </span>
								</td>
                                    <td align="right" valign="top" width="330px" style="font-size:16px; color:#999">
                                    NOTA DE ENTREGA N&deg;<strong style="font-size:22px">
                                    <?php 
echo str_pad($remesa, 4, "0", STR_PAD_LEFT);
?>
                                    </strong>
                                    <br /><br />
                                    <strong><?php 
echo mostrarFecha($fecha);
?>
</strong>
                                    </td>
							</tr>
						</table>
                    	</td>
                	</tr>
                </table>					
				<table style="padding-left:15px; font-size:11px; font-family:Arial, Helvetica, sans-serif; color:#999" width="800px">
            		<tr>
                    	<td colspan="11"><hr></td>
                	</tr>            	
                	<tr>
                		<td width="250"><strong>PROVEEDOR</strong></td>
                		<td width="60" align="center"><strong>BULTOS</strong></td>
$id = $_GET["id"];
$factura = obtenerFactura($link, $id);
$cliente = obtenerCliente($link, $factura->id_cliente);
$total_flete_mercancia = $factura->total_mercancia * ($factura->flete / 100);
$total_flete_peso = $factura->total_peso * $factura->bskg;
$total_viaje = $factura->total_viaje;
$total_flete = $total_flete_mercancia + $total_flete_peso + $total_viaje;
$total_iva = $total_flete * ($factura->iva / 100);
$total_seguro = $factura->total_mercancia * ($factura->seguro / 100);
?>
				
   <div style="padding-bottom:13px">&nbsp;</div>
   <div style="padding-left:510px; 
    font-size:19px; font-family:Arial Unicode MS;">
	 <?php 
echo mostrarFecha($factura->fecha_creacion);
?>
   </div>    
   <div align="centered" style="padding:4px 0px 0px 500px;
    font-size:19px; font-family:Arial Unicode MS;">
	 <?php 
echo $cliente->rif;
?>
   </div>       
   <div align="centered" style="padding:70px 0px 0px 170px; 
    font-size:16px; font-family:Arial Unicode MS;">
  	 <?php 
echo $cliente->nombre;
?>
   </div>          
   <div align="centered" style="padding:20px 0px 17px 100px; 
                                    <strong style="font-size:22px">
                                    <?php 
echo str_pad($factura->relacion, 4, "0", STR_PAD_LEFT);
?>
                                    </strong>
                                    <br /><br />
                                    FACTURA N&deg; 
                                    <strong style="font-size:22px">
                                    <?php 
echo str_pad($factura->numero_factura, 9, "0", STR_PAD_LEFT);
?>
                                    </strong>
                                    <br /><br />
                                    <strong>
                                    	<?php 
echo "CARACAS, " . mostrarFecha($factura->fecha_creacion);
?>
                                    </strong>
                                    </td>
								</tr>
							</table>
                    		</td>
                		</tr>
                	</table>	
                    <br />
                	<p style="width:850px;">
                     <strong style="font-size:22px;  ">
                     SE&Ntilde;ORES: 
                     <?php 
echo obtenerProveedorStr($link, $factura->id_proveedor);
?>
Ejemplo n.º 9
0
                        </tr>  
                    <?php 
if ($guia->ind_pagada) {
    ?>
                        <tr>
                        	<td colspan="11">&nbsp;</td>
                        </tr> 
                        <tr>
                        	<td colspan="11"><hr /></td>
                        </tr>  
                        <tr>
                        	<td colspan="11">
                    <strong style="padding-right:5px;"  class="orange">PAGO A CHOFER</strong>
                    <br />
                    <strong>FECHA:</strong>&nbsp;<?php 
    echo mostrarFecha($guia->fecha_pago);
    ?>
                    &nbsp;
                    <strong>FORMA DE PAGO:</strong>&nbsp;<?php 
    echo $guia->forma_pago;
    ?>
                    &nbsp;
                    <?php 
    if ($guia->forma_pago == "CHEQUE") {
        ?>
                    <strong>N&deg;:</strong>&nbsp;<?php 
        echo $guia->numero_pago;
        ?>
                    &nbsp;
                    <strong>BANCO:</strong>&nbsp;<?php 
        echo $guia->banco_pago;
Ejemplo n.º 10
0
                    <br />
                    <hr />   
                    <p>
                    <strong style="padding-right:5px;">ESTATUS</strong>
                    <span style="color:<?php 
echo colorIndEnvio($envio->ind_envio);
?>
; font-weight:bold">
					<?php 
echo indEnvioStr($link, $envio->ind_envio);
?>
                    </span>
                    &nbsp;
                    <strong style="padding-right:5px;">FECHA</strong><input name="txtRIF" type="text" size="8" style="text-transform:uppercase" 
                     value="<?php 
echo mostrarFecha($envio->fecha_modificacion);
?>
" disabled />
                    <?php 
if ($envio->ind_envio > 1 && $envio->ind_envio < 5) {
    ?>
                    &nbsp;
                    <strong style="padding-right:5px;">CHOFER</strong><input name="txtRIF" type="text" size="47" style="text-transform:uppercase" 
                     value="<?php 
    echo obtenerChoferStr($link, $guia->id_chofer);
    ?>
" disabled />
                    <?php 
}
?>
                    <?php 
Ejemplo n.º 11
0
                	<hr />
                <p>
                	<strong style="padding-right:5px">ESTATUS</strong>
                    <span style="color:<?php 
echo colorIndEstatus($proveedor->ind_activo);
?>
; font-weight:bold">
					<?php 
echo indEstatusStr($link, $proveedor->ind_activo);
?>
                    </span>       
                    &nbsp;
                    <strong style="padding-right:5px">PROVEEDOR DESDE</strong>
					<input name="txtTelefono" type="text" size="8" style="text-transform:uppercase" 
                     value="<?php 
echo mostrarFecha($proveedor->fecha_creacion);
?>
" disabled />
                             
                </p> 
                <hr />
                								
	  		</div> 	
	<!-- content-wrap ends here -->	
	</div>
<!-- wrap ends here -->
</div>		
<?php 
include "inc_footer.php";
?>
</body>
Ejemplo n.º 12
0
										<strong style="font-size:20px">INVERSIONES SPAY, C.A.</strong>
                                        <br />
                                        Av. Victoria entre calle Chile con Internacional, <br />
                                        Urb. Las Acacias, Edif. Bologna, PB, Local 1, Caracas. <br />
                                        Tel&eacute;fonos: (58-0212) 633.31.89 - Fax: (58-212) 632.8383 <br />
                                        E-mail: transportespay@gmail.com
									</td>
                                    <td align="right" valign="top" width="300px" style="font-size:16px">
                                    NOTA DE ENTREGA N&deg; <strong style="font-size:22px">
                                    <?php 
echo str_pad($envio->remesa, 4, "0", STR_PAD_LEFT);
?>
                                    </strong>
                                    <br /><br />
                                    <strong><?php 
echo mostrarFecha($envio->fecha_creacion);
?>
</strong>
                                    </td>
								</tr>
							</table>
                    		</td>
                		</tr>
                	</table>					
					<table style="padding-left:10px; font-size:11px" width="830px">
            			<tr>
                    		<td colspan="11"><hr></td>
                		</tr>            	
                		<tr>
                			<td width="350"><strong>PROVEEDOR</strong></td>
                			<td width="60" align="center"><strong>BULTOS</strong></td>
Ejemplo n.º 13
0
                                    
                                    <strong style="font-size:22px">
                                    <?php 
echo str_pad($guia->numero_guia, 4, "0", STR_PAD_LEFT);
?>
                                    </strong>
                                    <br /><br />
                                    <strong  style="font-size:14px">
                                    	<?php 
echo "PLACA CAMION " . $chofer->placa;
?>
                                    </strong>
                                    <br /><br />
                                    <strong>
                                    	<?php 
echo "CARACAS, " . mostrarFecha($guia->fecha_creacion);
?>
	
                                    </strong>
                                    </td>
								</tr>
							</table>							
                    		</td>
                		</tr> 
                	</table>	
					<table style="padding-left:10px; font-size:11px; font-family:Arial, Helvetica, sans-serif; color:#999" width="1250px">
            			<tr>
                    		<td colspan="11"><hr></td>
                		</tr>            	
                		<tr>
                			<td width="300" align="left"><strong>PROVEEDOR</strong></td>
Ejemplo n.º 14
0
function pintarTabla($meses, $dias, $longitud_mes, $pista_id, $anyo, $mes, $lunes, $usuario_id)
{
    ?>
        <table border="1" style="margin: auto; text-align: center;">
            <caption>
                <?php 
    echo mostrarFecha($anyo, $meses[(int) $mes - 1]);
    ?>
                <?php 
    echo moverTiempo("<", $pista_id);
    ?>
                <?php 
    echo moverTiempo(">", $pista_id);
    ?>
            </caption>
            <thead>
                <th>Hora</th><?php 
    for ($i = 0; $i < count($dias); $i++) {
        $dia = $lunes + $i;
        if ($dia > $longitud_mes) {
            $dia -= $longitud_mes;
        }
        ?>
                        <th><?php 
        echo $dias[$i];
        ?>
(<?php 
        echo $dia;
        ?>
)</th><?php 
    }
    ?>
            </thead>
            <tbody><?php 
    for ($i = 10; $i < 20; $i++) {
        $hora = $i . ":00";
        ?>
                    <tr>
                        <td><?php 
        echo $hora;
        ?>
</td><?php 
        for ($j = 0; $j < count($dias); $j++) {
            $dia = $lunes + $j;
            $mesNuevo = $mes;
            $anyoNuevo = $anyo;
            if ($dia > $longitud_mes) {
                $dia -= $longitud_mes;
                $mesNuevo += 1;
            }
            if ($mesNuevo > 12) {
                $mesNuevo = 1;
                $anyoNuevo += 1;
            }
            ?>
                                <td>
                                    <?php 
            echo botonPista($pista_id, $anyoNuevo, $mesNuevo, $dia, $i, $usuario_id);
            ?>
                                </td><?php 
        }
        ?>
                    </tr><?php 
    }
    ?>
            </tbody>
        </table><?php 
}
Ejemplo n.º 15
0
	                <hr />
	                <p>
	                	<strong style="padding-right:5px">ESTATUS</strong>
	                    <span style="color:<?php 
echo colorIndEstatus($chofer->ind_activo);
?>
; font-weight:bold">
						<?php 
echo indEstatusStr($link, $chofer->ind_activo);
?>
	                    </span>       
	                    &nbsp;
	                    <strong style="padding-right:5px">CHOFER DESDE</strong>
						<input name="txtTelefono" type="text" size="8" style="text-transform:uppercase" 
	                     value="<?php 
echo mostrarFecha($chofer->fecha_creacion);
?>
" disabled />
	                             
	                </p> 
	                <hr /> 		
                <br />
                               
                								
	  		</div> 	
	<!-- content-wrap ends here -->	
	</div>
<!-- wrap ends here -->
</div>		
<?php 
include "inc_footer.php";