@foreach($actions as $action => $actionLabel)
@foreach($recurrings as $billing => $recurring)
@php($current = $item->exists ? $item->prices->where('currency', $currency)->where('action', $action)->where('billing', $billing)->first() : null)
{{ $recurring['translate'] }}
@include('admin/shared/input', ['name' => "prices[$currency][$action][$billing][price]", 'label' => __('store.price'), 'value' => old("prices.$currency.$action.$billing.price", $current?->price), 'type' => 'number', 'step' => '0.01', 'min' => 0])
@include('admin/shared/input', ['name' => "prices[$currency][$action][$billing][setup]", 'label' => __('store.fees'), 'value' => old("prices.$currency.$action.$billing.setup", $current?->setup), 'type' => 'number', 'step' => '0.01', 'min' => 0])
@endforeach