@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.subscription.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('customer'))
{{ $errors->first('customer') }}
@endif {{ trans('cruds.subscription.fields.customer_helper') }}
@if($errors->has('service'))
{{ $errors->first('service') }}
@endif {{ trans('cruds.subscription.fields.service_helper') }}
@foreach(App\Models\Subscription::STATUS_RADIO as $key => $label)
status) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.subscription.fields.status_helper') }}
@if($errors->has('start_date'))
{{ $errors->first('start_date') }}
@endif {{ trans('cruds.subscription.fields.start_date_helper') }}
@if($errors->has('end_date'))
{{ $errors->first('end_date') }}
@endif {{ trans('cruds.subscription.fields.end_date_helper') }}
@if($errors->has('amount'))
{{ $errors->first('amount') }}
@endif {{ trans('cruds.subscription.fields.amount_helper') }}
@endsection