From a3b1753d9adc63981292abbd2b6dc93e778b976c Mon Sep 17 00:00:00 2001 From: Kayn Ty Date: Fri, 20 Apr 2018 09:40:17 +0200 Subject: [PATCH] list stocks --- .../views/logged/angular/current.html.twig | 6 ++- .../logged/angular/listing-products.html.twig | 3 ++ app/Resources/views/product/index.html.twig | 2 + assets/js/parts/main.js | 22 +++++++++- .../Controller/DefaultController.php | 12 ++++-- .../Controller/ProductCategoryController.php | 2 +- src/AppBundle/Entity/Product.php | 41 +++++++++---------- src/AppBundle/Entity/Product.php~ | 23 +++++++++++ src/AppBundle/Form/ProductType.php | 12 ++++-- 9 files changed, 90 insertions(+), 33 deletions(-) diff --git a/app/Resources/views/logged/angular/current.html.twig b/app/Resources/views/logged/angular/current.html.twig index 1a53a4ef..3ba92000 100755 --- a/app/Resources/views/logged/angular/current.html.twig +++ b/app/Resources/views/logged/angular/current.html.twig @@ -19,7 +19,9 @@ {{ activeSelling.length }} produits - {{ sellingComment }} +