src/Http/Controllers/Adminarea/EventsController.php
public function import(Event $event, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $event,
            'tabs' => 'adminarea.events.tabs',
            'url' => route('adminarea.events.stash'),
            'id' => "adminarea-events-{$event->getRouteKey()}-import-table",
        ])->render('cortex/foundation::adminarea.pages.datatable-dropzone');
    }
public function import(Event $event, ImportRecordsDataTable $importRecordsDataTable)
    {
        return $importRecordsDataTable->with([
            'resource' => $event,
            'tabs' => 'adminarea.events.tabs',
            'url' => route('adminarea.events.stash'),
            'id' => "adminarea-events-{$event->getRouteKey()}-import-table",
        ])->render('cortex/foundation::adminarea.pages.datatable-dropzone');
    }
public function import ( Event $ event , ImportRecordsDataTable $ importRecordsDataTable ) { return $ importRecordsDataTable -> with ( [ 'resource' => $ event , 'tabs' => 'adminarea.events.tabs' , 'url' => route ( 'adminarea.events.stash' ) , 'id' => "adminarea-events-{$event->getRouteKey()}-import-table" , ] ) -> render ( 'cortex/foundation::adminarea.pages.datatable-dropzone' ) ; }
Import events.

@param \Cortex\Bookings\Models\Event                        $event
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import events .