@can('earnings.show')
@endcan
@can('marketsPayouts.create')
@endcan
@can('earnings.edit')
@endcan
@can('earnings.destroy')
{!! Form::open(['route' => ['earnings.destroy', $id], 'method' => 'delete']) !!}
{!! Form::button('', [
'type' => 'submit',
'class' => 'btn btn-link text-danger',
'onclick' => "return confirm('Are you sure?')"
]) !!}
{!! Form::close() !!}
@endcan