10-04-2026
This commit is contained in:
parent
4d6b4930b2
commit
4bb89aad8c
836 changed files with 52961 additions and 5950 deletions
22
app/Console/Commands/ResetCabinetTabletOverrides.php
Normal file
22
app/Console/Commands/ResetCabinetTabletOverrides.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\CabinetTabletSetting;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class ResetCabinetTabletOverrides extends Command
|
||||
{
|
||||
protected $signature = 'cabinet:reset-overrides';
|
||||
|
||||
protected $description = 'Setzt die Sonderöffnungszeiten des Cabinet Info-Tablets zurück';
|
||||
|
||||
public function handle(): int
|
||||
{
|
||||
CabinetTabletSetting::current()->clearOverrides();
|
||||
|
||||
$this->info('Cabinet-Tablet Sonderöffnungszeiten wurden zurückgesetzt.');
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue