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

@param \Cortex\Bookings\Models\Service                      $service
@param \Cortex\Foundation\DataTables\ImportRecordsDataTable $importRecordsDataTable

@return \Illuminate\View\View
Import services .