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

{{__('Payment Methods')}}

{{__('Control and View All Payment Methods')}}

@endsection @section("content") @include("layouts.main-parts.page-message")
@if(hasPermissions(["edit-payment-method", "delete-payment-method"])) @endif @foreach($payments as $payment) @if(hasPermissions(["edit-payment-method", "delete-payment-method"])) @endif @endforeach
#{{__('ID')}} {{__('Title')}}{{__('Control')}}
{{$payment->id}} {{$payment->title}} @if(hasPermissions("edit-payment-method")) id)}}" class="control-link edit"> @endif @if(hasPermissions("delete-payment-method"))
id)}}" method="post" id="delete{{$payment->id}}" style="display: none" data-swal-title="Delete Payment" data-swal-text="Are Your Sure To Delete This Payment ?" data-yes="Yes" data-no="No" data-success-msg="the payment has been deleted succssfully">@csrf @method("delete")
@endif
@endsection @section("scripts") @endsection