Skip to content

Commit

Permalink
Merge pull request #4 from A5sys/FIX-generate-file
Browse files Browse the repository at this point in the history
FIX generation of a fec file
  • Loading branch information
thomasbeaujean authored Jan 31, 2017
2 parents 17476e7 + 65101b1 commit e3290fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/FecManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function generateFile($siren, \DateTime $dateClotureExercice, $ecritureCo
// loop over each EcritureComptableinterface to get correct FEC entry
foreach ($ecritureComptableList as $ecritureComptable) {
$baseData = $this->normalizer->toArray($ecritureComptable);
$computedData = $this->debitCreditComputer->compute($ecritureComptable);
$computedData = $this->debitCreditComputer->toArray($ecritureComptable);
$completeData = $this->insertDebitCreditInBaseData($baseData, $computedData);

$data[] = $completeData;
Expand Down

0 comments on commit e3290fc

Please sign in to comment.