{{ csrf_field() }} {{-- @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif --}}
{{-- error msg --}} @if($errors->has('Promotion_name')) {{ $errors->first('Promotion_name') }} @endif
{{-- error msg --}} @if($errors->has('discount')) {{ $errors->first('discount') }} @endif
{{-- error msg --}} @if($errors->has('is_percentage')) {{ $errors->first('is_percentage') }} @endif
{{-- error msg --}} @if($errors->has('Promotion_type')) {{ $errors->first('Promotion_type') }} @endif
{{-- error msg --}} @if($errors->has('Applicable_products')) {{ $errors->first('Applicable_products') }} @endif
{{-- if Unchecked --}} @foreach ($Products as $Product) @endforeach
{{-- error msg --}} @if($errors->has('start_date')) {{ $errors->first('start_date') }} @endif {{-- error msg --}} @if($errors->has('end_date')) {{ $errors->first('end_date') }} @endif
{{-- error msg --}} @if($errors->has('promocode.0')) {{ $errors->first('promocode.0') }} @endif Genatate Promocode
{{-- Display => Public Type Promotions --}}
{{-- End of : Display => Public Type Promotions --}}
{{-- {{ dd($errors) }} --}}
{{-- {{ dd($errors) }} --}}