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

{{__("representatives")}}

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

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