User Order step1

This commit is contained in:
Kevin Adametz 2020-08-07 16:02:03 +02:00
parent 83c67d3d05
commit 01242b4690
85 changed files with 6295 additions and 386 deletions

View file

@ -26,9 +26,10 @@ class ProductRepository extends BaseRepository {
{
$data['active'] = isset($data['active']) ? 1 : 0;
$data['shipping_addon'] = isset($data['shipping_addon']) ? 1 : 0;
if($data['id'] == "new"){
if($data['id'] === "new"){
$this->model = Product::create($data);
}
else{