<ul class="d-flex gap-1">
	<div>
		@can('rent-list.status')
		@if($history->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('rent-list.status', ['id' => $history->id,'status' => 1]) }}')"
			data-toggle="tooltip"><span class="text-center">@if($history->type == 'offline'){{__('approve')}}@else{{ __('active') }}@endif</span>
		</a>
		@elseif($history->status == 1)
		<a href="javascript:void(0)"
			onclick="delete_row('{{ route('rent-list.status', ['id' => $history->id,'status' => 0]) }}')"
			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>
		@endif
		@endcan
	</div>
</ul>