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

{{__("Branches")}}

{{__("Control and view all Branches of Store")}}

@endsection @section("content") @include("includes.dialog")
@foreach($branches as $branch) @endforeach
{{__("#ID")}} {{__("Image")}} {{__("Branch Name")}} {{__("Location on the Map")}} {{__("Address")}} {{__("Phone Number")}} {{__("Category")}} {{__("Control")}}
{{$branch->id}} @if(!is_null($branch->getFirstMediaFile()))@endif {{$branch->store_name}} {{$branch->address}} {{$branch->phone_number}} {{$branch->category->name}} id)}}" class="control-link edit">
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 successfully")}}">@csrf @method("delete")
@endsection @section("scripts") @endsection