[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4970 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4970 - phpcompta/trunk/include |
Date: |
Thu, 21 Jun 2012 18:49:45 +0200 (CEST) |
Author: danydb
Date: 2012-06-21 18:49:45 +0200 (Thu, 21 Jun 2012)
New Revision: 4970
Modified:
phpcompta/trunk/include/class_follow_up.php
Log:
0000638: Recherche action gestion
Modified: phpcompta/trunk/include/class_follow_up.php
===================================================================
--- phpcompta/trunk/include/class_follow_up.php 2012-06-21 16:43:52 UTC (rev
4969)
+++ phpcompta/trunk/include/class_follow_up.php 2012-06-21 16:49:45 UTC (rev
4970)
@@ -1131,7 +1131,7 @@
$type_state->selected = (isset($_GET['state'])) ?
$_GET['state'] : -1;
-
+
/* Except State of documents */
$hsExcptype_state= new ISelect('hsstate');
$aExcpState = $cn->make_array('select s_id,s_value from
document_state order by s_value');
@@ -1139,7 +1139,7 @@
$hsExcptype_state->value = $aExcpState;
$hsExcptype_state->selected = (isset($_GET['hsstate'])) ?
$_GET['hsstate'] : -1;
-
+
// date
$start = new IDate('date_start');
$start->value = (isset($_GET['date_start'])) ?
$_GET['date_start'] : "";
@@ -1235,7 +1235,7 @@
{
$query .= ' and ag_state= ' . sql_string($state);
}
- if (isset($hsstate) && $hsstate!= -1)
+ if (isset($hsstate) && $hsstate!= -1)
{
$query .= ' and ag_state <> ' . sql_string($hsstate);
}
@@ -1243,10 +1243,10 @@
{
$query .= ' and ag_ref= \'' . sql_string($sag_ref)."'";
}
-
+
if (isset($_GET['only_internal']))
$query .= ' and f_id_dest=0 ';
-
+
if (isset($date_start) && isDate($date_start) != null)
{
$query.=" and ag_timestamp >=
to_date('$date_start','DD.MM.YYYY')";
@@ -1258,13 +1258,13 @@
if (isset($ag_dest_query) && $ag_dest_query != -2 )
{
$query.= " and ag_dest = " . sql_string($ag_dest_query);
- }
+ }
else
{
$query .=" and (ag_owner='" . $_SESSION['g_user'] . "' or
".self::sql_security_filter($cn, "R")." or ag_dest=-1 )";
}
-
-
+
+
if (isNumber($ag_id) == 1 && $ag_id != 0)
{
$query = " and ag_id= " . sql_string($ag_id);
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4970 - phpcompta/trunk/include,
phpcompta-dev <=