@extends('admin.layout') @section('title', 'Kelola Channel Pembayaran') @section('page-title', 'Kelola Channel Pembayaran') @section('content')

Kelola Channel Pembayaran

Atur metode pembayaran yang tersedia untuk invoice

Tambah Channel
@if(session('success')) @endif @if(session('error')) @endif
@forelse($paymentChannels as $channel)
{{ $channel->name }}
{{ $channel->code }}
is_active ? 'checked' : '' }} onchange="toggleStatus({{ $channel->id }})">
@if($channel->description)

{{ $channel->description }}

@endif @if($channel->settings && count($channel->settings) > 0)
Pengaturan:
@foreach($channel->settings as $key => $value) @if($value)
{{ ucfirst(str_replace('_', ' ', $key)) }}: @if(str_contains($key, 'password') || str_contains($key, 'secret')) •••••••• @else {{ $value }} @endif
@endif @endforeach
@endif
Digunakan dalam: {{ $channel->invoices()->count() }} invoice
Urutan tampilan: #{{ $channel->sort_order }}
@empty
Belum ada channel pembayaran

Tambahkan channel pembayaran pertama untuk mulai menerima pembayaran

Tambah Channel Pertama
@endforelse
@endsection @push('styles') @endpush @push('scripts') @endpush