<?php echo $__env->make('partials.homepage.head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <div id="agriHero" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-inner">
            <div class="carousel-item">
                <img src="<?php echo e(url('/banner5.jpg')); ?>" class="d-block w-100">
           </div>
        </div>
    </div>
   <section class="py-5 bg-light">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-8">
                    <div class="form-container">
                        <div class="card">
                            <div class="card-header">
                                <h3 class="text-center mb-4 fw-bold text-agri">Track Your Solar Installation</h3>
                            </div>
                            <div class="card-body">
    <h5 class="card-title">Enter your order number to check the real-time status of your solar installation</h5>
                        <form id="demo-form2" action="<?php echo e(url('/track_order')); ?>" method="post" enctype="multipart/form-data" data-parsley-validate class="form-horizontal form-label-left">
                            <?php echo e(csrf_field()); ?>

                            <div class="row g-3">
                                <div class="col-md-12">
                                    <label class="form-label">Tracking Number</label>
                                    <input type="text" name="ack_number" class="form-control" placeholder="Tracking Number">
                                </div>
                                <div class="col-12 text-center mt-4">
                                    <button type="submit" class="btn btn-agri btn-lg px-5">Submit</button>
                                </div>
                            </div>
                        </form>
</div>
</div>
                        <?php if(isset($customer->id)): ?>
                                    <?php if($customer->lead_type=='New' || true): ?>
            <h3 class="card-title">Personal Detail</h3>

            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('placement', 'Placement*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->placement=='r' ? 'Right' : 'Left'); ?>

                    </div>
                </div>
                <div class="col-md-8">
                    <div class="form-group">
                        <?php echo Form::label('full_name', 'Full Name*', ['class' => 'control-label', 'required']); ?>

                        <?php echo e($customer->full_name); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('gender', 'Gender*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->gender==0 ? 'Male' : 'Female'); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('mobileno', 'Mobile no.*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->mobileno); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                    <?php echo Form::label('email', 'Email*', ['class' => 'control-label']); ?>

                    <?php echo e($customer->email); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('panno', 'Pan no.*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->panno); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('dob', 'Date of Birth*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->dob); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                    <?php echo Form::label('address', 'Address', ['class' => 'control-label']); ?>

                        <?php echo e($customer->address); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                    <?php echo Form::label('pincode', 'Pincode', ['class' => 'control-label']); ?>

                        <?php echo e($customer->pincode); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                    <?php echo Form::label('state', 'State*', ['class' => 'control-label']); ?>

                    </div>
                    <?php echo e($customer->state_name); ?>

                </div>
                <div class="col-md-4">
                    <div class="form-group">
                    <?php echo Form::label('city', 'City*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->city_name); ?>

                    </div>
                </div>                
            </div>
            <?php endif; ?>
            <h3 class="card-title">Solar And Connection</h3>
            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('bank_name', 'Bank Name', ['class' => 'control-label']); ?>

                        <?php echo e($customer->bank_name); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('econn_no', 'Monthly Avg Electric Bill Amount*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->econn_no); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('solar_conn_type', 'Solar Connection Type*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->solar_conn_type); ?>

                    </div>
                </div>
                <div class="col-md-4">
                      <div class="form-group">
                      <label for="ev_ev_solar_model_id" class="control-label">Solar Name<span class="required">*</span></label>                  
                        <?php echo e($ev_ev_solar_model_ids->title); ?>

                    </div>
                </div>
                <div class="col-md-4">
                      <div class="form-group">
                      <label for="ev_ev_solar_model_id" class="control-label">KW<span class="required">*</span></label>                  
                        <?php echo e($ev_ev_solar_model_ids->kw); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('property_type', 'Property Type*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->property_type); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('monthly_elecbill', 'Electricity Connection No.', ['class' => 'control-label']); ?>

                        <?php echo e($customer->monthly_elecbill); ?>

                    </div>
                </div>
                <div class="col-md-4">
                    <div class="form-group">
                        <?php echo Form::label('payment_type', 'Payment Type*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->payment_type); ?>

                    </div>
                </div>
                <div class="col-md-4" id="loan_amount_con">
                    <div class="form-group">
                        <?php echo Form::label('loan_amount', 'Loan Amount', ['class' => 'control-label']); ?>

                        <?php echo e($customer->loan_amount); ?>

                    </div>
                </div>
            </div>
            
            <h3 class="card-title">Payment</h3>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <?php echo Form::label('status', 'Status*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->status_name); ?>


                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <?php echo Form::label('admin_comment', 'Admin Comment*', ['class' => 'control-label']); ?>

                        <?php echo e($customer->approve_comment); ?>

                        <br/>
                        <?php echo e($customer->loan_comment); ?>

                    </div>
                </div>
            </div>
  
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </section>



    <?php echo $__env->make('partials.homepage.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /home2/justsolar/public_html/resources/views/front/track-order.blade.php ENDPATH**/ ?>