@if (count($selected) > 0)
@if (count($errors) == 0)
@else
You are not authorized to change the payment state of these orders:
@for ($i = 0; $i < count($errors); $i++)
{{ $i != (count($errors)-1) ? ($errors[$i] . ', ') : $errors[$i]}}
@endfor
. Deselect them and try again!
@endif
@else