|
@@ -145,6 +145,7 @@ class Customer extends Model {
|
|
|
|
|
|
|
|
public function getLogoPath(): ?string {
|
|
public function getLogoPath(): ?string {
|
|
|
$slug = Util::slug($this->name);
|
|
$slug = Util::slug($this->name);
|
|
|
|
|
+ $slug = str_replace("-", "_", $slug);
|
|
|
|
|
|
|
|
$path = sprintf("public/img/customer_logos/%s_logo.png", $slug);
|
|
$path = sprintf("public/img/customer_logos/%s_logo.png", $slug);
|
|
|
|
|
|