@if($is_active == 1)
{!! Form::open(['route' => ['subscriptions.cancel', $id], 'method' => 'post']) !!}
{!! Form::button('', [
'type' => 'submit',
'class' => 'btn btn-default btn-xs',
'onclick' => 'return confirm("'.__('هل انت متأكد من الغاء الإشتراك؟').'")'
]) !!}
{!! Form::close() !!}
@endif
@if($is_active == 0)
{!! Form::open(['route' => ['subscriptions.activate', $id], 'method' => 'post']) !!}
{!! Form::button('', [
'type' => 'submit',
'class' => 'btn btn-default btn-xs',
'onclick' => 'return confirm("'.__('هل انت متأكد من تفعيل الإشتراك؟').'")'
]) !!}
{!! Form::close() !!}
@endif