Author: danydb
Date: 2013-11-28 14:48:09 +0100 (Thu, 28 Nov 2013)
New Revision: 5547
Modified:
phpcompta/tags/rel670/include/class_fiche.php
Log:
sort the array for fiche properly to have the name BEFORE quickcode and
accounting
Modified: phpcompta/tags/rel670/include/class_fiche.php
===================================================================
--- phpcompta/tags/rel670/include/class_fiche.php 2013-11-24 16:34:37 UTC
(rev 5546)
+++ phpcompta/tags/rel670/include/class_fiche.php 2013-11-28 13:48:09 UTC
(rev 5547)
@@ -741,6 +741,12 @@
$this->id=$fiche_id;
// first we create the card
if ( $transaction) $this->cn->start();
+ /*
+ * Sort the array for having the name AFTER the quickcode and the
+ * Accounting
+ */
+ ksort($p_array);
+
try
{
$sql=sprintf("insert into fiche(f_id,fd_id)".
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev