• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP fechasys函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中fechasys函数的典型用法代码示例。如果您正苦于以下问题:PHP fechasys函数的具体用法?PHP fechasys怎么用?PHP fechasys使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了fechasys函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: jsaNewRecibo

function jsaNewRecibo($observaciones, $cheque)
{
    $fecha = fechasys();
    setFoliosAlMaximo();
    $xRec = setNuevorecibo(DEFAULT_SOCIO, DEFAULT_CREDITO, $fecha, 1, 200, $observaciones, $cheque, "foraneo", DEFAULT_RECIBO_FISCAL, DEFAULT_GRUPO);
    if (isset($_SESSION["recibo_en_proceso"])) {
        unset($_SESSION["recibo_en_proceso"]);
        unset($_SESSION["total_recibo_en_proceso"]);
    }
    $_SESSION["recibo_en_proceso"] = $xRec;
    $_SESSION["total_recibo_en_proceso"] = 0;
}
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:12,代码来源:convenios_factura_rapida.frm.php


示例2: jsaGetCuotasDeDefuncion

function jsaGetCuotasDeDefuncion($socio)
{
    $cuota_pagada = 0;
    $fecha_a_tolerar = restardias(fechasys(), DIAS_A_ROTAR_FONDO_DE_DEFUNCION);
    $cuota_a_pagar = 100;
    $sql = "SELECT SUM(afectacion_real) AS 'monto',\n\t\t\tMAX(fecha_operacion) AS 'fecha_pago'\n\t\t\tFROM operaciones_mvtos\n\t\t\tWHERE tipo_operacion=902\n\t\t\tAND socio_afectado={$socio}\n\t\t\tAND fecha_operacion>='{$fecha_a_tolerar}'\n\t\t";
    $cuota_pagada = mifila($sql, "monto");
    if ($cuota_pagada < 0) {
        $cuota_pagada = 0;
    }
    $cuota_a_pagar = $cuota_a_pagar - $cuota_pagada;
    //TODO: Terminar
    $tab = new TinyAjaxBehavior();
    $tab->add(TabSetvalue::getBehavior('idmonto', $cuota_a_pagar));
    return $tab->getString();
}
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:16,代码来源:frmfondodefuncion.php


示例3: Common_c8581154ac4e27cb0e122d71341dd7d8

function Common_c8581154ac4e27cb0e122d71341dd7d8($strCmd)
{
    $DPar = explode(STD_LITERAL_DIVISOR, $strCmd);
    $xTip = new cTipos();
    //
    $socio = $xTip->cInt($DPar[0]);
    $cuenta = $xTip->cInt($DPar[1]);
    $deposito = $xTip->cFloat($DPar[2]);
    $retiro = $xTip->cFloat($DPar[3]);
    $nota = $xTip->cChar($DPar[4]);
    $numero = $xTip->cInt($DPar[5]);
    $limit = $xTip->cInt($DPar[6]);
    if (isset($_SESSION["recibo_en_proceso"])) {
        $recibo = $_SESSION["recibo_en_proceso"];
        $fecha = fechasys();
        $_SESSION["total_recibo_en_proceso"] += $deposito - $retiro;
        $xRec = new cReciboDeOperacion(200, false, $recibo);
        $xRec->setNumeroDeRecibo($recibo, true);
        $DRec = $xRec->getDatosInArray();
        $cheque = $DRec["cheque_afectador"];
        $tipopago = $DRec["tipo_pago"];
        $recibofiscal = $DRec["recibo_fiscal"];
        if ($deposito > 0 or $retiro > 0) {
            $xC = new cCuentaALaVista($cuenta);
            $grupo = DEFAULT_GRUPO;
            $xC->setSocioTitular($socio);
            $xC->setReciboDeOperacion($recibo);
            if ($deposito > 0) {
                $xC->setDeposito($deposito, $cheque, $tipopago, $recibofiscal, $nota, $grupo, $fecha, $recibo);
            }
            if ($retiro > 0) {
                $xC->setRetiro($retiro, $cheque, $tipopago, $recibofiscal, $nota, $grupo, $fecha, $recibo);
            }
        }
        if ($numero == $limit) {
            $xRec->setForceUpdateSaldos();
            $xRec->setFinalizarRecibo(true);
            //$MsgEnd		.= "**** proceso terminado ****";
        }
    }
    //retorna el id del control de origen para neutralizar
    return "-{$numero}";
}
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:43,代码来源:captacion.common.js.php


