protected function fillFormWithCommandeData(): void
{
if ($this->commande) {
$this->form->fill([
'commande_id' => $this->commande->id,
'fournisseur_id' => $this->commande->fournisseur->id,
'commandeItems' => $this->mapCommandeItemsForForm(),// return empty
]);
}
}
protected function fillFormWithCommandeData(): void
{
if ($this->commande) {
$this->form->fill([
'commande_id' => $this->commande->id,
'fournisseur_id' => $this->commande->fournisseur->id,
'commandeItems' => $this->mapCommandeItemsForForm(),// return empty
]);
}
}