Browse Source

ProducerRepository : correctif getTurnover

feature/souke
Guillaume Bourgeois 9 months ago
parent
commit
2df6a04c22
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      domain/Producer/Producer/ProducerRepository.php

+ 1
- 1
domain/Producer/Producer/ProducerRepository.php View File

@@ -187,7 +187,7 @@ class ProducerRepository extends AbstractRepository
);

$result = $command->queryOne();
$turnover = $result['turnover'];
$turnover = (float) $result['turnover'];

if ($format) {
return number_format($turnover, 2) . ' €';

Loading…
Cancel
Save