@extends('parts.container') @section('content')
Charge Settings

Minimums are in base currency ({{ $baseCurrencyCode }}).

@if(session('success')) @endif
@csrf
@foreach ($definitions as $group)
{{ $group['label'] }}
@foreach ($group['items'] as $code => $label) @php $current = $settings->get($code); $minValue = old("settings.$code.min_amount", $current?->min_amount ?? 0); $percentValue = old("settings.$code.percentage", $current?->percentage ?? 0); @endphp @endforeach
Type Minimum ({{ $baseCurrencyCode }}) Percentage
{{ $label }}
%
@endforeach
@endsection