Task #0001904: Previsions et budgets

Ajout montant initial and estimation cumulée pour avoir évolution passif/actif
This commit is contained in:
sparkyx 2021-03-28 15:21:47 +02:00
parent e9643d4a4f
commit b00558ee26
6 changed files with 101 additions and 54 deletions

View file

@ -220,7 +220,8 @@ EOF;
for ($j = 0; $j < count($aCat); $j++) {
// Item of the category, estimation for a specific month
$aItem[$j] = $this->cn->get_array('select fi_card,fi_account,fi_text,fi_amount,fi_debit
$aItem[$j] = $this->cn->get_array('select fi_card,fi_account,fi_text,fi_amount,fi_debit ,
fi_amount_initial
from forecast_item where fc_id=$1 and fi_pid=0 order by fi_order ',
array($aCat[$j]['fc_id']));