<ul class="d-flex gap-1">
	<div class="w-75">
		@can('subscribe-list.status')
		@if($subscription->status == 0)
		<a href="javascript:void(0)"
			class="subscription-button btn-sm d-flex align-items-center justify-content-center gap-1 btn btn-success text-light"
			onclick="delete_row('{{ route('subscribe-list.status', ['id' => $subscription->id,'status' => 1]) }}')"
			data-toggle="tooltip"><span class="text-center">@if($subscription->payment_method == 'offline'){{__('approve')}}@else{{ __('active') }}@endif</span>
		</a>
		@elseif($subscription->status == 1)
		<a href="javascript:void(0)"
			onclick="delete_row('{{ route('subscribe-list.status', ['id' => $subscription->id,'status' => 3]) }}')"
			data-toggle="tooltip"
			class="subscription-button btn-sm d-flex align-items-center justify-content-center gap-1 btn btn-secondary text-light"><span class="text-center">{{ __('inactive') }}</span>
		</a>
		@elseif($subscription->status == 2 || $subscription->status == 3)
		<a href="javascript:void(0)"
			onclick="delete_row('{{ route('subscribe-list.status', ['id' => $subscription->id,'status' => 1]) }}')"
			data-toggle="tooltip"
			class="subscription-button btn-sm d-flex align-items-center justify-content-center gap-1 btn btn-success text-light"><span class="text-center">{{ __('active') }}</span>
		</a>
		@endif
		@endcan
	</div>
</ul>