[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/03: Improve : analytic print , by default
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/03: Improve : analytic print , by default date of exercice |
Date: |
Fri, 11 Mar 2016 20:03:38 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d5ba98182d993693ae1f86d30d8c5314b3094aad
Author: Dany De Bontridder <address@hidden>
Date: Wed Mar 9 22:41:44 2016 +0100
Improve : analytic print , by default date of exercice
---
include/class/class_anc_print.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/class/class_anc_print.php
b/include/class/class_anc_print.php
index 16c7b6b..c70953d 100644
--- a/include/class/class_anc_print.php
+++ b/include/class/class_anc_print.php
@@ -47,9 +47,11 @@ class Anc_Print
function __construct($p_cn)
{
+ global $g_user;
+ list($from,$to)=$g_user->get_limit_current_exercice();
$this->db=$p_cn;
- $this->from="";
- $this->to="";
+ $this->from=$from;
+ $this->to=$to;
$this->from_poste="";
$this->to_poste="";
$this->has_data=0;