[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5508 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5508 - phpcompta/trunk/include |
Date: |
Sat, 19 Oct 2013 15:23:31 +0200 (CEST) |
Author: danydb
Date: 2013-10-19 15:23:30 +0200 (Sat, 19 Oct 2013)
New Revision: 5508
Modified:
phpcompta/trunk/include/class_html_input.php
Log:
Card_detail without history
Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php 2013-10-19 13:06:49 UTC
(rev 5507)
+++ phpcompta/trunk/include/class_html_input.php 2013-10-19 13:23:30 UTC
(rev 5508)
@@ -456,12 +456,13 @@
/**
*show the detail of a card
*/
- static function card_detail($p_qcode,$pname='',$p_style="")
+ static function
card_detail($p_qcode,$pname='',$p_style="",$p_nohistory=false)
{
//if ($pname=='')$pname=$p_qcode;
$r="";
- $r.=sprintf('<a href="javascript:void(0)" %s
onclick="fill_ipopcard({qcode:\'%s\'})">%s [%s]</a>',
- $p_style,$p_qcode,$pname,$p_qcode);
+ $histo=($p_nohistory==true)?' ,nohistory:1':"";
+ $r.=sprintf('<a href="javascript:void(0)" %s
onclick="fill_ipopcard({qcode:\'%s\' %s})">%s [%s]</a>',
+ $p_style,$p_qcode,$histo,$pname,$p_qcode);
return $r;
}
/**
---
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] r5508 - phpcompta/trunk/include,
phpcompta-dev <=