<?php $__env->startSection('title','Lead Information'); ?>

<?php $__env->startSection('main-content'); ?>
<div class="card">
<h5 class="card-header">Leads Information Page
   <div class="float-right">
   <a href="<?php echo e(route('leads.index')); ?>" class="btn btn-primary btn-sm float-left mr-1" style="height:30px; width:30px;border-radius:50%" data-toggle="tooltip" title="Go Back" data-placement="bottom"><i class="fas fa-arrow-left"></i></a>
   </div>
  </h5>
  <div class="card-body">
  <?php if($lead): ?>
  
    <section class="confirmation_part section_padding">
      <div class="order_boxes">
        <div class="row">
          <div class="col-lg-12 col-lx-12">
            <div class="shipping-info">
              <h4 class="text-center pb-4">Lead Information</h4>
              <table class="table">
                    <tr class="">
                        <td>Name</td>
                        <td> : <?php echo e($lead->name); ?></td>
                    </tr>
                    <tr class="">
                        <td>Email</td>
                        <td> : <?php echo e($lead->email); ?></td>
                    </tr>
                    <tr class="">
                        <td>Phone</td>
                        <td> : <?php echo e($lead->phone); ?></td>
                    </tr>
                    <tr class="">
                        <td>IP Address</td>
                        <td> : <?php echo e($lead->ip); ?></td>
                    </tr>
                    <tr class="">
                        <td>City</td>
                        <td> : <?php echo e($lead->city); ?></td>
                    </tr>
                    <tr>
                        <td>Region</td>
                        <td> : <?php echo e($lead->region); ?></td>
                    </tr>
                    <tr>
                        <td>Country</td>
                        <td> : <?php echo e($lead->country); ?></td>
                    </tr>
                    <tr>
                        <td>URL</td>
                        <td> : <?php echo e($lead->url); ?></td>
                    </tr>
                    <tr>
                        <td>Created At</td>
                        <td> : <?php echo e(date('d M Y', strtotime($lead->created_at))); ?></td>
                    </tr>
              </table>
            </div>
          </div>
        </div>
      </div>
    </section>

    <?php if(count($lead->leadData) > 0): ?>
      <div class="shipping-info">
        <h4 class="text-center p-4">Lead Data</h4>
        <table class="table table-striped table-hover">
          <tbody>
          <?php $__currentLoopData = $lead->leadData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td><?php echo e($data->id); ?></td>
                <td><?php echo e($data->lead_key); ?></td>
                <td><?php echo e($data->lead_value); ?></td>
            </tr>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </tbody>
        </table>
      </div>
    <?php endif; ?>

  <?php endif; ?>

  </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('styles'); ?>
<style>
    .order-info,.shipping-info{
        background:#ECECEC;
        padding:20px;
    }
    .order-info h4,.shipping-info h4{
        text-decoration: underline;
    }

</style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('backend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/amzpubli/admin.amzpublicationwing.com/resources/views/backend/leads/show.blade.php ENDPATH**/ ?>