[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4930 - in phpcompta/trunk: html/js include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4930 - in phpcompta/trunk: html/js include |
Date: |
Mon, 18 Jun 2012 15:00:28 +0200 (CEST) |
Author: danydb
Date: 2012-06-18 15:00:28 +0200 (Mon, 18 Jun 2012)
New Revision: 4930
Modified:
phpcompta/trunk/html/js/acc_ledger.js
phpcompta/trunk/html/js/infobulle.js
phpcompta/trunk/include/class_acc_ledger_fin.php
Log:
0000530: Ajouter la possibilit?\195?\169 d'entrer une date par
op?\195?\169ration dans la saisie du journal de banque
Prep. code comment?\195?\169, probl?\195?\168me avec Acc_Ledger_Fin
Modified: phpcompta/trunk/html/js/acc_ledger.js
===================================================================
--- phpcompta/trunk/html/js/acc_ledger.js 2012-06-18 12:37:13 UTC (rev
4929)
+++ phpcompta/trunk/html/js/acc_ledger.js 2012-06-18 13:00:28 UTC (rev
4930)
@@ -252,6 +252,7 @@
new_tt=new_tt.replace(/e_other0_amount/g,"e_other"+nb.value+'_amount');
new_tt=new_tt.replace(/e_concerned0/g,"e_concerned"+nb.value);
new_tt=new_tt.replace(/e_other0_label/g,"e_other"+nb.value+'_label');
+ // new_tt=new_tt.replace(/dateop0/g,"date"+nb.value);
newCell.innerHTML=new_tt;
new_tt.evalScripts();
}
Modified: phpcompta/trunk/html/js/infobulle.js
===================================================================
--- phpcompta/trunk/html/js/infobulle.js 2012-06-18 12:37:13 UTC (rev
4929)
+++ phpcompta/trunk/html/js/infobulle.js 2012-06-18 13:00:28 UTC (rev
4930)
@@ -43,6 +43,7 @@
content[13]="Vous pouvez utiliser le % pour indiquer le poste parent";
content[14]="Attention, le poste comptable doit exister, il ne sera pas
vérifié";
content[15]="Laissez à 0 pour ne rien changer";
+content[16]="Si vous ne remplissez pas la date d'opération, ce sera la date de
l'extrait qui sera utilisée";
function showBulle(p_ctl)
{
Modified: phpcompta/trunk/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_fin.php 2012-06-18 12:37:13 UTC
(rev 4929)
+++ phpcompta/trunk/include/class_acc_ledger_fin.php 2012-06-18 13:00:28 UTC
(rev 4930)
@@ -311,12 +311,15 @@
// Parse each " tiers"
for ($i = 0; $i < $max; $i++)
{
- $tiers = (isset(${"e_other" . $i})) ? ${"e_other" . $i}
: ""
- ;
+ $tiers = (isset(${"e_other" . $i})) ? ${"e_other" . $i}
: "";
+
$tiers_amount = (isset(${"e_other$i" . "_amount"})) ?
round(${"e_other$i" . "_amount"}, 2) : 0;
- $tiers_comment = (isset(${"e_other$i" . "_comment"})) ?
${"e_other$i" . "_comment"} : ""
- ;
+ $tiers_comment = (isset(${"e_other$i" . "_comment"})) ?
${"e_other$i" . "_comment"} : "";
+
+ $operation_date=new IDate("dateop".$i);
+
$operation_date->value=(isset(${'dateop'.$i}))?${'dateop'.$i}:"";
+ $array[$i]['dateop']=$operation_date->input();
${"e_other$i" . "_amount"} = (isset(${"e_other$i" .
"_amount"})) ? ${"e_other$i" . "_amount"} : 0;
$W1 = new ICard();
@@ -342,7 +345,7 @@
// Card name
//
- $card_name = "";
+ $card_name = "";
if ($tiers != "")
{
$fiche = new Fiche($this->db);
---
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] r4930 - in phpcompta/trunk: html/js include,
phpcompta-dev <=