feat(sales): add sales feature toggle

This commit is contained in:
Rico van Zelst
2025-12-04 21:11:24 +01:00
parent 6896dc4017
commit 08999d08cd
4 changed files with 43 additions and 7 deletions

17
config/sales.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Sales page feature toggle
|--------------------------------------------------------------------------
|
| Enable or disable fetching of the external Sale Rotation data. When set to
| true, the app will attempt to fetch sale rotation data from the external
| API. When false, the sales page will show a maintenance message and no
| external requests are made.
|
*/
'enabled' => env('SALES_ENABLED', false),
];