Display view in new tab

Hi all, I have this BulkAction to print some labels:
BulkAction::make('print_labels')
->label('Stampa Selezionati')
->icon('heroicon-o-printer')
->color('success')
->action(function (Collection $records) {
$ids = $records->pluck('id')->toArray();
$url = route('print-labels', ['ids' => implode(',', $ids)]);
return redirect()->away($url);
})
->deselectRecordsAfterCompletion(),
BulkAction::make('print_labels')
->label('Stampa Selezionati')
->icon('heroicon-o-printer')
->color('success')
->action(function (Collection $records) {
$ids = $records->pluck('id')->toArray();
$url = route('print-labels', ['ids' => implode(',', $ids)]);
return redirect()->away($url);
})
->deselectRecordsAfterCompletion(),
Is there a way to open the view in a new tab ? Thanks !!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server