export fix
This commit is contained in:
1 parent
8b67b7ce9e
commit
74edf9411c
3 files changed
+1
-5
No files matched your search
@@ -108,7 +108,7 @@ class Logifuture
|
||||
if ($event_id_collector) {
|
||||
|
||||
if ($debug) {
|
||||
Notice::note($event_id_collector, 'r');
|
||||
// Notice::note($event_id_collector, 'r');
|
||||
}
|
||||
|
||||
EventBookmaker::whereNotIn('event_id', $event_id_collector)->where('bookmaker_id', Nuh::$options['bookmaker_id'])->update(['in_feed' => 0]);
|
||||
|
||||
-3
@@ -17,14 +17,12 @@ use Filament\Actions\EditAction;
|
||||
use Filament\Actions\ExportAction;
|
||||
use Filament\Actions\Exports\Enums\ExportFormat;
|
||||
use Filament\Notifications\Notification;
|
||||
use Filament\Schemas\Components\Utilities\Get;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\SelectColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
class CompetitionGroupsTable
|
||||
{
|
||||
@@ -96,7 +94,6 @@ class CompetitionGroupsTable
|
||||
->modalIcon('phosphor-microsoft-excel-logo')
|
||||
->exporter(CompetitionGroupExporter::class)
|
||||
->columnMapping(false)
|
||||
->modifyQueryUsing(fn (Builder $query, Get $get) => $query->where('sport_id', $get('sport_id')))
|
||||
->formats([
|
||||
ExportFormat::Xlsx,
|
||||
ExportFormat::Csv,
|
||||
|
||||
@@ -115,7 +115,6 @@ class ElementsTable
|
||||
->modalIcon('phosphor-microsoft-excel-logo')
|
||||
->exporter(ElementExporter::class)
|
||||
->columnMapping(false)
|
||||
->modifyQueryUsing(fn (Builder $query, Get $get) => $query->where('sport_id', $get('sport_id')))
|
||||
->formats([
|
||||
ExportFormat::Xlsx,
|
||||
ExportFormat::Csv,
|
||||
|
||||
Reference in new issue
Block a user