@if($errors->has('code'))
{{$errors->first('code')}}
@endif
@if($errors->has('discount'))
{{$errors->first('discount')}}
@endif
@if($errors->has('valid_from'))
{{$errors->first('valid_from')}}
@endif
@if($errors->has('valid_until'))
{{$errors->first('valid_until')}}
@endif