<?php $__currentLoopData = $auctionrequests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
    <th scope="row">
        <div class="custom-control custom-checkbox">
            <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck<?php echo e($row->id); ?>" value="<?php echo e($row->id); ?>" name="id[]">
            <label class="custom-control-label" for="customCheck<?php echo e($row->id); ?>"></label>
        </div>
    </th>
    <td><?php echo e($row->user->name); ?></td>
    <td><?php echo e(productname($row->id)); ?></td>
    <td colspan="2"><?php echo e(\Carbon\Carbon::parse($row->created_at)->format('Y/m/d')); ?></td>
    <td>
        <a href="<?php echo e(url(getCurrentLocale().'/ad/'.$row->id)); ?>" class="icon"><img src="<?php echo e(asset('assets/admin/images/icons/eye.svg')); ?>" alt="<?php echo e(__('dashboard.edit')); ?>"></a>
       
            <a href="<?php echo e(route ('auctionrequests.edit', $row->id)); ?>" class="icon" title="<?php echo e(__('dashboard.edit')); ?>"><img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNzQgNzQiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIj48ZyBpZD0iTnVtYmVycyI+PHRleHQgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzEuOTk1IC0yNjYuNTQ0KSIgZm9udC1zaXplPSIxOCIgZmlsbD0icmVkIiBmb250LWZhbWlseT0iQXJpYWxNVCwgQXJpYWwiPjY8dHNwYW4geD0iLTUuMDA1IiB5PSIxMjQiPjE2PC90c3Bhbj48dHNwYW4geD0iLTUuMDA1IiB5PSIyNDgiPjI2PC90c3Bhbj48dHNwYW4geD0iLTUuMDA1IiB5PSIzNzIiPjM2PC90c3Bhbj48dHNwYW4geD0iLTUuMDA1IiB5PSI0OTYiPjQ2PC90c3Bhbj48dHNwYW4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uMDcyLTUuMDcyTDQyLjc3OSwzNy43MDdhMSwxLDAsMCwxLDAtMS40MTRMNTMuNTg2LDI1LjQ4NmwtNS4wNzItNS4wNzJMMzcuNzA3LDMxLjIyMWExLDEsMCwwLDEtMS40MTQsMEwyNS40ODYsMjAuNDE0bC01LjA3Miw1LjA3MkwzMS4yMjEsMzYuMjkzYTEsMSwwLDAsMSwwLDEuNDE0TDIwLjQxNCw0OC41MTRsNS4wNzIsNS4wNzJMMzYuMjkzLDQyLjc3OUExLDEsMCwwLDEsMzcsNDIuNDg2WiIvPjwvZz48L3N2Zz4K" /></a>

            <a href="<?php echo e(url(getCurrentLocale().'/admin/auctionrequests/'.$row->id)); ?>"  class="icon" title="<?php echo e(__('dashboard.trash')); ?>"><img src="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUxMnB0IiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0yNTYgMGMtMTQxLjE2NDA2MiAwLTI1NiAxMTQuODM1OTM4LTI1NiAyNTZzMTE0LjgzNTkzOCAyNTYgMjU2IDI1NiAyNTYtMTE0LjgzNTkzOCAyNTYtMjU2LTExNC44MzU5MzgtMjU2LTI1Ni0yNTZ6bTEyOS43NSAyMDEuNzUtMTM4LjY2Nzk2OSAxMzguNjY0MDYyYy00LjE2MDE1NiA0LjE2MDE1Ny05LjYyMTA5MyA2LjI1MzkwNy0xNS4wODIwMzEgNi4yNTM5MDdzLTEwLjkyMTg3NS0yLjA5Mzc1LTE1LjA4MjAzMS02LjI1MzkwN2wtNjkuMzMyMDMxLTY5LjMzMjAzMWMtOC4zNDM3NS04LjMzOTg0My04LjM0Mzc1LTIxLjgyNDIxOSAwLTMwLjE2NDA2MiA4LjMzOTg0My04LjM0Mzc1IDIxLjgyMDMxMi04LjM0Mzc1IDMwLjE2NDA2MiAwbDU0LjI1IDU0LjI1IDEyMy41ODU5MzgtMTIzLjU4MjAzMWM4LjMzOTg0My04LjM0Mzc1IDIxLjgyMDMxMi04LjM0Mzc1IDMwLjE2NDA2MiAwIDguMzM5ODQ0IDguMzM5ODQzIDguMzM5ODQ0IDIxLjgyMDMxMiAwIDMwLjE2NDA2MnptMCAwIi8+PC9zdmc+" /></a>
            
    </td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php if( count( $auctionrequests ) && $auctionrequests->hasPages() ): ?>
<tr> <td> <?php echo e($auctionrequests->links()); ?> </td> </tr>
<?php endif; ?>
 
  <!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-app.js"></script>

<!-- TODO: Add SDKs for Firebase products that you want to use
     https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-database.js"></script>

<script>

  // Your web app's Firebase configuration
  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
 var firebaseConfig = {
    apiKey: "AIzaSyD8Ch76IgLgWYeBfVVu_bZVAfg7yaHGjo0",
    authDomain: "alhanger-22dac.firebaseapp.com",
    databaseURL: "https://alhanger-22dac-default-rtdb.firebaseio.com",
    projectId: "alhanger-22dac",
    storageBucket: "alhanger-22dac.appspot.com",
    messagingSenderId: "174330748086",
    appId: "1:174330748086:web:f5bf676633f133442d1a17",
    measurementId: "G-VZBX4HRHS3"
  };
  // Initialize Firebase
  firebase.initializeApp(firebaseConfig);
 
 
      
     
     
  
 /* 
function acceptauction(elem){
    let urls = $(elem).attr('action');
    let user_id = $(elem).attr('user-id');
    $.ajax({
          url : urls,
          type: 'GET',              
          data: 'dataform', 
          dataType : 'json',
          success: function(data)
          {
        
     let channel = 'notification'+user_id;
            let message = {
      
      "Type" : 'Management',
      "user_id" : 'null',
      "image" : 'null',
      "product_id" : 'null',
      "other_id" : 'null',
      "date" : <?php echo json_encode(date("Y-m-d")); ?>,
      "time" : <?php echo json_encode(date("g:i a")); ?>,
    }
        console.log({channel, message})
      let sent=  firebase.database().ref(channel).push().set(message).then(function(snapshot) {
  if (snapshot && snapshot.exists()) {
    //console.log(snapshot.val());
  }
  else {
    console.log("No data available");
  }
      });
      
}
 }); 
}
function refuseauction(elem){
    let urls = $(elem).attr('action');
    let user_id = $(elem).attr('user-id');
    $.ajax({
          url : urls,
          type: 'GET',              
          data: 'dataform', 
          dataType : 'json',
          success: function(data)
          {
        
     let channel = 'notification'+user_id;
            let message = {
      
      "Type" : 'Management',
      "user_id" : 'null',
      "image" : 'null',
      "product_id" : 'null',
      "other_id" : 'null',
      "date" : <?php echo json_encode(date("Y-m-d")); ?>,
      "time" : <?php echo json_encode(date("g:i a")); ?>,
    }
        console.log({channel, message})
      let sent=  firebase.database().ref(channel).push().set(message).then(function(snapshot) {
  if (snapshot && snapshot.exists()) {
    //console.log(snapshot.val());
  }
  else {
    console.log("No data available");
  }
      });
      
}
 }); 
} */
</script><?php /**PATH /home/omaralyomhost/public_html/hanqr/resources/views/admin/auctionrequests/grid.blade.php ENDPATH**/ ?>