@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("groups")}}

{{__("all-groups")}}

@endsection @section("content") @include("includes.dialog")
@if(isPermissionsAllowed("create-group"))
@csrf {{__("Export As Excel")}}
@endif
@if(isPermissionsAllowed("edit-group","delete group")) @endif @foreach($groups as $group) @if(isPermissionsAllowed("edit-group","delete group")) @endif @endforeach
# {{__("number")}} {{__("name")}} {{__("details")}}{{__("control")}}
{{$serial_number++}} {{$group->number}} {{$group->name}} id)}}" style="color: white" class="btn btn-primary mb-3">{{__("details")}} @if(isPermissionsAllowed("edit-group")) id)}}" class="control-link edit"> @if($group->delete == 1) @endif @if(isPermissionsAllowed("delete-group"))
id)}}" method="post" id="delete{{$group->id}}" style="display: none" data-swal-title="{{__("delete-group")}}" data-swal-text="{{__("are-you-sure-to-delete-this-group?")}}" data-yes="{{__("yes")}}" data-no="{{__("no")}}" data-success-msg="{{__("the-group-has-been-deleted-successfully")}}">@csrf @method("delete")
@endif @endif
@endsection