@extends('backend.layouts.app') @section('content')

Edit Multi person Discounts

@foreach($editDiscounts as $editDiscount)
{{ csrf_field() }}
@if ($errors->has('discount_name')) {{ $errors->first('discount_name') }} @endif
@if ($errors->has('no_of_users')) {{ $errors->first('no_of_users') }} @endif


@if($editDiscount->multiperson_discount_all_programs == "1")
@elseif($editDiscount->multiperson_discount_all_programs == "0")
@if ($errors->has('coupon_eligible_program[]')) {{ $errors->first('coupon_eligible_program[]') }} @endif
@endif


@if($editDiscount->multiperson_discount_classes_type == 1)
@else($editDiscount->multiperson_discount_classes_type == 2)
@endif

@if($editDiscount->multiperson_discount_amount_type == 1)
Fixed Percentage
@else
Fixed Percentage
@endif
@if ($errors->has('discount_amount')) {{ $errors->first('discount_amount') }} @endif
 
@if ($errors->has('discount_details')) {{ $errors->first('discount_details') }} @endif



@endforeach
@stop