dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [bug #18590] Small error in Chiffres d'affaire repor


From: Franky Van Liedekerke
Subject: [Dolibarr-bugtrack] [bug #18590] Small error in Chiffres d'affaire reportings
Date: Tue, 26 Dec 2006 22:27:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

URL:
  <http://savannah.nongnu.org/bugs/?18590>

                 Summary: Small error in Chiffres d'affaire reportings
                 Project: Dolibarr
            Submitted by: liedekef
            Submitted on: Tuesday 26/12/06 at 22:27
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
        Operating System: None

    _______________________________________________________

Details:

version used: latest cvs

When using the menu "Financial->Reportings->Chiffre d'affaire by compagnies",
I saw that only 1 invoice was shown for a compagnie, although multiple
invoices exist.
The problem seems to be in the file htdocs/compta/stat/casoc.php, lines 105
and 134:

old code:
$amount[$obj->rowid] = $obj->amount_ttc;

new correct code:
$amount[$obj->rowid] += $obj->amount_ttc;

(because $obj->rowid is always the same for one compagnie)

hope this helps,

Franky




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18590>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]