@if(request('trashed') == 1) {!! Form::open(['route' => ['services.restore', $id], 'method' => 'post']) !!}
{!! Form::button(' استرجاع', [ 'type' => 'submit', 'class' => 'btn btn-success btn-xs', 'onclick' => 'return confirm("'.__('هل انت متأكد من استرجاع هذه الخدمة؟').'")' ]) !!}
{!! Form::close() !!} @else {!! Form::open(['route' => ['services.destroy', $id], 'method' => 'delete']) !!}
{!! Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'title' => 'حذف', 'onclick' => 'return confirm("'.__('هل انت متأكد من حذف البيانات؟').'")' ]) !!}
{!! Form::close() !!} @endif