Пример #1
0
<body>
    <div id="banner">
        <h1>Boletas Excentas de IVA<em> mes de <?php 
echo DateToMonth($mes_informe);
?>
</em></h1>
        <h2><img src="../../images/<?php 
echo $_SESSION['path'];
?>
/logo_chico.png"/></h2>
        <h3><?php 
echo $usuario;
?>
</h3>
        <a href="#"></a>
    </div>
    <div class="dock" id="dock">
        <div class="dock-container">
            <a class="dock-item" href="<?php 
echo PATH_HTTP;
?>
secretaria/SEC-buscas.php"><img src="../../images/back.png" alt="home" /><span>Volver</span></a>
            <!--<a class="dock-item" href="../../secretaria/SEC-historial.php?rut=1-1"><img src="../../images/historial.png" alt="rss" /><span>Historial</span></a>-->
        </div>
    </div>
<div id="content">
    <form id="form_iva" name="form_iva" action="" method="post">
Seleccionar mes:
<select id="mes_iva" name="mes_iva">
    <?php 
for ($c = 1; $c <= 12; $c++) {
Пример #2
0
 $pdf->SetFont('Arial', 'I', 10);
 $pdf->Ln(50);
 $pdf->Cell(10, 6, '                                                                                                   ' . $_SESSION['colegio']->col_comuna . ', ' . date("d") . ' ' . DateToMonth(date("m")) . ' ' . date("Y"), 0, 1);
 $pdf->Cell(10, 6, '     Estimado Apoderado: ', 0, 1);
 $pdf->Cell(10, 6, '      Informo a usted que a la fecha se encuentran impaga las mensualidades de su pupilo correspondiente a:   ', 0, 1);
 $pdf->Cell(10, 6, '      ', 0, 1);
 $pdf->SetFont('Arial', 'I', 14);
 $pdf->Cell(10, 6, "     Meses:  " . $meses_adeudados, 0, 1);
 $pdf->Line(20, 125, 190, 125);
 $pdf->Ln(4);
 $pdf->SetFont('Arial', 'I', 14);
 $pdf->Ln(4);
 $pdf->Cell(10, 6, '                             Monto  de la Deuda     $     ' . number_format($deuda_total, 0, ",", "."), 0, 0);
 $pdf->Ln(8);
 $pdf->SetFont('Arial', 'I', 10);
 $pdf->Multicell(180, 6, '     						           			 Solicito  cancelar las mensualidades antes del ' . $dia_tope . ' de ' . DateToMonth(date("m")) . ' ', 0, 1);
 $pdf->Ln(6);
 $pdf->Ln(4);
 $pdf->Cell(10, 6, '                                                       Saluda Atentamente. ', 0, 1);
 $pdf->Ln(4);
 $pdf->Cell(10, 6, '                                                                                            ' . $_SESSION['colegio']->col_director, 0, 1);
 $pdf->Cell(10, 6, '                                                                                            ' . $_SESSION['colegio']->nombre, 0, 1);
 $pdf->Ln(4);
 $pdf->Cell(150, 6, '     PD. Si a la recepción de esta notificación usted ha cancelado rogamos no considerar esta carta.', 0, 1);
 $pdf->Ln(4);
 $pdf->Line(108, 139, 130, 139);
 $pdf->Line(95, 175, 150, 175);
 $pdf->SetFont('Arial', 'I', 9);
 $pdf->Ln(8);
 $anioProcesoMatric = MATRICULA_ANIO;
 // agregando Observacion para notificacion de deuda del mes 12 para el dor
Пример #3
0
function mesAnterior($mes, $anio)
{
    for ($i = 1; strcasecmp($mes, DateToMonth($i)); $i++) {
    }
    if ($i == 1) {
        $i = 13;
        $anio--;
    }
    if ($i > 0) {
        $mes = DateToMonth($i - 1);
    }
    $fecha_Ant = array("mes" => $mes, "anio" => $anio);
    return $fecha_Ant;
}
Пример #4
0
            </fieldset>
            <fieldset>
                <legend>Detalle de Mensualidades</legend>
                <table width="800" cellpadding="0" cellspacing="1">
                    <tr>
                        <td align="center" class="title_blue">
                            Mes
                        </td>
                        <td align="center" class="title_blue">
                            Estado de la cuota
                        </td>
                    </tr>
                    <?php 
for ($j = 1; $j <= 10; $j++) {
    echo "<tr>";
    echo '<td class="body_blue">' . DateToMonth($j + 2) . '</td>';
    echo "<td class='body_blue'>";
    $deuda = $mensualidad['mensualidad'] - $mensualidad["c" . $j];
    $beca = $mensualidad['mensualidad'] * ($mensualidad['descuentos'] / 100);
    if ($deuda - $beca > 0) {
        if ($j < date("m", time()) - 2) {
            echo "<font color='red'>Vencida</font>";
        } else {
            echo " Pendiente ";
        }
    } else {
        echo "Cancelado";
    }
    echo "</td></tr>";
}
?>
Пример #5
0
for ($j = 1; $j <= 10; $j++) {
    $deuda = $mensualidad['mensualidad'] - $mensualidad["c" . $j];
    if ($deuda - $beca > 0) {
        if ($j < $fechames - 2) {
            $estado_cuota_hist[] = "<font color='red'>Vencida</font>";
            $total_adeudado += $deuda - $beca;
            $font_color[] = "red";
        } else {
            $estado_cuota_hist[] = " Pendiente ";
            $font_color[] = "";
        }
    } else {
        $estado_cuota_hist[] = "Cancelado";
    }
    $subtotal_cuota_hist[] = $deuda - $beca;
    $mes_cuota_hist[] = DateToMonth($j + 2);
}
$apoderado = $class_apoderado->obtenerApoderado($rut);
$comprobante_matricula = "none";
$class_matricula = new matricula();
$datos_matricula["FK_rut"] = $rut;
$datos_matricula["FK_colegios_colegio_ID"] = $_SESSION['colegio']->colegio_ID;
$datos_matricula["matric_anio"] = MATRICULA_ANIO;
$matricula = $class_matricula->obtenerMatricula($datos_matricula);
if ($total_adeudado) {
    $matricula_title = "EL ALUMNO NO SE PUEDE MATRICULAR HASTA QUE CANCELE SU DEUDA";
    $matricula_bloqueada = "disabled";
} else {
    $matricula_title = "INGRESE EL MONTO DE LA MATRICULA";
    $matricula_bloqueada = "";
    if ($matricula['matric_estado'] == MATRICULA_ESTADO_MATRICULADO) {