@extends( 'layouts.app')

@section('title')
Update Development Charges 
@stop

@section('breadcrumb')
<ol class="breadcrumb pull-right">
        <li><a href="{{route('home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
        @permission('list-membership')
        <li ><a href="{{route('development-charges.pending')}}"></a>All Pending Development Charges</li>
        @endpermission
        <li class="active">Edit Development Charges </li>
      </ol>
@stop
@section('content')

<div class="container-fluid">
    <div class="row">

        <div class="col-md-12">
            <div class="white-box1">
                            <h3 class="box-title m-b-0">Update Development Charges Status</h3><hr>

            <form method='post' action="{{route('development-charges.updatePending')}}" enctype="multipart/form-data">
                {{csrf_field()}}
                <input type="hidden" value="{{$development_charges->id}}" name="id">

                  <div class="col-lg-12 col-sm-12 col-xs-12">

                              <div class="col-md-8">
                                                    <div class="form-group">
                                                        <label style="padding-top: 8px;" class="control-label col-md-4">Unit No <span style="color: red">*</span></label>
                                                        <div class="col-md-8">

                                                            <input type="text" class="form-control"  readonly value="{{$development_charges->customerProperty->inventory->unit_number}}" id="exampleInputEmail1" placeholder="Enter Reference">
                                        @if ($errors->has('unit_number'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('unit_number') }}</strong>
                                    </span>
                                @endif</div>
                                                    </div>
                            </div>



<div class="col-md-8">
                            <div class="form-group" >
                                    <label for="inputPassword3" class="col-sm-4 control-label">Status<span style="color: red">*</span></label>
                                    <div class="col-sm-8">
                                        <div class="input-group">
                                            <select class="form-control  " style="width:300px" name="status">
                                                
                                                <option value="1">Approved</option>
                                               

                                                

                                            </select>

                                        @if ($errors->has('status'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('status') }}</strong>
                                    </span>
                                @endif
                                        </div>
                                    </div>
                                </div>
</div>


                        </div>
                        
                        {{-- <input type="checkbox" name="notify_sms" value="1"> Sms Notification<br> --}}
                    {{-- <input type="checkbox" name="notify_email" value="1"> Email Notification --}}
                    </div>




                                <div class="form-group m-b-0 pull-right">
                    <div class="col-sm-offset-3 col-sm-9">
                        <button type="submit" class="btn btn-info  waves-effect waves-light ">Save</button>
                    </div>
              </div>
                        </div>
                    </div>
</form>
    </div>
</div>


@stop
