change homepages to contents, add new methods to deliveries and sale_channels by customer

This commit is contained in:
ludo
2023-12-09 23:55:50 +01:00
parent 7561a8e8ba
commit 71ecb13af0
28 changed files with 185 additions and 153 deletions

View File

@@ -3,7 +3,7 @@
namespace App\Repositories;
use App\Repositories\Shop\Categories;
use App\Repositories\Shop\Homepages;
use App\Repositories\Shop\Contents;
class Config
{
@@ -12,8 +12,8 @@ class Config
return [
'auth' => Users::getUser() ? Users::getInfo() : false,
'categories' => Categories::getTreeVisibles(),
'footer' => Homepages::getFooter(),
'extra_footer' => Homepages::getExtraFooter(),
'footer' => Contents::getFooter(),
'extra_footer' => Contents::getExtraFooter(),
];
}
}