 @extends('admin.layouts.main-layout')
 @section('content')
   <div class="container">
        <div class="justify-content-center">
            <div class="">
                <div class="card">
                    <div class="card-header">Update Customer</div>
                    <div class="card-body">
                        @if ($errors->any())
                            <div class="alert alert-danger">
                                <ul>
                                    @foreach ($errors->all() as $error)
                                        <li>{{ $error }}</li>
                                    @endforeach
                                </ul>
                            </div>
                        @endif
                         <form role="form" method="post" onsubmit="return validateForm('addsstatus')" class="addsstatus" action="{{url('admin/customer/'.$detail->id)}}" autocomplete="off" enctype="multipart/form-data">
                             @csrf
                             {{ method_field('PATCH') }}
                       

                          
                            <div class="form-group">
                                <label for="title">Name <span class="require label-mandatory">*</span></label>
                                  <span  class="form-control input-mandatory">{{$detail->name}}</span>
                              
                            </div>
                             <div class="form-group">
                                <label for="title">Mobile <span class="require label-mandatory">*</span></label>
                               
                                        <span  class="form-control input-mandatory">{{$detail->mobile_number}}</span>
                            </div>
                            <div class="form-group">
                                <label for="title">Google Pay <span class="require label-mandatory">*</span></label>
                                <span  class="form-control input-mandatory">{{$detail->gpay}}</span>
                            </div>
                               <div class="form-group">
                                <label for="title">Phone Pay <span class="require label-mandatory">*</span></label>
                                <span  class="form-control input-mandatory">{{$detail->ppay}}</span>
                                
                            </div>
                            
                            <br>
                           

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection