interdiction de save le no_Arcadia
This commit is contained in:
parent
3c9f138282
commit
edec2d20d8
1 changed files with 2 additions and 1 deletions
|
|
@ -269,6 +269,7 @@ class ProductsController extends Controller
|
|||
//ajout des infos additionnelles
|
||||
$product_type = $request->product_type;
|
||||
|
||||
//save additionnal
|
||||
if ($product_type !== null) {
|
||||
$methodName = "save" . ucfirst($product_type);
|
||||
$this->$methodName($request, $product->id);
|
||||
|
|
@ -349,7 +350,7 @@ class ProductsController extends Controller
|
|||
'product_id' => $product_id,
|
||||
]);
|
||||
|
||||
$foodProduct->no_art = $request->no_art;
|
||||
//$foodProduct->no_art = $request->no_art;
|
||||
$foodProduct->ingredients = $request->ingredients;
|
||||
$foodProduct->preparation = $request->preparation;
|
||||
$foodProduct->servings = $request->servings;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue