@extends('theme::backend.layouts.app') @section('theme::backend-content') @include('theme::backend.layouts.navbar')

{{ __('Battle Pass Donations') }}

@if(session()->has('success')) @endif {{ __('backend/donations.methods.title') }}
@csrf @method('PUT') @foreach($donationMethods as $method)
id}.enabled") ? ' is-invalid' : '' }}" type="checkbox" id="method_{{ $method->id }}_enabled" name="method[{{ $method->id }}][enabled]" @if(old("method.{$method->id}.enabled", $method->active)) checked @endif> @if ($errors->has("method.{$method->id}.enabled")) {{ $errors->first("method.{$method->id}.enabled") }} @endif
id}.price") ? ' is-invalid' : '' }}" type="number" id="method_{{ $method->id }}_price" step="0.01" name="method[{{ $method->id }}][price]" value="{{ $method->price }}"> @if ($errors->has("method.{$method->id}.price")) {{ $errors->first("method.{$method->id}.price") }} @endif
@endforeach
@if ($errors->has("battle_pass_reset_in")) {{ $errors->first("battle_pass_reset_in") }} @endif

{!! $dataTable->table(['class' => 'table table-hover table-borderless table-striped dataTable w-100'], true) !!}
@endsection @push('theme::javascript') {!! $dataTable->scripts() !!} @endpush