fix recalculate on last festival if exists
This commit is contained in:
parent
eeb38c694a
commit
6276383e1d
@ -1,7 +1,6 @@
|
||||
# To get started with security, check out the documentation:
|
||||
# https://symfony.com/doc/current/security.html
|
||||
security:
|
||||
|
||||
encoders:
|
||||
FOS\UserBundle\Model\UserInterface: bcrypt
|
||||
# https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
|
||||
|
@ -54,7 +54,10 @@ class DefaultController extends Controller {
|
||||
0,
|
||||
1 );
|
||||
}
|
||||
if($lastFestival){
|
||||
|
||||
$lastFestival->recalculateChiffreAffaire();
|
||||
}
|
||||
$categRepo = $m->getRepository( 'AppBundle:ProductCategory' );
|
||||
$sellingRepo = $m->getRepository( 'AppBundle:SellRecord' );
|
||||
$categories = $categRepo->findAll();
|
||||
|
Loading…
Reference in New Issue
Block a user