@extends("layouts.dashboard.app") @section("page-nav-title")

Branches

Control and view all Branches of Store

@endsection @section("content") @include("layouts.main-parts.page-message")
@if(hasPermissions("control-sliders-branches")) @endif @if(hasPermissions(["edit-branch", "delete-branch"])) @endif @foreach($branchs as $branch) @if(hasPermissions("control-sliders-branches")) @endif @if(hasPermissions(["edit-branch", "delete-branch"])) @endif @endforeach
#{{__('ID')}} {{__('Image')}} {{__('Arabic Branch Name')}} {{__('Location on the Map')}} {{__('Phone number')}}{{__('Sliders')}}{{__('Control')}}
{{$branch->id}} image {{$branch->store_name}} {{$branch->phone_number}}id)}}" class="btn btn-primary">Control @if(hasPermissions("edit-branch")) id)}}" class="control-link edit"> @endif @if(hasPermissions("delete-branch"))
id)}}" method="post" id="delete{{$branch->id}}" style="display: none" data-swal-title="Delete Branch" data-swal-text="Are Your Sure To Delete This Branch ?" data-yes="Yes" data-no="No" data-success-msg="the branch has been deleted succssfully">@csrf @method("delete")
@endif
@endsection @section("scripts") @endsection