@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.donation.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('product'))
{{ $errors->first('product') }}
@endif {{ trans('cruds.donation.fields.product_helper') }}
@if($errors->has('donator'))
{{ $errors->first('donator') }}
@endif {{ trans('cruds.donation.fields.donator_helper') }}
@if($errors->has('amount'))
{{ $errors->first('amount') }}
@endif {{ trans('cruds.donation.fields.amount_helper') }}
@if($errors->has('affiliate'))
{{ $errors->first('affiliate') }}
@endif {{ trans('cruds.donation.fields.affiliate_helper') }}
@if($errors->has('attributes'))
{{ $errors->first('attributes') }}
@endif {{ trans('cruds.donation.fields.attributes_helper') }}
@foreach(App\Models\Donation::ANONYM_RADIO as $key => $label)
is_anonym) === $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('is_anonym'))
{{ $errors->first('is_anonym') }}
@endif {{ trans('cruds.donation.fields.is_anonym_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.donation.fields.status_helper') }}
@if($errors->has('paid_at'))
{{ $errors->first('paid_at') }}
@endif {{ trans('cruds.donation.fields.paid_at_helper') }}
@if($errors->has('expired_at'))
{{ $errors->first('expired_at') }}
@endif {{ trans('cruds.donation.fields.expired_at_helper') }}
@if($errors->has('canceled_at'))
{{ $errors->first('canceled_at') }}
@endif {{ trans('cruds.donation.fields.canceled_at_helper') }}
@if($errors->has('receipt'))
{{ $errors->first('receipt') }}
@endif {{ trans('cruds.donation.fields.receipt_helper') }}
@endsection @section('scripts') @endsection