示例4: addslashes

}
$_SESSION["current_file"] = addslashes($theFile);
//=====================================================================================================
$xHP = new cHPage("REPORTE DE ", HP_REPORT);
$xHP->setTitle($xHP->lang("catalogo de", "documentacion"));
$oficial = elusuario($iduser);
/**
 */
$xF = new cFecha();
$estatus = isset($_GET["estado"]) ? $_GET["estado"] : SYS_TODAS;
$frecuencia = isset($_GET["periocidad"]) ? $_GET["periocidad"] : SYS_TODAS;
$convenio = isset($_GET["convenio"]) ? $_GET["convenio"] : SYS_TODAS;
$empresa = isset($_GET["empresa"]) ? $_GET["empresa"] : SYS_TODAS;
$out = isset($_GET["out"]) ? $_GET["out"] : SYS_DEFAULT;
$fechaInicial = isset($_GET["on"]) ? $xF->getFechaISO($_GET["on"]) : FECHA_INICIO_OPERACIONES_SISTEMA;
$fechaFinal = isset($_GET["off"]) ? $xF->getFechaISO($_GET["off"]) : fechasys();
echo $xHP->getHeader();
echo $xHP->setBodyinit("initComponents();");
echo getRawHeader();
$xRPT = new cReportes();
echo $xRPT->getEncabezado($xHP->getTitle());
$sql = "SELECT * FROM personas_documentacion_tipos";
$xTBL = new cTabla($sql);
echo $xTBL->Show();
echo getRawFooter();
echo $xHP->setBodyEnd();
?>
<script>
<?php 
?>
function initComponents(){
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:documentacion_tipos_catalogo.rpt.php


示例5: fechasys

</head>
	<link href="<?php 
echo CSS_GENERAL_FILE;
?>
" rel="stylesheet" type="text/css">
	<script   src="../js/jsrsClient.js"></script>
<body>
<fieldset>
<legend>Linea de Credito Autorizada</legend>
<?php 
$idsocio = $_POST["idsocio"];
$montolinea = $_POST["montolinea"];
$observaciones = $_POST["observaciones"];
$numerohipoteca = $_POST["numerohipoteca"];
$montohipoteca = $_POST["montohipoteca"];
$fechavenc = $_POST["elanno0"] . "-" . $_POST["elmes0"] . "-" . $_POST["eldia0"];
$fechaalta = fechasys();
$eacp = EACP_CLAVE;
$sucursal = getSucursal();
$estado = 1;
// VIGENTE
$sqllcf = "numero_socio, monto_linea, observaciones, numerohipoteca, monto_hipoteca, \r\n\t\t\t\t\tfecha_de_vencimiento, fecha_de_alta, estado, idusuario, sucursal, eacp";
$sqllcv = "{$idsocio}, {$montolinea}, '{$observaciones}', '{$numerohipoteca}', {$montolinea}, \r\n\t\t\t\t'{$fechavenc}', '{$fechaalta}', {$estado}, {$iduser}, '{$sucursal}', '{$eacp}'";
$sqllc = "INSERT INTO creditos_lineas({$sqllcf}) VALUES ({$sqllcv})";
my_query($sqllc);
echo "<p class='aviso'>la Linea de Credito ha Sido Agregada como Autorizada, de esta fecha en adelante, el Socio <b>" . getNombreSocio($idsocio) . "</b>\r\n\tsera tomado en cuenta para Ministrarse Creditos por un monto no mayor a {$montolinea}; por lo que se tendra que respetar dicha cantidad.</p> \r\n\t<input type='button' name='btnprint' value='IMPRIMIR AUTORIZACION'>\r\n\t";
?>
</fieldset>
</body>
</html>
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:30,代码来源:clscreditoslineas.php


示例6: restarfechas

     $dias_vigente = restarfechas($f_ultimo_mvto, $f_vencimiento);
     $dias_vencidos = restarfechas($f_vencimiento, fechasys());
 } else {
     $dias_vencidos = restarfechas($f_ultimo_mvto, fechasys());
 }
 $interes = $capital * $dias_vigente * $tasan / EACP_DIAS_INTERES;
 $interes_moratorio = $capital * $dias_vencidos * ($tasan + $tasam) / EACP_DIAS_INTERES;
 //
 $total = $saldo + $interes + $interes_moratorio + $otros_cargos;
 //Obtiene el Telefono del Socio
 $sql_150 = "SELECT * FROM socios_vivienda WHERE socio_numero={$socio} AND principal='1'";
 $ddomicilio = obten_filas($sql_150);
 $telefono1 = $ddomicilio[10];
 $telefono2 = $ddomicilio[11];
 $hora_default = date("H:i");
 $fecha_default = fechasys();
 $observaciones = "Generado el {$fecha_default} a las {$hora_default} Hrs. por {$oficial}";
 if ($dias_vencidos > 1 && $dias_vencidos <= 15) {
     //Primera Notificacion
     $tnotif = "segunda_notificacion";
     $idnant = 1;
     $idnnew = 2;
     $sql_hay = "SELECT COUNT('idseguimiento_notificaciones') AS 'siexiste' FROM seguimiento_notificaciones WHERE socio_notificado={$socio}\n\t\t\tAND numero_solicitud={$solicitud} AND numero_notificacion={$idnant}";
     $exists = mifila($sql_hay, "siexiste");
     //si existe llamada, dar seguimiento
     if ($exists > 0) {
         //Cancelar las Llamadas ya hechas, pero sin compromisos
         $sql_uproc = "UPDATE seguimiento_notificacion SET estatus_notificacion='vencido' WHERE socio_notificado={$socio}\n\t\t\tAND numero_solicitud={$solicitud} AND estatus_notificacion='efectuado' AND numero_notificacion={$idnant}";
         $rsUc = mysql_query($sql_uproc);
         $afected_row = mysql_affected_rows($rsUc);
         @mysql_free_result($rsUc);
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:frm_generar_notificaciones.php


示例7: ini_set

//=====================================================================================================
ini_set("max_execution_time", 600);
$xHP = new cHPage("", HP_REPORT);
$mql = new cSQLListas();
$xF = new cFecha();
$query = new MQL();
$xLoc = new cLocal();
$xLog = new cCoreLog();
$xCR = new cReporteCirculoDeCredito_tipo();
$ClaveOtorgante = $xCR->getClaveDeOtorgante();
$NombreOtorgante = $xCR->getNombreOtorgante();
$ByPersona1 = "";
$ByPersona2 = "";
$ByPersona3 = "";
$FechaInicial = isset($_GET["on"]) ? $_GET["on"] : FECHA_INICIO_OPERACIONES_SISTEMA;
$FechaFinal = isset($_GET["off"]) ? $_GET["off"] : fechasys();
$toJson = false;
//parametro("beauty", false, MQL_BOOL);
$lineaJson = array();
$itemJson = array();
$FechaExtraccion = date("Ymd", strtotime($FechaFinal));
$estatus_actual = parametro("f2", false, MQL_INT);
$persona = parametro("persona", DEFAULT_SOCIO, MQL_INT);
$persona = parametro("socio", $persona, MQL_INT);
$persona = parametro("idsocio", $persona, MQL_INT);
if ($persona != DEFAULT_SOCIO) {
    $ByPersona2 = " AND\t(`creditos_solicitud`.`numero_socio` = {$persona}) ";
    $ByPersona1 = " AND (`creditos_abonos_parciales`.`socio_afectado` = {$persona} ) ";
    $ByPersona3 = " AND (`socio_afectado` = {$persona} ) ";
    $toJson = true;
}
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:circulo_de_credito.rpt.php


示例8: addslashes

}
$_SESSION["current_file"] = addslashes($theFile);
//<=====	FIN_H
$iduser = $_SESSION["log_id"];
//=====================================================================================================
$xHP = new cHPage("TR.Recibos de Cobranza", HP_REPORT);
$xL = new cSQLListas();
$xF = new cFecha();
$empresa = isset($_GET["r"]) ? $_GET["r"] : 0;
$periocidad = isset($_GET["p"]) ? $_GET["p"] : "todos";
$variacion = isset($_GET["v"]) ? $_GET["v"] : 0;
$ByPeriodo = $periocidad == "todos" ? "" : " AND creditos_solicitud.periocidad_de_pago = {$periocidad} ";
$periodo = isset($_GET["periodo"]) ? $_GET["periodo"] : 0;
$out = parametro("out", OUT_HTML);
$xRPT = new cReportes($xHP->getTitle());
$fecha_filtro = fechasys();
$ByMinistracion = "";
//$periodo		= $periodo + $variacion;
$fechaInicial = parametro("on", false);
$fechaFinal = parametro("off", false);
$fechaFinal = $xF->getFechaISO($fechaFinal);
$fechaInicial = $xF->getFechaISO($fechaInicial);
$idnomina = parametro("nomina", 0, MQL_INT);
//$xHP->addJsFile("../js/jquery/jquery.js");
//$xHP->addJsFile("../js/general.js");
//$xHP->addJsFile("../js/jquery/jquery.qtip.min.js");
$xEmp = new cEmpresas($empresa);
$xEmp->init();
$xTPer = new cPeriocidadDePago($periocidad);
$xTPer->init();
//if($xEmp->getEsPeriodoCerrado($periocidad, $periodo) == false){	$xHP->goToPageError(20101); }
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:orden_de_cobranza.recibos.rpt.php


示例9: fechasys

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<link href="../css/reporte.css" rel="stylesheet" type="text/css">
<body>
<!-- -->

<?php 
$socio_inicial = $_GET["on"];
$socio_final = $_GET["off"];
$frecuencia_pagos = $_GET["f1"];
$corte = fechasys();
$limiteletras = 2;
$inicioletras = 1;
if ($frecuencia_pagos == 7) {
    $inicioletras = 7;
    $limiteletras = 11;
} elseif ($frecuencia_pagos == 15) {
    $inicioletras = 4;
    $limiteletras = 5;
} elseif ($frecuencia_pagos == 30) {
    $inicioletras = 2;
    $limiteletras = 2;
} else {
    $limiteletras = 1;
}
if (!$socio_inicial) {
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:rpt_planes_aval_x_socios.php


示例10: addValorArqueado

 function addValorArqueado($valor_arqueado, $numero_arqueado, $documento, $notas = "", $fecha = false, $hora = false)
 {
     //eliminar valor anterior
     $fecha = $fecha == false ? fechasys() : $fecha;
     $hora = $hora == false ? time() : $hora;
     $monto = $valor_arqueado * $numero_arqueado;
     $xArq = new cTesoreria_caja_arqueos();
     $id = $xArq->query()->getLastID();
     $xArq->codigo_de_arqueo($id);
     $xArq->codigo_de_caja($this->mClaveDecaja);
     $xArq->documento($documento);
     $xArq->eacp(EACP_CLAVE);
     $xArq->fecha_de_arqueo($fecha);
     $xArq->hora_de_arqueo($hora);
     $xArq->idusuario(getUsuarioActual());
     $xArq->monto_total_arqueado($monto);
     $xArq->observaciones($notas);
     $xArq->sucursal(getSucursal());
     $xArq->valor_arqueado($valor_arqueado);
     $xArq->numero_arqueado($numero_arqueado);
     $cmd = $xArq->query()->insert();
     $cmd->save();
     if (MODO_DEBUG == true) {
         setLog($cmd->getMessages());
     }
     return $id;
 }
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:27,代码来源:core.tesoreria.inc.php


示例11: addslashes

}
$_SESSION["current_file"] = addslashes($theFile);
//<=====	FIN_H
//=====================================================================================================
$xInit = new cHPage("", HP_SERVICE);
$txt = "";
$ql = new MQL();
$lis = new cSQLListas();
$xF = new cFecha();
//$persona	= parametro("persona", DEFAULT_SOCIO, MQL_INT);
$credito = parametro("credito", DEFAULT_CREDITO, MQL_INT);
$letra = parametro("letra", 0, MQL_INT);
$monto = parametro("monto", 0, MQL_FLOAT);
$fechaI = parametro("on", fechasys());
$fechaF = parametro("off", fechasys());
$fechaEnv = parametro("to", fechasys());
$observaciones = parametro("observaciones", "");
$empresa = parametro("empresa", false);
$periodo = parametro("periodo", false);
$periocidad = parametro("periocidad", false);
$notas = parametro("notas", false);
$rs = array();
$idnomina = parametro("nomina", false);
$xEmp = new cEmpresas($empresa);
$xEmp->init();
$msg = "";
if (setNoMenorQueCero($idnomina) <= 0) {
    $rs["error"] = true;
    $rs["message"] = "Nomina Invalida {$idnomina} ";
} else {
    if (setNoMenorQueCero($credito) > 1) {
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:envionomina.svc.php


示例12: fechasys

//$jxc ->drawJavaScript(false, true);
?>
<body>
<?php 
//Si la Operacion es Configurar los Datos
if ($operation == "s") {
    ?>
<form name="frmSetBackup" method="post" action="matriz.restore_backup.frm.php?o=e">
<fieldset>
	<legend>Restaurar Datos de Sucursales</legend>
	<table border='0' width='100%'  >
		<tbody>
		<tr>
			<td>Fecha de Corte</td>
			<td><input type='text' name='cFechaCorte' value='<?php 
    echo fechasys();
    ?>
' id="idFechaCorte" /></td>
		</tr>
		<tr>
			<td>Sucursal</td>
			<td><?php 
    $sql = "SELECT * FROM general_sucursales WHERE codigo_sucursal!='matriz'";
    $cSel = new cSelect("cSucursal", "idSucursal", $sql);
    $cSel->setEsSql();
    $cSel->show(false);
    ?>
</td>
		<tr>
			<th colspan="2"><input type="submit" value="Iniciar las Restauracion" /></th>
		</tr>
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:matriz.restore_backup.frm.php


示例13: unlink

 $completePath = $prePath . $usrFiles[$i]['name'];
 if (file_exists($completePath) == true) {
     unlink($completePath);
     echo "<p class='aviso'> SE ELIMINO EL ARCHIVO " . $usrFiles[$i]['name'] . "</p>";
 }
 if (move_uploaded_file($usrFiles[$i]['tmp_name'], $completePath)) {
     //echo "<p class='aviso'> SE GUARDO EXITOSAMENTE EL ARCHIVO " . $usrFiles[$i]['name'] . "</p>";
 } else {
     //echo "<p class='aviso'> SE FALLO AL GUARDAR " . $usrFiles[$i]['name'] . "</p>";
 }
 //analizar el Archivo
 $gestor = @fopen($completePath, "r");
 $iReg = 0;
 $cT = new cTipos();
 //inicializa el LOG del proceso
 $aliasFil = getSucursal() . "-analisis_de_saldos_cw-" . fechasys();
 $xLog = new cFileLog($aliasFil, true);
 $msg = "";
 //=============================================================================================
 if ($gestor) {
     while (!feof($gestor)) {
         $bufer = fgets($gestor, 4096);
         //$bufer			= stream_get_line($gestor, "\r\n");
         if (!isset($bufer)) {
             //$msg .= "$iReg\t\tERROR\tLa Linea($iReg) no se leyo($bufer)\r\n";
         } else {
             $bufer = trim($bufer);
             $datos = explode(",", $bufer, 8);
         }
         $iReg++;
     }
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:analisis_de_auxiliares.2.frm.php


示例14: unlink

 $completePath = $prePath . $usrFiles[$i]['name'];
 if (file_exists($completePath) == true) {
     unlink($completePath);
     echo "<p class='aviso'> SE ELIMINO EL ARCHIVO " . $usrFiles[$i]['name'] . "</p>";
 }
 if (move_uploaded_file($usrFiles[$i]['tmp_name'], $completePath)) {
     //echo "<p class='aviso'> SE GUARDO EXITOSAMENTE EL ARCHIVO " . $usrFiles[$i]['name'] . "</p>";
 } else {
     //echo "<p class='aviso'> SE FALLO AL GUARDAR " . $usrFiles[$i]['name'] . "</p>";
 }
 //analizar el Archivo
 $gestor = @fopen($completePath, "r");
 $iReg = 0;
 $cT = new cTipos();
 //inicializa el LOG del proceso
 $aliasFil = getSucursal() . "-carga-batch-de-inversiones-" . fechasys();
 $xLog = new cFileLog($aliasFil, true);
 if ($gestor) {
     while (!feof($gestor)) {
         $bufer = fgets($gestor, 4096);
         //$bufer			= stream_get_line($gestor, "\r\n");
         if (!isset($bufer)) {
             $msg .= "{$iReg}\t\tERROR\tLa Linea({$iReg}) no se leyo({$bufer})\r\n";
         } else {
             $bufer = trim($bufer);
             $datos = explode(",", $bufer, 6);
             $socio = $cT->cInt($datos[0]);
             $importe = $cT->cFloat($datos[1]);
             $fechaApertura = $cT->cFecha($datos[2]);
             $plazo = $cT->cInt($datos[3]);
             $tasa = $cT->cFloat($datos[4]);
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:inversiones.upload.frm.php


示例15: mysql_query

<body>
<?php 
$socio_inicial = $_GET["on"];
$socio_final = $_GET["off"];
$sql_notificaciones = "SELECT * FROM seguimiento_notificaciones WHERE tipo_credito='planes'\n\tAND estatus_notificacion='pendiente' AND numero_notificacion<3";
$rs = mysql_query($sql_notificaciones);
while ($rw = mysql_fetch_array($rs)) {
    $nombre = getNombreSocio($rw[1]);
    $domicilio = $rw[15];
    if ($domicilio == '0') {
        $domicilio = "NO EXISTE DOMICILIO DEFINIDO. CAPTURELO O EDITELO";
    }
    //Datos del Credito
    $sql_cred = "SELECT * FROM creditos_solicitud WHERE numero_solicitud={$rw['2']} AND numero_socio={$rw['1']} LIMIT 0,1";
    $dsol = obten_filas($sql_cred);
    $dias_venc = restarfechas(fechasys(), $dsol[15]);
    $interes = getFMoney($rw[9]);
    $moratorio = getFMoney($rw[10]);
    $otros_cargos = getFMoney($rw[11]);
    $capital = getFMoney($rw[8]);
    $total = getFMoney($rw[12]);
    echo getRawHeader();
    ?>
	<p class='bigtitle'>NOTIFICACION DE COBRO NUM. <?php 
    echo $rw[3];
    ?>
</p>
		<br />
		<div class='numc'>
		<table width="60%"   >
			  <tr>
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:rpt_planes_notificacion.php


示例16: cSocio

    }
    /**
     *composicion del estado laboral por consulta
     **/
    $estado_laboral = 99;
    //Obtener la informaci�n laboral
    $xSoc = new cSocio($socio);
    $xSoc->init($rw);
    $DLab = $xSoc->getDatosActividadEconomica();
    $estado_laboral = $arrELaboral[$DLab["tipo_aeconomica"]];
    //corrige valores vacios
    if (!isset($estado_laboral)) {
        $estado_laboral = 99;
    }
    //corrige la edad en a�os y asigna, si es menor de edad
    $edad = floor(restarfechas(fechasys(), $rw["fechanacimiento"]) / 365);
    if ($edad < 18) {
        $estado_laboral = "07";
    }
    $tr .= "\t<tr>\n\t\t\t\t<td>{$socio}</td>\n\t\t\t\t<td>{$ife}</td>\n\t\t\t\t<td>{$nombre}</td>\n\t\t\t\t<td>{$apellidopaterno}</td>\n\t\t\t\t<td>{$apellidomaterno}</td>\n\t\t\t\t<td>{$genero}</td>\n\t\t\t\t<td>01</td>\n\t\t\t\t<td>412</td>\n\t\t\t\t<td>{$sucursal}</td>\n\t\t\t\t<td>{$fecha_de_alta}</td>\n\t\t\t\t<td>{$estado_civil}</td>\n\t\t\t\t<td>{$regimen_matrimonial}</td>\n\t\t\t\t<td>{$estado_laboral}</td>\n\t\t\t\t<td>{$fecha_nacimiento}</td>\n\t\t\t\t<td>412</td>\n\t\t\t\t<td>{$hijos}</td>\n\t\t\t\t<td>&nbsp;</td>\n\t\t\t\t<td>{$rfc}</td>\n\t\t\t\t<td>{$curp}</td>\n\t\t\t</tr>";
}
echo "<table width='100%' >\n\t<tr>\n\t\t<th>Socio</th>\n\t\t<th>IFE</th>\n\t\t<th>Nombre</th>\n\t\t<th>Apellido Paterno</th>\n\t\t<th>Apellido Materno</th>\n\t\t<th>Sexo</th>\n\t\t<th>Idioma</th>\n\t\t<th>Nacionalidad</th>\n\t\t<th>Sucursal</th>\n\t\t<th>Fecha de Alta</th>\n\t\t<th>Estado Civil</th>\n\t\t<th>Regimen Matrimonial</th>\n\t\t<th>Estado Laboral</th>\n\t\t<th>Fecha de Nacimiento</th>\n\t\t<th>Pais de Nacimiento</th>\n\t\t<th>Numero de Hijos</th>\n\t\t<th>Fecha de Deceso</th>\n\t\t<th>R.F.C.</th>\n\t\t<th>C.U.R.P.</th>\n\t</tr>\n\t\t{$tr}\n</table>";
if ($input != OUT_EXCEL) {
    echo getRawFooter();
    ?>
</body>
<script  >
<?php 
    ?>
function initComponents(){
	window.print();
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:tcb-personas-fisicas.php


示例17: setFechaVencimiento

 function setFechaVencimiento($fecha = false)
 {
     if ($fecha == false) {
         $fecha = fechasys();
     }
     $this->mFechaDeVcto = $fecha;
 }
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:7,代码来源:core.operaciones.inc.php


示例18: setValidarCuentas

 function setValidarCuentas($ForzarCorreccion = false)
 {
     $msg = "";
     $msg .= "============== VALIDANDO CUENTAS DE CAPTACION\t==========\r\n";
     $msg .= "============== FECHA:     " . fechasys() . "             ==========\r\n";
     /**
      * Valida si la Cuenta de captacion por defecto existe 
      * @since 2010-12-31
      */
     $xPCta = new cCuentaALaVista(CTA_GLOBAL_CORRIENTE, DEFAULT_SOCIO);
     if ($xPCta->setContarCuenta() == 0) {
         $msg .= "LA Cuenta por DEFECTO no EXISTE\r\n";
         $xPCta->setNuevaCuenta(99, 1, DEFAULT_SOCIO, "", DEFAULT_CREDITO, "", "", DEFAULT_GRUPO, false, 10);
         $msg .= $xPCta->getMessages("txt");
     }
     $xTb = new cSAFETabla(TCAPTACION_CUENTAS);
     $SqlCta = $xTb->getQueryInicial() . "\n\t\t\t\tFROM\n\t\t\t\t\t`captacion_cuentas` `captacion_cuentas`\n\t\t\t\t\t\tINNER JOIN `captacion_cuentastipos` `captacion_cuentastipos`\n\t\t\t\t\t\tON `captacion_cuentas`.`tipo_cuenta` = `captacion_cuentastipos`.\n\t\t\t\t\t\t`idcaptacion_cuentastipos`\n\t\t\t\t\t\t\tINNER JOIN `captacion_subproductos` `captacion_subproductos`\n\t\t\t\t\t\t\tON `captacion_cuentas`.`tipo_subproducto` = `captacion_subproductos`\n\t\t\t\t\t\t\t.`idcaptacion_subproductos` ";
     $rs = getRecordset($SqlCta);
     while ($rw = mysql_fetch_array($rs)) {
         $xCta = new cCuentaDeCaptacion($rw["numero_cuenta"], $rw["numero_socio"]);
         $xCta->init($rw);
         $msg .= $xCta->setValidar($ForzarCorreccion);
         //$msg		.= $xCta->getMessages("txt");
     }
     return $msg;
 }
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:26,代码来源:core.captacion.utils.inc.php


示例19: ini_set

include_once "../core/core.captacion.inc.php";
include_once "../core/core.riesgo.inc.php";
include_once "../core/core.seguimiento.inc.php";
include_once "../core/core.creditos.inc.php";
include_once "../core/core.creditos.utils.inc.php";
include_once "../core/core.operaciones.inc.php";
include_once "../core/core.common.inc.php";
include_once "../core/core.html.inc.php";
ini_set("display_errors", "off");
ini_set("max_execution_time", 1600);
$key = isset($_GET["k"]) ? true : false;
$parser = !isset($_GET["s"]) ? false : $_GET["s"];
//Obtiene la llave del
//if ($key == MY_KEY) {
$messages = "";
$fechaop = parametro("f", fechasys());
$xF = new cFecha(0, $fechaop);
/**
 * Generar el Archivo HTMl del LOG
 * eventos-del-cierre + fecha_de_cierre + .html
 *
 */
$aliasFil = getSucursal() . "-eventos-al-cierre-de-colocacion-del-dia-{$fechaop}";
$xLog = new cFileLog($aliasFil);
$ql = new MQL();
$xRec = new cReciboDeOperacion(12);
$xRec->setGenerarPoliza();
$xRec->setForceUpdateSaldos();
$idrecibo = $xRec->setNuevoRecibo(DEFAULT_SOCIO, DEFAULT_CREDITO, $fechaop, 1, 12, "CIERRE_DE_COLOCACION_{$fechaop}", DEFAULT_CHEQUE, DEFAULT_TIPO_PAGO, DEFAULT_RECIBO_FISCAL, DEFAULT_GRUPO);
$xRec->setNumeroDeRecibo($idrecibo);
$messages .= "=======================================================================================\r\n";
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:cierre_de_colocacion.frm.php


示例20: cSQLListas

$xL = new cSQLListas();
$xF = new cFecha();
$query = new MQL();
$estatus = parametro("estado", SYS_TODAS);
$frecuencia = parametro("periocidad", SYS_TODAS);
$producto = parametro("convenio", SYS_TODAS);
$producto = parametro("producto", $producto);
$empresa = parametro("empresa", SYS_TODAS);
$sucursal = parametro("sucursal", SYS_TODAS, MQL_RAW);
$out = parametro("out", SYS_DEFAULT);
$FechaInicial = parametro("on", false);
$FechaInicial = parametro("fecha-0", $FechaInicial);
$FechaInicial = $FechaInicial == false ? FECHA_INICIO_OPERACIONES_SISTEMA : $xF->getFechaISO($FechaInicial);
$FechaFinal = parametro("off", false);
$FechaFinal = parametro("fecha-1", $FechaFinal);
$FechaFinal = $FechaFinal == false ? fechasys() : $xF->getFechaISO($FechaFinal);
$jsEvent = $out != OUT_EXCEL ? "initComponents()" : "";
$senders = getEmails($_REQUEST);
$xODat = new cPersonasCatalogoOtrosDatos();
$sql = "SELECT\r\n\t`socios`.`codigo`,\r\n\t`socios`.`nombre`,\r\n\t`socios_otros_parametros`.`clave_del_parametro` \r\nFROM\r\n\t`socios_otros_parametros` `socios_otros_parametros` \r\n\t\tINNER JOIN `socios` `socios` \r\n\t\tON `socios_otros_parametros`.`clave_de_persona` = `socios`.`codigo` \r\nWHERE\r\n\t(`socios_otros_parametros`.`clave_del_parametro` ='" . $xODat->AML_PEP_PRINCIPAL . "')\r\n\t\t\tOR\r\n\t(`socios_otros_parametros`.`clave_del_parametro` ='" . $xODat->AML_PEP_AFINIDAD . "')\t\t\t\r\n\tOR\r\n(`socios_otros_parametros`.`clave_del_parametro` ='" . $xODat->AML_PEP_CONSANGUINIDAD . "')\t\t\t\r\n\t\tOR\r\n(`socios_otros_parametros`.`clave_del_parametro` ='" . $xODat->AML_PEP_VINCULO_ECONOM . "')\t";
$titulo = "";
$archivo = "";
$xRPT = new cReportes($titulo);
$xRPT->setFile($archivo);
$xRPT->setOut($out);
$xRPT->setSQL($sql);
$xRPT->setTitle($xHP->getTitle());
//============ Reporte
$xT = new cTabla($sql, 1);
$xT->setTipoSalida($out);
$body = $xRPT->getEncabezado($xHP->getTitle(), $FechaInicial, $FechaFinal);
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:personas-pep.rpt.php



注:本文中的fechasys函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP feed_add函数代码示例发布时间:2022-05-15
下一篇:
PHP fecha_larga函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap