[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4223 - phpcompta/trunk/html
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4223 - phpcompta/trunk/html |
Date: |
Sat, 22 Oct 2011 22:15:11 +0200 (CEST) |
Author: danydb
Date: 2011-10-22 22:15:09 +0200 (Sat, 22 Oct 2011)
New Revision: 4223
Modified:
phpcompta/trunk/html/ajax_ledger.php
Log:
update doc
Modified: phpcompta/trunk/html/ajax_ledger.php
===================================================================
--- phpcompta/trunk/html/ajax_ledger.php 2011-10-20 14:41:25 UTC (rev
4222)
+++ phpcompta/trunk/html/ajax_ledger.php 2011-10-22 20:15:09 UTC (rev
4223)
@@ -21,12 +21,12 @@
// Copyright Author Dany De Bontridder address@hidden
/*!\file
- * \brief answer to the ajax request for the ledger
- * it means :
+ * \brief answer to the ajax request for the ledger
+ * it means :
- detail of an operation (expert, user and analytic view)
- removal of an operation
- load a receipt document
- - for reconcialiation
+ - for reconcialiation
- update of analytic content
*/
require_once('class_database.php');
@@ -37,11 +37,10 @@
require_once('class_acc_reconciliation.php');
require_once('class_anc_operation.php');
require_once('class_idate.php');
-require_once('class_ibox.php');
/**
* Check if we receive the needed data (jr_id...)
*/
-if ( ! isset ($_REQUEST['act'])|| ! isset ($_REQUEST['jr_id'])
+if ( ! isset ($_REQUEST['act'])|| ! isset ($_REQUEST['jr_id'])
|| ! isset ($_REQUEST['div']))
{
exit();
@@ -340,13 +339,13 @@
{
$cn->exec_sql("update jrn set jr_ech=to_date($1,'DD.MM.YYYY')
where jr_id=$2",
array($ech,$jr_id));
-
+
}
else
{
$cn->exec_sql("update jrn set jr_ech=null where jr_id=$1",
array($jr_id));
-
+
}
}
$cn->exec_sql("update jrn set
jr_comment=$1,jr_pj_number=$2,jr_date=to_date($4,'DD.MM.YYYY') where jr_id=$3",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4223 - phpcompta/trunk/html,
phpcompta-dev <=