Commit d5ba27cf authored by Mat's avatar Mat

hop

parent 96ffb7be
......@@ -96,6 +96,15 @@ class MembreController extends MasterController
*/
$commande = new Commande($offre, $user);
$legume = new CommandeLegumes();
//boucle//////
//$legume
//->setPrixUnitaire(2.6)
//->setUnite('botte')
//->setQuantite(3)
//->setPrix(7.8);
//////////
$commande->addCommandeLegumes($legume);
$form = $this->createForm(CommandeType::class, $commande);
......
......@@ -18,7 +18,6 @@ class LettreSortedType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
// TODO ajouter un champs sorted dans Lettre
$builder->add('sorted', HiddenType::class, array(
'data' => array(),
));
......
......@@ -87,7 +87,7 @@
{% elseif is_granted('ROLE_ADMIN') %}
Maraîcher
{% else %}
Légumivore
Abonné
{% endif %}
</span>
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment