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

{{__("Stations")}}

{{__("All Stations")}}

@endsection @section("content") @include("layouts.main-parts.page-message")
{{__('Export As Excel')}}
@if(isPermissionsAllowed("edit-stations" ,"delete-stations")) @endif @foreach($stations as $key => $station) @if(isPermissionsAllowed("edit-stations" ,"delete-stations")) @endif @endforeach
{{__("ID")}} {{__("Image")}} {{__("Name English")}} {{__("Name Arabic")}} {{__("Phone Number")}} {{__("Address English")}} {{__("Address Arabic")}} {{__("Area")}} {{__("Location")}} {{__("Activation")}} {{__("zip")}}{{__("Control")}}
{{$station->id}} {{$station->name_en}} {{$station->name_ar}} {{$station->phone_number}} {{$station->address_en}} {{$station->address_ar}} {{$station->area->name_en}} @if($station->status == 1) {{ __("Active") }} @elseif($station->status == 2) {{ __("Non-Active") }} @else {{ __("Under-Process") }} @endif {{$station->zip}} @if(isPermissionsAllowed("edit-stations")) id)}}" class="control-link edit"> @endif @if(isPermissionsAllowed("delete-stations"))
id)}}" method="post" id="delete{{$station->id}}" style="display: none" data-swal-title="{{__("Delete Branch")}}" data-swal-text="{{__("Are You 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