@foreach ($permission_group as $key => $permission)
@php
$check = true;
$addons = array("offline_payment", "club_point", "pos_system", "paytm", "seller_subscription", "otp_system", "refund_request", "affiliate_system", "african_pg", "delivery_boy", "auction", "wholesale");
if(in_array($permission_group[0]['section'], $addons)){
if (addon_is_activated($permission_group[0]['section']) == false) {
$check = false;
}
}
@endphp
@if($check)
@endif
@endforeach