[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5056 - in phpcompta/tags/rel650/include: . template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5056 - in phpcompta/tags/rel650/include: . template |
Date: |
Sat, 30 Jun 2012 14:39:28 +0200 (CEST) |
Author: danydb
Date: 2012-06-30 14:39:28 +0200 (Sat, 30 Jun 2012)
New Revision: 5056
Modified:
phpcompta/tags/rel650/include/class_calendar.php
phpcompta/tags/rel650/include/template/dashboard.php
Log:
0000666: Limiter dans le tableau accueil, le calendrier ?\195?\160 exercice
courant
0000667: DASHBOAD : agrandir les ?\195?\169l?\195?\169ments
Modified: phpcompta/tags/rel650/include/class_calendar.php
===================================================================
--- phpcompta/tags/rel650/include/class_calendar.php 2012-06-30 12:23:44 UTC
(rev 5055)
+++ phpcompta/tags/rel650/include/class_calendar.php 2012-06-30 12:39:28 UTC
(rev 5056)
@@ -90,6 +90,8 @@
*/
function display()
{
+ global $g_user;
+ $exercice_user=$g_user->get_exercice();
/* day */
$cell=array();
for ($i=0;$i<42;$i++)
@@ -104,7 +106,7 @@
$this->fill_from_todo($cell);
$wMonth=new ISelect('per');
$cn=new Database(dossier::id());
- $wMonth->value=$cn->make_array("select p_id,to_char(p_start,'MM/YYYY')
from parm_periode order by p_start");
+ $wMonth->value=$cn->make_array("select p_id,to_char(p_start,'MM/YYYY')
from parm_periode where p_exercice = '$exercice_user' order by p_start");
$wMonth->selected=$this->default_periode;
$wMonth->javascript="onchange=change_month(this)";
$wMonth->set_attribute('gDossier',dossier::id());
Modified: phpcompta/tags/rel650/include/template/dashboard.php
===================================================================
--- phpcompta/tags/rel650/include/template/dashboard.php 2012-06-30
12:23:44 UTC (rev 5055)
+++ phpcompta/tags/rel650/include/template/dashboard.php 2012-06-30
12:39:28 UTC (rev 5056)
@@ -1,4 +1,4 @@
-<div style="float:left;width: 45%">
+<div style="float:left;width: 49%">
<fieldset >
<legend><?=_('Calendrier')?>
</legend>
@@ -24,7 +24,7 @@
$array=$todo->load_all();
?>
-<div style="float:right;width: 45%">
+<div style="float:right;width: 49%">
<fieldset> <legend><?=_('Pense-Bête')?></legend>
<?php
@@ -58,7 +58,7 @@
</fieldset>
</div>
<div style="float:left;clear:both"></div>
-<div style="float:right;width: 45%">
+<div style="float:right;width: 49%">
<? if (count($last_operation)> 0) : ?>
<fieldset>
<legend><?=_('Action pour aujourd\'hui')?>
@@ -113,7 +113,7 @@
</fieldset>
<? endif; ?>
</div>
- <div style="float:left;width: 45%">
+ <div style="float:left;width: 49%">
<?php
/*
* Mini Report
@@ -161,7 +161,7 @@
?>
</div>
-<div style="float:right;width: 45%">
+<div style="float:right;width: 49%">
<fieldset>
<legend><?=_('Dernières opérations')?>
</legend>
---
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] r5056 - in phpcompta/tags/rel650/include: . template,
phpcompta-dev <=