This commit is contained in:
2026-04-15 19:34:56 +05:00
parent 34ffed1e4a
commit e243821f50
26 changed files with 2072 additions and 1258 deletions

View File

@@ -147,10 +147,10 @@ class Category extends Model
);
}
return (string) $this->image;
return env('APP_URL') . '/' . $this->image;
}
return (string) 'images/nophoto.jpg';
return env('APP_URL') . '/images/nophoto.jpg';
}
public function getParentId(): int