<?php $__env->startSection('content'); ?>

<style>
.custom-tabs {
    width: 100%;
}
</style>

<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<div class="common-content">
    <div class="page-content">
        <div class="page-heading">
            <div class="headings">
                <h6> My Quotes</h6>
            </div>
        </div>
        <div class="boxings">
		<form name="searchquotes" id="searchquotes" method="GET" action="<?php echo e(url('manufacturers/dealer_search_quotes')); ?>" enctype="multipart/form-data">
         <?php echo csrf_field(); ?>
		
		    <div class="row">
                <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="form-inputs">
                  <div class="form-group">
                    <label>Select dealer</label>
                    <select class="form-control selectmanufacturer invoiceselect" id="dealer" name="dealer">
                      <option value="">Select</option>
					   <?php $__currentLoopData = $approved_dealers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$approveddealers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					      <option value="<?php echo e($approveddealers->vendor_id); ?>" <?php if($approveddealers->vendor_id==$dealer){ echo "selected";}?>><?php echo e($approveddealers->name); ?></option>
					   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					
                    </select>
                  </div>
				 
			    </div>
            </div>
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="form-inputs">
                  <div class="form-group">
                    <label>Select Bid Percentage</label>
                    <select class="form-control selectmanufacturer invoiceselect" id="bid_percentage" name="bid_percentage">
                        <option value="">Select</option>
					   
                  <div class="form-group">
					      <option value="10" <?php if($bid_percentage==10){ echo "selected";}?>>10%</option>
                          <option value="20" <?php if($bid_percentage==20){ echo "selected";}?>>20%</option>
                          <option value="30" <?php if($bid_percentage==30){ echo "selected";}?>>30%</option>
                          <option value="40" <?php if($bid_percentage==40){ echo "selected";}?>>40%</option>
                          <option value="50" <?php if($bid_percentage==50){ echo "selected";}?>>50%</option>
                          <option value="60" <?php if($bid_percentage==60){ echo "selected";}?>>60%</option>
                          <option value="70" <?php if($bid_percentage==70){ echo "selected";}?>>70%</option>
                          <option value="80" <?php if($bid_percentage==80){ echo "selected";}?>>80%</option>
                          <option value="90" <?php if($bid_percentage==90){ echo "selected";}?>>90%</option>
                          <option value="100" <?php if($bid_percentage==100){ echo "selected";}?>>100%</option>
					
                    </select>
                  </div>
				 
			    </div>
            </div>
			
			<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="form-inputs">
                  <div class="form-group">
                    <label>Select Product</label>
                    <select class="form-control selectmanufacturer invoiceselect" id="masterproduct" name="masterproduct">
                      <option value="">Select</option>
					   <?php $__currentLoopData = $masterproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$products): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					      <option value="<?php echo e($products->product_id); ?>" <?php if($products->product_id==$mproduct){ echo "selected";}?>><?php echo e($products->product_name); ?></option>
					   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					
                    </select>
                  </div>
				 
			    </div>
            </div>
			
			<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="form-inputs">
                  <div class="form-group">
                    <label>Select Country</label>
                    <select class="form-control selectmanufacturer invoiceselect" id="country" name="country">
                      <option value="">Select</option>
					   <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					      <option value="<?php echo e($country->id); ?>" <?php if($country->id==$mcountry){ echo "selected";}?>><?php echo e($country->name); ?></option>
					   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					
                    </select>
                  </div>
				 
			    </div>
            </div>
			
			<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="form-inputs">
                  <div class="form-group">
                    <label>Select State</label>
                    <select class="form-control selectmanufacturer invoiceselect" id="state" name="state">
                      <option value="">Select</option>
						<?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					      <option value="<?php echo e($state->id); ?>" <?php if($state->id==$mstate){ echo "selected";}?>><?php echo e($state->name); ?></option>
					   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                  </div>
				 
			    </div>
            </div>
            </div>
		     
		          <div class="d-flex justify-content-center mt-3 mb-3">
                       <button style="border-radius: 30px !important;" type="submit" class="pl-2 pr-2 rounded-pill ajs btn btn-primary mix" id="regnew">
                      <?php echo e(__('Search')); ?>

                   </button>
                      
                     
            </div>
		</form>
        <a href="<?php echo e(url('manufacturers/dealer_quotes')); ?>" class=" ml-3"><button style="background: #565656bf !important;
            border: 0; border-radius: 30px !important;" type="submit" class="pl-2 pr-2 rounded-pill ajs btn btn-primary mix" id="regnew">
                   <?php echo e(__('Clear Search')); ?>

                </button></a>
        <p><div class="d-flex justify-content-center mt-3 mb-3">
            </p>

       
				   

        




            <div class="custom-tabs" style="margin-top: 0;">
			
                <ul class="nav nav-tabs" role="tablist">
                    <li class="nav-item">
					   <a class="nav-link active" data-toggle="tab" href="#first">Bid in Progress</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" data-toggle="tab" href="#second">Bid Won</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" data-toggle="tab" href="#third">Bid Rejected</a>
                    </li>
					<li class="nav-item">
                        <a class="nav-link" data-toggle="tab" href="#fourth">Not Interested</a>
                    </li>
					<li class="nav-item">
                        <a class="nav-link" data-toggle="tab" href="#fifth">Bid Lost</a>
                    </li>
                </ul>
                <!-- nav-tabs End -->
               
                
			   
			   
			   
                <div class="tab-content">
				
                   <div id="first" class="tab-pane active">
							
                        <?php if(count($bid_progress) > 0): ?>
                        <?php $__currentLoopData = $bid_progress; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$bid_progress): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (date('Y-m-d') == date('Y-m-d', strtotime($bid_progress->bidCreated)))
    { ?>
                            <div class="bid-stats boxings recently-add">
                        <?php
    }
    else
    { ?>
				                <div class="bid-stats boxings">
				            <?php
    } ?>
                                    <div class="w-100 d-flex justify-content-end">
                                        <p style="font-weight: bold;" >Bid id : <?php echo e($bid_progress->bid_unique_id); ?><p>
                                    </div>
                                <div class="product-order quote-order" style="    padding: 0 0 15px;">
                                    <div>
                                        <div class="quote-flex">
                                            <div>
                                                <div class="quote-img quote-img-rs">
														<?php if(!empty($bid_progress->pro_pic)): ?>
                                                    		<img src="<?php echo e(url('user_files')); ?>/<?php echo e($bid_progress->pro_pic); ?>">
														<?php else: ?>
                                                    		<img class="place-image" src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
                                                    	<?php endif; ?>
                                                </div>
                                            </div>
                                            <div>
                                                <div class="partner-details">
                                                    <h6><?php echo e($bid_progress->name); ?></h6>
                                                    <p class="quoteee"><i style="color:#111;" class="fas fa-map-marker-alt" aria-hidden="true"></i>
                                                    <span class="addrs"><?php echo e($bid_progress->address); ?>,
                                                    <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($state->id == $bid_progress->city): ?>
                                                    <?php echo e($state->name); ?>

                                                    <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></span></p>
                                                    <div class="call"><i class="fas fa-phone-alt"></i><?php echo e($bid_progress->phone_no); ?> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                     <div>
                                        <div class="pro-des">
                                            <h6 class="bgtitle"><span>Master Product : <?php echo e($bid_progress->product_name); ?></span></h6>
                                            <?php if(!empty($bid_progress->vendor_product_id)): ?>
                                            <h6 class="bgtitle"><span>Vendor Product : 
                                                 <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bid_progress->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_name); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                 </span></h6>
                                                 <p class="bgtitle"><span>Product Code  : 
                                                <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bid_progress->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_code); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </span></p>
                                                <?php endif; ?>
                                         </div>
                                    </div>
                                </div>
                                <div class="specifications" style="padding: 5px 0 0;">
                                    <h6>Bid Percentage</h6>
                                    <p><?php echo e($bid_progress->bid_percentage); ?> %</p>

                                    <?php if(!empty($bid_progress->bidDescription)): ?>
                                    <h6>Specifications</h6>
                                    <p>
                                        <?php if(!empty($bid_progress->bidDescription)): ?>
                                            <?php echo e($bid_progress->bidDescription); ?>

                                        <?php else: ?>
                                            <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($vproducts->product_id == $bid_progress->vendor_product_id): ?>
                                                    <?php echo e($vproducts->product_description); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </p>
                                    <?php endif; ?>
									
                                    <?php if($bid_progress->bid_status == '3'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer has confirmed your quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '0'): ?>
                                    <div class="status-quotes reject">
                                        <p>Buyer Rejected</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '1'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '2'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '4'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '5'): ?>
                                    <div class="status-quotes grress">
                                        <p>This Product is already dispatched</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '11'): ?>
                                    <div class="status-quotes grress">
                                        <p>The Buyer Requested for a demo </p><?php if(!empty($bid_progress->demo_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bid_progress->demo_date))); ?></p><?php endif; ?>
                                    </div>
				                    <?php elseif($bid_progress->bid_status == '12'): ?>
                                    <div class="status-quotes grress">
                                        <p>Accepted Final Amount</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '13'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '14'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '15'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected Final Amount</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '16'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Request Accepted</p>
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '17'): ?>
                                    <div class="status-quotes reject">
                                        <p>Demo amendment requested</p>
										<p style="color:black">Reason:<?php echo e(ucfirst($bid_progress->demo_reject_reason)); ?></p>
                                    </div>
									
									 <?php elseif($bid_progress->bid_status == '19'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected</p>
										
                                    </div>
                                    <?php elseif($bid_progress->bid_status == '18'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Completed</p><?php if(!empty($bid_progress->demo_finished_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bid_progress->demo_finished_date))); ?></p><?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                    <div class="quote-amt">
                                        <?php
    $amount = ($bid_progress->quote_price * $bid_progress->bid_tax / 100);
    $totalamount = $bid_progress->quote_price + $amount;
?>
                                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php if(!empty($bid_progress->bid_price)): ?>
					                    <?php
    $amount = ($bid_progress->bid_price * $bid_progress->bid_tax / 100);
    $totalamount = $bid_progress->bid_price + $amount;
?>
					<div class="quote-amt"> 
				                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php endif; ?>
                                    <?php if($bid_progress->bid_status == '3'): ?>
                                        <div class="quote-btns rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptprice')); ?>/<?php echo e($bid_progress->bidId); ?>/<?php echo e($bid_progress->buyer_id); ?>/<?php echo e($bid_progress->vendor_product_id); ?>" class="btn common-btn green-btn">Accept</a>
                                                </div>
                                              <div>
                                                    <a href="<?php echo e(url('vendors/rejectprice')); ?>/<?php echo e($bid_progress->bidId); ?>/<?php echo e($bid_progress->buyer_id); ?>/<?php echo e($bid_progress->vendor_product_id); ?>" onclick="return confirm('Are you sure?')"><button class="btn common-btn red-btn">Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($bid_progress->bid_status == '11'): ?>
                                        <div class="quote-btns  rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptdemo')); ?>/<?php echo e($bid_progress->bidId); ?>/<?php echo e($bid_progress->buyer_id); ?>/<?php echo e($bid_progress->vendor_product_id); ?>" class="btn common-btn green-btn">Demo Request Accept</a>
                                                </div>
                                              <div>
                                                    <a href="#" onclick="demoreject(<?php echo e($bid_progress->bidId); ?>,<?php echo e($bid_progress->buyer_id); ?>,<?php echo e($bid_progress->vendor_product_id); ?>)"><button class="btn common-btn red-btn">Demo Request Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php
    if ($bid_progress->bid_confirmed_date)
    {
        $bidconfirmeddate = date('d/m/Y', strtotime($bid_progress->bid_confirmed_date));
    }
    else
    {
        $bidconfirmeddate = "null";
    }
    if ($bid_progress->bid_rejected_date)
    {
        $bidrejecteddate = date('d/m/Y', strtotime($bid_progress->bid_rejected_date));
    }
    else
    {
        $bidrejecteddate = "null";
    }
    if ($bid_progress->demo_requested_date)
    {
        $biddemorequesteddate = date('d/m/Y', strtotime($bid_progress->demo_requested_date));
    }
    else
    {
        $biddemorequesteddate = "null";
    }
    if ($bid_progress->demo_accepted_date)
    {
        $biddemoconfirmeddate = date('d/m/Y', strtotime($bid_progress->demo_accepted_date));
    }
    else
    {
        $biddemoconfirmeddate = "null";
    }
    if ($bid_progress->demo_rejected_date)
    {
        $biddemorejecteddate = date('d/m/Y', strtotime($bid_progress->demo_rejected_date));
    }
    else
    {
        $biddemorejecteddate = "null";
    }
    if ($bid_progress->price_accepted_date)
    {
        $bidpriceconfirmeddate = date('d/m/Y', strtotime($bid_progress->price_accepted_date));
    }
    else
    {
        $bidpriceconfirmeddate = "null";
    }
    if ($bid_progress->price_rejected_date)
    {
        $bidpricerejecteddate = date('d/m/Y', strtotime($bid_progress->price_rejected_date));
    }
    else
    {
        $bidpricerejecteddate = "null";
    }
    if ($bid_progress->product_dispatched_date)
    {
        $biddispatchdate = date('d/m/Y', strtotime($bid_progress->product_dispatched_date));
    }
    else
    {
        $biddispatchdate = "null";
    }
    if ($bid_progress->inpackage_date)
    {
        $bidpackagedate = date('d/m/Y', strtotime($bid_progress->inpackage_date));
    }
    else
    {
        $bidpackagedate = "null";
    }
    if ($bid_progress->inproduction_date)
    {
        $bidproductiondate = date('d/m/Y', strtotime($bid_progress->inproduction_date));
    }
    else
    {
        $bidproductiondate = "null";
    }
    if ($bid_progress->ordered_date)
    {
        $bidordereddate = date('d/m/Y', strtotime($bid_progress->ordered_date));
    }
    else
    {
        $bidordereddate = "null";
    }
    if ($bid_progress->bidCreated)
    {
        $bidcreateddate = date('d/m/Y', strtotime($bid_progress->bidCreated));
    }
    else
    {
        $bidcreateddate = "null";
    }
    if ($bid_progress->quoteRequested)
    {
        $quoterequesteddate = date('d/m/Y', strtotime($bid_progress->quoteRequested));
    }
    else
    {
        $quoterequesteddate = "null";
    }
    if ($bid_progress->democompleted_date)
    {
        $democompleteddate = date('d/m/Y', strtotime($bid_progress->democompleted_date));
    }
    else
    {
        $democompleteddate = "null";
    }

?>
<div style="margin: 10px 0 0;">
									 
									<!--<button class="btn common-btn green-btn sendmessage"  onclick="sendmessage(<?php echo e($bid_progress->buyer_id); ?>,<?php echo e($bid_progress->vendor_product_id); ?>,'<?php echo e(ucfirst($bid_progress->name)); ?>')" style="display:block">Sendmessage</button>-->
								<!--	<button  class="btn common-btn yellow-btn"  data-toggle="modal" data-target="#myModalaction" data-id="<?php echo e($bid_progress->bidId); ?>" data-bid_confirmed_date="<?php echo e($bidconfirmeddate); ?>" data-bid_rejected_date="<?php echo e($bidrejecteddate); ?>" data-demo_requested_date="<?php echo e($biddemorequesteddate); ?>" data-demo_accepted_date="<?php echo e($biddemoconfirmeddate); ?>" data-demo_rejected_date="<?php echo e($biddemorejecteddate); ?>" data-price_accepted_date="<?php echo e($bidpriceconfirmeddate); ?>" data-price_rejected_date="<?php echo e($bidpricerejecteddate); ?>" data-product_dispatched_date="<?php echo e($biddispatchdate); ?>" data-inpackage_date="<?php echo e($bidpackagedate); ?>" data-inproduction_date="<?php echo e($bidproductiondate); ?>" data-ordered_date="<?php echo e($bidordereddate); ?>" data-created_date="<?php echo e($bidcreateddate); ?>" data-buyer_name="<?php echo e($bid_progress->name); ?>"
									>Bid History</button>-->
								<!--	<button class="btn common-btn green-btn sendmessage"  onclick="bidhistory(<?php echo e($bid_progress->bidId); ?>,<?php echo e($bidconfirmeddate); ?>,<?php echo e($bidrejecteddate); ?>,<?php echo e($biddemorequesteddate); ?>,<?php echo e($biddemoconfirmeddate); ?>,<?php echo e($biddemorejecteddate); ?>,<?php echo e($bidpriceconfirmeddate); ?>,<?php echo e($bidpricerejecteddate); ?>,<?php echo e($biddispatchdate); ?>,<?php echo e($bidpackagedate); ?>,<?php echo e($bidproductiondate); ?>,<?php echo e($bidordereddate); ?>,<?php echo e($bidcreateddate); ?>,<?php echo e($bid_progress->name); ?>

)" style="display:block">Bid History</button>-->
	
</div>                              
</div>
                                
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php else: ?>
                        <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12">
                            <div class="product-display">
                                <ul>
                                    <li>
                                        <div class="details">
                                            <div>
                                                <h6>
                                                No Quotes available
                                                </h6>
                                            </div>


                                        </div>
                                    </li>


                                </ul>
                            </div>
                        </div>
                        <?php endif; ?>
                        
						
                   </div>  
                
					
					<div id="second" class="tab-pane">
                     
                        <?php if(count($bid_won) > 0): ?>
                        <?php $__currentLoopData = $bid_won; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$bid_won): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (date('Y-m-d') == date('Y-m-d', strtotime($bid_won->bidCreated)))
    { ?>
                            <div class="bid-stats boxings recently-add">
                        <?php
    }
    else
    { ?>
				                <div class="bid-stats boxings">
				            <?php
    } ?>
	
									<div class="w-100 d-flex justify-content-end">
                                        <p style="font-weight: bold;" >Bid id : <?php echo e($bid_won->bid_unique_id); ?><p>
                                    </div>
                                <div class="product-order quote-order" style="    padding: 0 0 15px;">
                                    <div>
                                        <div class="quote-flex">
                                            <div>
                                                <div class="quote-img quote-img-rs">
														<?php if(!empty($bid_won->pro_pic)): ?>
                                                    		<img src="<?php echo e(url('user_files')); ?>/<?php echo e($bid_won->pro_pic); ?>">
														<?php else: ?>
                                                    		<img class="place-image" src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
                                                    	<?php endif; ?>
                                                </div>
                                            </div>
                                            <div>
                                                <div class="partner-details">
                                                    <h6><?php echo e($bid_won->name); ?></h6>
                                                    <p class="quoteee"><i style="color:#111;" class="fas fa-map-marker-alt" aria-hidden="true"></i>
                                                    <span class="addrs"><?php echo e($bid_won->address); ?>,
                                                    <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($state->id == $bid_won->city): ?>
                                                    <?php echo e($state->name); ?>

                                                    <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></span></p>
                                                    <div class="call"><i class="fas fa-phone-alt"></i><?php echo e($bid_won->phone_no); ?> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                     <div>
                                        <div class="pro-des">
                                            <h6 class="bgtitle"><span>Master Product : <?php echo e($bid_won->product_name); ?></span></h6>
                                            <?php if(!empty($bid_won->vendor_product_id)): ?>
                                             <h6 class="bgtitle"><span>Vendor Product :
                                                 <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bid_won->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_name); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                 </span></h6>
                                            <p class="bgtitle"><span>Product Code  : 
                                                <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bid_won->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_code); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </span></p>
                                                <?php endif; ?>
                                         </div>
                                    </div>
                                </div>
                                <div class="specifications" style="padding: 5px 0 0;">

                                    <h6>Bid Percentage</h6>

                                    <p><?php echo e($bid_won->bid_percentage); ?> %</p>
                                    <?php if(!empty($bid_won->bidDescription)): ?>
                                    <h6>Specifications</h6>
                                    <p>
                                        <?php if(!empty($bid_won->bidDescription)): ?>
                                            <?php echo e($bid_won->bidDescription); ?>

                                        <?php else: ?>
                                            <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($vproducts->product_id == $bid_won->vendor_product_id): ?>
                                                    <?php echo e($vproducts->product_description); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </p>
                                    <?php endif; ?>
									
                                    <?php if($bid_won->bid_status == '3'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer has confirmed your quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '0'): ?>
                                    <div class="status-quotes reject">
                                        <p>Buyer Rejected</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '1'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '2'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '4'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '5'): ?>
                                    <div class="status-quotes grress">
                                        <p>This Product is already dispatched</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '11'): ?>
                                    <div class="status-quotes grress">
                                        <p>The Buyer Requested for a demo </p><?php if(!empty($bid_won->demo_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bid_won->demo_date))); ?></p><?php endif; ?>
                                    </div>
				                    <?php elseif($bid_won->bid_status == '12'): ?>
                                    <div class="status-quotes grress">
                                        <p>Accepted Final Amount</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '13'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '14'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '15'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected Final Amount</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '16'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Request Accepted</p>
                                    </div>
                                    <?php elseif($bid_won->bid_status == '17'): ?>
                                    <div class="status-quotes reject">
                                        <p>Demo amendment requested</p>
										<p style="color:black">Reason:<?php echo e(ucfirst($bid_won->demo_reject_reason)); ?></p>
                                    </div>
									
									 <?php elseif($bid_won->bid_status == '19'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected</p>
										
                                    </div>
                                    <?php elseif($bid_won->bid_status == '18'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Completed</p><?php if(!empty($bid_won->demo_finished_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bid_won->demo_finished_date))); ?></p><?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                    <div class="quote-amt">
                                        <?php
    $amount = ($bid_won->quote_price * $bid_won->bid_tax / 100);
    $totalamount = $bid_won->quote_price + $amount;
?>
                                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php if(!empty($bid_won->bid_price)): ?>
					                    <?php
    $amount = ($bid_won->bid_price * $bid_won->bid_tax / 100);
    $totalamount = $bid_won->bid_price + $amount;
?>
					<div class="quote-amt"> 
				                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php endif; ?>
                                    <?php if($bid_won->bid_status == '3'): ?>
                                        <div class="quote-btns rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptprice')); ?>/<?php echo e($bid_won->bidId); ?>/<?php echo e($bid_won->buyer_id); ?>/<?php echo e($bid_won->vendor_product_id); ?>" class="btn common-btn green-btn">Accept</a>
                                                </div>
                                              <div>
                                                    <a href="<?php echo e(url('vendors/rejectprice')); ?>/<?php echo e($bid_won->bidId); ?>/<?php echo e($bid_won->buyer_id); ?>/<?php echo e($bid_won->vendor_product_id); ?>" onclick="return confirm('Are you sure?')"><button class="btn common-btn red-btn">Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($bid_won->bid_status == '11'): ?>
                                        <div class="quote-btns  rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptdemo')); ?>/<?php echo e($bid_won->bidId); ?>/<?php echo e($bid_won->buyer_id); ?>/<?php echo e($bid_won->vendor_product_id); ?>" class="btn common-btn green-btn">Demo Request Accept</a>
                                                </div>
                                              <div>
                                                    <a href="#" onclick="demoreject(<?php echo e($bid_won->bidId); ?>,<?php echo e($bid_won->buyer_id); ?>,<?php echo e($bid_won->vendor_product_id); ?>)"><button class="btn common-btn red-btn">Demo Request Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php
    if ($bid_won->bid_confirmed_date)
    {
        $bidconfirmeddate = date('d/m/Y', strtotime($bid_won->bid_confirmed_date));
    }
    else
    {
        $bidconfirmeddate = "null";
    }
    if ($bid_won->bid_rejected_date)
    {
        $bidrejecteddate = date('d/m/Y', strtotime($bid_won->bid_rejected_date));
    }
    else
    {
        $bidrejecteddate = "null";
    }
    if ($bid_won->demo_requested_date)
    {
        $biddemorequesteddate = date('d/m/Y', strtotime($bid_won->demo_requested_date));
    }
    else
    {
        $biddemorequesteddate = "null";
    }
    if ($bid_won->demo_accepted_date)
    {
        $biddemoconfirmeddate = date('d/m/Y', strtotime($bid_won->demo_accepted_date));
    }
    else
    {
        $biddemoconfirmeddate = "null";
    }
    if ($bid_won->demo_rejected_date)
    {
        $biddemorejecteddate = date('d/m/Y', strtotime($bid_won->demo_rejected_date));
    }
    else
    {
        $biddemorejecteddate = "null";
    }
    if ($bid_won->price_accepted_date)
    {
        $bidpriceconfirmeddate = date('d/m/Y', strtotime($bid_won->price_accepted_date));
    }
    else
    {
        $bidpriceconfirmeddate = "null";
    }
    if ($bid_won->price_rejected_date)
    {
        $bidpricerejecteddate = date('d/m/Y', strtotime($bid_won->price_rejected_date));
    }
    else
    {
        $bidpricerejecteddate = "null";
    }
    if ($bid_won->product_dispatched_date)
    {
        $biddispatchdate = date('d/m/Y', strtotime($bid_won->product_dispatched_date));
    }
    else
    {
        $biddispatchdate = "null";
    }
    if ($bid_won->inpackage_date)
    {
        $bidpackagedate = date('d/m/Y', strtotime($bid_won->inpackage_date));
    }
    else
    {
        $bidpackagedate = "null";
    }
    if ($bid_won->inproduction_date)
    {
        $bidproductiondate = date('d/m/Y', strtotime($bid_won->inproduction_date));
    }
    else
    {
        $bidproductiondate = "null";
    }
    if ($bid_won->ordered_date)
    {
        $bidordereddate = date('d/m/Y', strtotime($bid_won->ordered_date));
    }
    else
    {
        $bidordereddate = "null";
    }
    if ($bid_won->bidCreated)
    {
        $bidcreateddate = date('d/m/Y', strtotime($bid_won->bidCreated));
    }
    else
    {
        $bidcreateddate = "null";
    }
    if ($bid_won->quoteRequested)
    {
        $quoterequesteddate = date('d/m/Y', strtotime($bid_won->quoteRequested));
    }
    else
    {
        $quoterequesteddate = "null";
    }
    if ($bid_won->democompleted_date)
    {
        $democompleteddate = date('d/m/Y', strtotime($bid_won->democompleted_date));
    }
    else
    {
        $democompleteddate = "null";
    }

?>
									<div style="margin: 10px 0 0;">
                                    
                                    
                                    
									<!--<button class="btn common-btn green-btn sendmessage"  onclick="sendmessage(<?php echo e($bid_won->buyer_id); ?>,<?php echo e($bid_won->vendor_product_id); ?>,'<?php echo e(ucfirst($bid_won->name)); ?>')" style="display:block">Sendmessage</button>-->
								<!--	<button  class="btn common-btn yellow-btn"  data-toggle="modal" data-target="#myModalaction" data-id="<?php echo e($bid_won->bidId); ?>" data-bid_confirmed_date="<?php echo e($bidconfirmeddate); ?>" data-bid_rejected_date="<?php echo e($bidrejecteddate); ?>" data-demo_requested_date="<?php echo e($biddemorequesteddate); ?>" data-demo_accepted_date="<?php echo e($biddemoconfirmeddate); ?>" data-demo_rejected_date="<?php echo e($biddemorejecteddate); ?>" data-price_accepted_date="<?php echo e($bidpriceconfirmeddate); ?>" data-price_rejected_date="<?php echo e($bidpricerejecteddate); ?>" data-product_dispatched_date="<?php echo e($biddispatchdate); ?>" data-inpackage_date="<?php echo e($bidpackagedate); ?>" data-inproduction_date="<?php echo e($bidproductiondate); ?>" data-ordered_date="<?php echo e($bidordereddate); ?>" data-created_date="<?php echo e($bidcreateddate); ?>" data-buyer_name="<?php echo e($bid_won->name); ?>"
									>Bid History</button>-->
								<!--	<button class="btn common-btn green-btn sendmessage"  onclick="bidhistory(<?php echo e($bid_won->bidId); ?>,<?php echo e($bidconfirmeddate); ?>,<?php echo e($bidrejecteddate); ?>,<?php echo e($biddemorequesteddate); ?>,<?php echo e($biddemoconfirmeddate); ?>,<?php echo e($biddemorejecteddate); ?>,<?php echo e($bidpriceconfirmeddate); ?>,<?php echo e($bidpricerejecteddate); ?>,<?php echo e($biddispatchdate); ?>,<?php echo e($bidpackagedate); ?>,<?php echo e($bidproductiondate); ?>,<?php echo e($bidordereddate); ?>,<?php echo e($bidcreateddate); ?>,<?php echo e($bid_won->name); ?>

)" style="display:block">Bid History</button>-->
	
                                        </div>                                
                                    </div>
                                
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php else: ?>
                        <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12">
                            <div class="product-display">
                                <ul>
                                    <li>
                                        <div class="details">
                                            <div>
                                                <h6>
                                                No Quotes available
                                                </h6>
                                            </div>


                                        </div>
                                    </li>


                                </ul>
                            </div>
                        </div>
                        <?php endif; ?>
                       
                    </div>  
               
					<div id="third" class="tab-pane">
                      
                        <?php if(count($buyer_rejected) > 0): ?>
                        <?php $__currentLoopData = $buyer_rejected; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$buyer_rejected): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (date('Y-m-d') == date('Y-m-d', strtotime($buyer_rejected->bidCreated)))
    { ?>
                            <div class="bid-stats boxings recently-add">
                        <?php
    }
    else
    { ?>
				                <div class="bid-stats boxings">
				            <?php
    } ?>
                                
								   <div class="w-100 d-flex justify-content-end">
                                        <p style="font-weight: bold;" >Bid id : <?php echo e($buyer_rejected->bid_unique_id); ?><p>
                                    </div>
								
								
								<div class="product-order quote-order" style="    padding: 0 0 15px;">
                                    <div>
                                        <div class="quote-flex">
                                            <div>
                                                <div class="quote-img quote-img-rs">
														<?php if(!empty($buyer_rejected->pro_pic)): ?>
                                                    		<img src="<?php echo e(url('user_files')); ?>/<?php echo e($buyer_rejected->pro_pic); ?>">
														<?php else: ?>
                                                    		<img class="place-image" src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
                                                    	<?php endif; ?>
                                                </div>
                                            </div>
                                            <div>
                                                <div class="partner-details">
                                                    <h6><?php echo e($buyer_rejected->name); ?></h6>
                                                    <p class="quoteee"><i style="color:#111;" class="fas fa-map-marker-alt" aria-hidden="true"></i>
                                                    <span class="addrs"><?php echo e($buyer_rejected->address); ?>,
                                                    <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($state->id == $buyer_rejected->city): ?>
                                                    <?php echo e($state->name); ?>

                                                    <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></span></p>
                                                    <div class="call"><i class="fas fa-phone-alt"></i><?php echo e($buyer_rejected->phone_no); ?> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                     <div>
                                        <div class="pro-des">
                                            <h6 class="bgtitle"><span>Master Product : <?php echo e($buyer_rejected->product_name); ?></span></h6>
                                            <?php if(!empty($buyer_rejected->vendor_product_id)): ?>
                                             <h6 class="bgtitle"><span>Vendor Product : 
                                                 <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $buyer_rejected->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_name); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                 </span></h6>
                                            <p class="bgtitle"><span>Product Code  : 
                                                <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $buyer_rejected->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_code); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </span></p>
                                                <?php endif; ?>
                                         </div>
                                    </div>
                                </div>
                                <div class="specifications" style="padding: 5px 0 0;">

                                    <h6>Bid Percentage</h6>

                                    <p><?php echo e($buyer_rejected->bid_percentage); ?> %</p>
                                    <?php if(!empty($buyer_rejected->bidDescription)): ?>
                                    <h6>Specifications</h6>
                                    <p>
                                        <?php if(!empty($buyer_rejected->bidDescription)): ?>
                                            <?php echo e($buyer_rejected->bidDescription); ?>

                                        <?php else: ?>
                                            <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($vproducts->product_id == $buyer_rejected->vendor_product_id): ?>
                                                    <?php echo e($vproducts->product_description); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </p>
                                    <?php endif; ?>
									
                                    <?php if($buyer_rejected->bid_status == '3'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer has confirmed your quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '0'): ?>
                                    <div class="status-quotes reject">
                                        <p>Buyer Rejected</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '1'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '2'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '4'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '5'): ?>
                                    <div class="status-quotes grress">
                                        <p>This Product is already dispatched</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '11'): ?>
                                    <div class="status-quotes grress">
                                        <p>The Buyer Requested for a demo </p><?php if(!empty($buyer_rejected->demo_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($buyer_rejected->demo_date))); ?></p><?php endif; ?>
                                    </div>
				                    <?php elseif($buyer_rejected->bid_status == '12'): ?>
                                    <div class="status-quotes grress">
                                        <p>Accepted Final Amount</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '13'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '14'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '15'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected Final Amount</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '16'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Request Accepted</p>
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '17'): ?>
                                    <div class="status-quotes reject">
                                        <p>Demo amendment requested</p>
										<p style="color:black">Reason:<?php echo e(ucfirst($buyer_rejected->demo_reject_reason)); ?></p>
                                    </div>
									
									 <?php elseif($buyer_rejected->bid_status == '19'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected</p>
										
                                    </div>
                                    <?php elseif($buyer_rejected->bid_status == '18'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Completed</p><?php if(!empty($buyer_rejected->demo_finished_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($buyer_rejected->demo_finished_date))); ?></p><?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                    <div class="quote-amt">
                                        <?php
    $amount = ($buyer_rejected->quote_price * $buyer_rejected->bid_tax / 100);
    $totalamount = $buyer_rejected->quote_price + $amount;
?>
                                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php if(!empty($buyer_rejected->bid_price)): ?>
					                    <?php
    $amount = ($buyer_rejected->bid_price * $buyer_rejected->bid_tax / 100);
    $totalamount = $buyer_rejected->bid_price + $amount;
?>
					<div class="quote-amt"> 
				                        <?php if($totalamount > '0'): ?>
                                       
                                        <?php endif; ?>
                                    </div>
					<?php endif; ?>
                                    <?php if($buyer_rejected->bid_status == '3'): ?>
                                        <div class="quote-btns rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptprice')); ?>/<?php echo e($buyer_rejected->bidId); ?>/<?php echo e($buyer_rejected->buyer_id); ?>/<?php echo e($buyer_rejected->vendor_product_id); ?>" class="btn common-btn green-btn">Accept</a>
                                                </div>
                                              <div>
                                                    <a href="<?php echo e(url('vendors/rejectprice')); ?>/<?php echo e($buyer_rejected->bidId); ?>/<?php echo e($buyer_rejected->buyer_id); ?>/<?php echo e($buyer_rejected->vendor_product_id); ?>" onclick="return confirm('Are you sure?')"><button class="btn common-btn red-btn">Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($buyer_rejected->bid_status == '11'): ?>
                                        <div class="quote-btns  rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptdemo')); ?>/<?php echo e($buyer_rejected->bidId); ?>/<?php echo e($buyer_rejected->buyer_id); ?>/<?php echo e($buyer_rejected->vendor_product_id); ?>" class="btn common-btn green-btn">Demo Request Accept</a>
                                                </div>
                                              <div>
                                                    <a href="#" onclick="demoreject(<?php echo e($buyer_rejected->bidId); ?>,<?php echo e($buyer_rejected->buyer_id); ?>,<?php echo e($buyer_rejected->vendor_product_id); ?>)"><button class="btn common-btn red-btn">Demo Request Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php
    if ($buyer_rejected->bid_confirmed_date)
    {
        $bidconfirmeddate = date('d/m/Y', strtotime($buyer_rejected->bid_confirmed_date));
    }
    else
    {
        $bidconfirmeddate = "null";
    }
    if ($buyer_rejected->bid_rejected_date)
    {
        $bidrejecteddate = date('d/m/Y', strtotime($buyer_rejected->bid_rejected_date));
    }
    else
    {
        $bidrejecteddate = "null";
    }
    if ($buyer_rejected->demo_requested_date)
    {
        $biddemorequesteddate = date('d/m/Y', strtotime($buyer_rejected->demo_requested_date));
    }
    else
    {
        $biddemorequesteddate = "null";
    }
    if ($buyer_rejected->demo_accepted_date)
    {
        $biddemoconfirmeddate = date('d/m/Y', strtotime($buyer_rejected->demo_accepted_date));
    }
    else
    {
        $biddemoconfirmeddate = "null";
    }
    if ($buyer_rejected->demo_rejected_date)
    {
        $biddemorejecteddate = date('d/m/Y', strtotime($buyer_rejected->demo_rejected_date));
    }
    else
    {
        $biddemorejecteddate = "null";
    }
    if ($buyer_rejected->price_accepted_date)
    {
        $bidpriceconfirmeddate = date('d/m/Y', strtotime($buyer_rejected->price_accepted_date));
    }
    else
    {
        $bidpriceconfirmeddate = "null";
    }
    if ($buyer_rejected->price_rejected_date)
    {
        $bidpricerejecteddate = date('d/m/Y', strtotime($buyer_rejected->price_rejected_date));
    }
    else
    {
        $bidpricerejecteddate = "null";
    }
    if ($buyer_rejected->product_dispatched_date)
    {
        $biddispatchdate = date('d/m/Y', strtotime($buyer_rejected->product_dispatched_date));
    }
    else
    {
        $biddispatchdate = "null";
    }
    if ($buyer_rejected->inpackage_date)
    {
        $bidpackagedate = date('d/m/Y', strtotime($buyer_rejected->inpackage_date));
    }
    else
    {
        $bidpackagedate = "null";
    }
    if ($buyer_rejected->inproduction_date)
    {
        $bidproductiondate = date('d/m/Y', strtotime($buyer_rejected->inproduction_date));
    }
    else
    {
        $bidproductiondate = "null";
    }
    if ($buyer_rejected->ordered_date)
    {
        $bidordereddate = date('d/m/Y', strtotime($buyer_rejected->ordered_date));
    }
    else
    {
        $bidordereddate = "null";
    }
    if ($buyer_rejected->bidCreated)
    {
        $bidcreateddate = date('d/m/Y', strtotime($buyer_rejected->bidCreated));
    }
    else
    {
        $bidcreateddate = "null";
    }
    if ($buyer_rejected->quoteRequested)
    {
        $quoterequesteddate = date('d/m/Y', strtotime($buyer_rejected->quoteRequested));
    }
    else
    {
        $quoterequesteddate = "null";
    }
    if ($buyer_rejected->democompleted_date)
    {
        $democompleteddate = date('d/m/Y', strtotime($buyer_rejected->democompleted_date));
    }
    else
    {
        $democompleteddate = "null";
    }

?>
                                <div style="margin: 10px 0 0;">
									
									<!--<button class="btn common-btn green-btn sendmessage"  onclick="sendmessage(<?php echo e($buyer_rejected->buyer_id); ?>,<?php echo e($buyer_rejected->vendor_product_id); ?>,'<?php echo e(ucfirst($buyer_rejected->name)); ?>')" style="display:block">Sendmessage</button>-->
								<!--	<button  class="btn common-btn yellow-btn"  data-toggle="modal" data-target="#myModalaction" data-id="<?php echo e($buyer_rejected->bidId); ?>" data-bid_confirmed_date="<?php echo e($bidconfirmeddate); ?>" data-bid_rejected_date="<?php echo e($bidrejecteddate); ?>" data-demo_requested_date="<?php echo e($biddemorequesteddate); ?>" data-demo_accepted_date="<?php echo e($biddemoconfirmeddate); ?>" data-demo_rejected_date="<?php echo e($biddemorejecteddate); ?>" data-price_accepted_date="<?php echo e($bidpriceconfirmeddate); ?>" data-price_rejected_date="<?php echo e($bidpricerejecteddate); ?>" data-product_dispatched_date="<?php echo e($biddispatchdate); ?>" data-inpackage_date="<?php echo e($bidpackagedate); ?>" data-inproduction_date="<?php echo e($bidproductiondate); ?>" data-ordered_date="<?php echo e($bidordereddate); ?>" data-created_date="<?php echo e($bidcreateddate); ?>" data-buyer_name="<?php echo e($buyer_rejected->name); ?>"
									>Bid History</button>-->
								<!--	<button class="btn common-btn green-btn sendmessage"  onclick="bidhistory(<?php echo e($buyer_rejected->bidId); ?>,<?php echo e($bidconfirmeddate); ?>,<?php echo e($bidrejecteddate); ?>,<?php echo e($biddemorequesteddate); ?>,<?php echo e($biddemoconfirmeddate); ?>,<?php echo e($biddemorejecteddate); ?>,<?php echo e($bidpriceconfirmeddate); ?>,<?php echo e($bidpricerejecteddate); ?>,<?php echo e($biddispatchdate); ?>,<?php echo e($bidpackagedate); ?>,<?php echo e($bidproductiondate); ?>,<?php echo e($bidordereddate); ?>,<?php echo e($bidcreateddate); ?>,<?php echo e($buyer_rejected->name); ?>

)" style="display:block">Bid History</button>-->
	
    </div>                
</div>
                                
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php else: ?>
                        <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12">
                            <div class="product-display">
                                <ul>
                                    <li>
                                        <div class="details">
                                            <div>
                                                <h6>
                                                No Quotes available
                                                </h6>
                                            </div>


                                        </div>
                                    </li>


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

					<div id="fourth" class="tab-pane">
					   
                        <?php if(count($vendor_rejected) > 0): ?>
                        <?php $__currentLoopData = $vendor_rejected; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$vendor_rejected): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (date('Y-m-d') == date('Y-m-d', strtotime($vendor_rejected->bidCreated)))
    { ?>
                            <div class="bid-stats boxings recently-add">
                        <?php
    }
    else
    { ?>
				                <div class="bid-stats boxings">
				            <?php
    } ?>
                                        
								
								
								<div class="product-order quote-order" style="    padding: 0 0 15px;">
                                    <div>
                                        <div class="quote-flex">
                                            <div>
                                                <div class="quote-img quote-img-rs">
														<?php if(!empty($vendor_rejected->pro_pic)): ?>
                                                    		<img src="<?php echo e(url('user_files')); ?>/<?php echo e($vendor_rejected->pro_pic); ?>">
														<?php else: ?>
                                                    		<img class="place-image" src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
                                                    	<?php endif; ?>
                                                </div>
                                            </div>
                                            <div>
                                                <div class="partner-details">
                                                    <h6><?php echo e($vendor_rejected->name); ?></h6>
                                                    <p class="quoteee"><i style="color:#111;" class="fas fa-map-marker-alt" aria-hidden="true"></i>
                                                    <span class="addrs"><?php echo e($vendor_rejected->address); ?>,
                                                    <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($state->id == $vendor_rejected->city): ?>
                                                    <?php echo e($state->name); ?>

                                                    <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></span></p>
                                                    <div class="call"><i class="fas fa-phone-alt"></i><?php echo e($vendor_rejected->phone_no); ?> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                     <div>
                                        <div class="pro-des">
                                            <h6 class="bgtitle"><span>Master Product : <?php echo e($vendor_rejected->product_name); ?></span></h6>
                                            <?php if(!empty($vendor_rejected->vendor_product_id)): ?>
                                             <h6 class="bgtitle"><span>Vendor Product : 
                                                 <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $vendor_rejected->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_name); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                 </span></h6>
                                            <p class="bgtitle"><span>Product Code  : 
                                                <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $vendor_rejected->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_code); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </span></p>
                                                <?php endif; ?>
                                         </div>
                                    </div>
                                </div>
                                <div class="specifications" style="padding: 5px 0 0;">
                                    <h6>Bid Percentage</h6>

                                    <p><?php echo e($vendor_rejected->bid_percentage); ?> %</p>
                                    <?php if(!empty($vendor_rejected->bidDescription)): ?>
                                    <h6>Specifications</h6>
                                    <p>
                                        <?php if(!empty($vendor_rejected->bidDescription)): ?>
                                            <?php echo e($vendor_rejected->bidDescription); ?>

                                        <?php else: ?>
                                            <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($vproducts->product_id == $vendor_rejected->vendor_product_id): ?>
                                                    <?php echo e($vproducts->product_description); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </p>
                                    <?php endif; ?>
                                    <?php if($vendor_rejected->bid_status == '3'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer has confirmed your quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '0'): ?>
                                    <div class="status-quotes reject">
                                        <p>Buyer Rejected</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '1'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '2'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '4'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '5'): ?>
                                    <div class="status-quotes grress">
                                        <p>This Product is already dispatched</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '11'): ?>
                                    <div class="status-quotes grress">
                                        <p>The Buyer Requested for a demo </p><?php if(!empty($vendor_rejected->demo_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($vendor_rejected->demo_date))); ?></p><?php endif; ?>
                                    </div>
				                    <?php elseif($vendor_rejected->bid_status == '12'): ?>
                                    <div class="status-quotes grress">
                                        <p>Accepted Final Amount</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '13'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '14'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '15'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected Final Amount</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '16'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Request Accepted</p>
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '17'): ?>
                                    <div class="status-quotes reject">
                                        <p>Demo amendment requested</p>
										<p style="color:black">Reason:<?php echo e(ucfirst($vendor_rejected->demo_reject_reason)); ?></p>
                                    </div>
									
									 <?php elseif($vendor_rejected->bid_status == '19'): ?>
                                    <div class="status-quotes reject">
                                        <p>Not Interested</p>
										
                                    </div>
                                    <?php elseif($vendor_rejected->bid_status == '18'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Completed</p><?php if(!empty($vendor_rejected->demo_finished_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($vendor_rejected->demo_finished_date))); ?></p><?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                    <div class="quote-amt">
                                        <?php
    $amount = ($vendor_rejected->quote_price * $vendor_rejected->bid_tax / 100);
    $totalamount = $vendor_rejected->quote_price + $amount;
?>
                                        <?php if($totalamount > '0'): ?>
                                       
                                        <?php endif; ?>
                                    </div>
					<?php if(!empty($vendor_rejected->bid_price)): ?>
					                    <?php
    $amount = ($vendor_rejected->bid_price * $vendor_rejected->bid_tax / 100);
    $totalamount = $vendor_rejected->bid_price + $amount;
?>
					<div class="quote-amt"> 
				                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php endif; ?>
                                    <?php if($vendor_rejected->bid_status == '3'): ?>
                                        <div class="quote-btns rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptprice')); ?>/<?php echo e($vendor_rejected->bidId); ?>/<?php echo e($vendor_rejected->buyer_id); ?>/<?php echo e($vendor_rejected->vendor_product_id); ?>" class="btn common-btn green-btn">Accept</a>
                                                </div>
                                              <div>
                                                    <a href="<?php echo e(url('vendors/rejectprice')); ?>/<?php echo e($vendor_rejected->bidId); ?>/<?php echo e($vendor_rejected->buyer_id); ?>/<?php echo e($vendor_rejected->vendor_product_id); ?>" onclick="return confirm('Are you sure?')"><button class="btn common-btn red-btn">Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($vendor_rejected->bid_status == '11'): ?>
                                        <div class="quote-btns  rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptdemo')); ?>/<?php echo e($vendor_rejected->bidId); ?>/<?php echo e($vendor_rejected->buyer_id); ?>/<?php echo e($vendor_rejected->vendor_product_id); ?>" class="btn common-btn green-btn">Demo Request Accept</a>
                                                </div>
                                              <div>
                                                    <a href="#" onclick="demoreject(<?php echo e($vendor_rejected->bidId); ?>,<?php echo e($vendor_rejected->buyer_id); ?>,<?php echo e($vendor_rejected->vendor_product_id); ?>)"><button class="btn common-btn red-btn">Demo Request Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php
    if ($vendor_rejected->bid_confirmed_date)
    {
        $bidconfirmeddate = date('d/m/Y', strtotime($vendor_rejected->bid_confirmed_date));
    }
    else
    {
        $bidconfirmeddate = "null";
    }
    if ($vendor_rejected->bid_rejected_date)
    {
        $bidrejecteddate = date('d/m/Y', strtotime($vendor_rejected->bid_rejected_date));
    }
    else
    {
        $bidrejecteddate = "null";
    }
    if ($vendor_rejected->demo_requested_date)
    {
        $biddemorequesteddate = date('d/m/Y', strtotime($vendor_rejected->demo_requested_date));
    }
    else
    {
        $biddemorequesteddate = "null";
    }
    if ($vendor_rejected->demo_accepted_date)
    {
        $biddemoconfirmeddate = date('d/m/Y', strtotime($vendor_rejected->demo_accepted_date));
    }
    else
    {
        $biddemoconfirmeddate = "null";
    }
    if ($vendor_rejected->demo_rejected_date)
    {
        $biddemorejecteddate = date('d/m/Y', strtotime($vendor_rejected->demo_rejected_date));
    }
    else
    {
        $biddemorejecteddate = "null";
    }
    if ($vendor_rejected->price_accepted_date)
    {
        $bidpriceconfirmeddate = date('d/m/Y', strtotime($vendor_rejected->price_accepted_date));
    }
    else
    {
        $bidpriceconfirmeddate = "null";
    }
    if ($vendor_rejected->price_rejected_date)
    {
        $bidpricerejecteddate = date('d/m/Y', strtotime($vendor_rejected->price_rejected_date));
    }
    else
    {
        $bidpricerejecteddate = "null";
    }
    if ($vendor_rejected->product_dispatched_date)
    {
        $biddispatchdate = date('d/m/Y', strtotime($vendor_rejected->product_dispatched_date));
    }
    else
    {
        $biddispatchdate = "null";
    }
    if ($vendor_rejected->inpackage_date)
    {
        $bidpackagedate = date('d/m/Y', strtotime($vendor_rejected->inpackage_date));
    }
    else
    {
        $bidpackagedate = "null";
    }
    if ($vendor_rejected->inproduction_date)
    {
        $bidproductiondate = date('d/m/Y', strtotime($vendor_rejected->inproduction_date));
    }
    else
    {
        $bidproductiondate = "null";
    }
    if ($vendor_rejected->ordered_date)
    {
        $bidordereddate = date('d/m/Y', strtotime($vendor_rejected->ordered_date));
    }
    else
    {
        $bidordereddate = "null";
    }
    if ($vendor_rejected->bidCreated)
    {
        $bidcreateddate = date('d/m/Y', strtotime($vendor_rejected->bidCreated));
    }
    else
    {
        $bidcreateddate = "null";
    }
    if ($vendor_rejected->quoteRequested)
    {
        $quoterequesteddate = date('d/m/Y', strtotime($vendor_rejected->quoteRequested));
    }
    else
    {
        $quoterequesteddate = "null";
    }
    if ($vendor_rejected->democompleted_date)
    {
        $democompleteddate = date('d/m/Y', strtotime($vendor_rejected->democompleted_date));
    }
    else
    {
        $democompleteddate = "null";
    }

?>
								
                                <div style="margin: 10px 0 0;">
                                
									<!--<button class="btn common-btn green-btn sendmessage"  onclick="sendmessage(<?php echo e($vendor_rejected->buyer_id); ?>,<?php echo e($vendor_rejected->vendor_product_id); ?>,'<?php echo e(ucfirst($vendor_rejected->name)); ?>')" style="display:block">Sendmessage</button>-->
								<!--	<button  class="btn common-btn yellow-btn"  data-toggle="modal" data-target="#myModalaction" data-id="<?php echo e($vendor_rejected->bidId); ?>" data-bid_confirmed_date="<?php echo e($bidconfirmeddate); ?>" data-bid_rejected_date="<?php echo e($bidrejecteddate); ?>" data-demo_requested_date="<?php echo e($biddemorequesteddate); ?>" data-demo_accepted_date="<?php echo e($biddemoconfirmeddate); ?>" data-demo_rejected_date="<?php echo e($biddemorejecteddate); ?>" data-price_accepted_date="<?php echo e($bidpriceconfirmeddate); ?>" data-price_rejected_date="<?php echo e($bidpricerejecteddate); ?>" data-product_dispatched_date="<?php echo e($biddispatchdate); ?>" data-inpackage_date="<?php echo e($bidpackagedate); ?>" data-inproduction_date="<?php echo e($bidproductiondate); ?>" data-ordered_date="<?php echo e($bidordereddate); ?>" data-created_date="<?php echo e($bidcreateddate); ?>" data-buyer_name="<?php echo e($vendor_rejected->name); ?>"
									>Bid History</button>-->
								<!--	<button class="btn common-btn green-btn sendmessage"  onclick="bidhistory(<?php echo e($vendor_rejected->bidId); ?>,<?php echo e($bidconfirmeddate); ?>,<?php echo e($bidrejecteddate); ?>,<?php echo e($biddemorequesteddate); ?>,<?php echo e($biddemoconfirmeddate); ?>,<?php echo e($biddemorejecteddate); ?>,<?php echo e($bidpriceconfirmeddate); ?>,<?php echo e($bidpricerejecteddate); ?>,<?php echo e($biddispatchdate); ?>,<?php echo e($bidpackagedate); ?>,<?php echo e($bidproductiondate); ?>,<?php echo e($bidordereddate); ?>,<?php echo e($bidcreateddate); ?>,<?php echo e($vendor_rejected->name); ?>

)" style="display:block">Bid History</button>-->
	
</div>                                
</div>
                                
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php else: ?>
                        <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12">
                            <div class="product-display">
                                <ul>
                                    <li>
                                        <div class="details">
                                            <div>
                                                <h6>
                                                No Quotes available
                                                </h6>
                                            </div>


                                        </div>
                                    </li>


                                </ul>
                            </div>
                        </div>
                        <?php endif; ?>
                        
					</div>
					<div id="fifth" class="tab-pane">
							
                        <?php if(count($bidlost) > 0): ?>
                        <?php $__currentLoopData = $bidlost; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$bidlost): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (date('Y-m-d') == date('Y-m-d', strtotime($bidlost->bidCreated)))
    { ?>
                            <div class="bid-stats boxings recently-add">
                        <?php
    }
    else
    { ?>
				                <div class="bid-stats boxings">
				            <?php
    } ?>
                                
								<div class="w-100 d-flex justify-content-end">
                                        <p style="font-weight: bold;" >Bid id : <?php echo e($bidlost->bid_unique_id); ?><p>
                                    </div> 
								
								
								<div class="product-order quote-order" style="    padding: 0 0 15px;">
                                    <div>
                                        <div class="quote-flex">
                                            <div>
                                                <div class="quote-img quote-img-rs">
														<?php if(!empty($bidlost->pro_pic)): ?>
                                                    		<img src="<?php echo e(url('user_files')); ?>/<?php echo e($bidlost->pro_pic); ?>">
														<?php else: ?>
                                                    		<img class="place-image" src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
                                                    	<?php endif; ?>
                                                </div>
                                            </div>
                                            <div>
                                                <div class="partner-details">
                                                    <h6><?php echo e($bidlost->name); ?></h6>
                                                    <p class="quoteee"><i style="color:#111;" class="fas fa-map-marker-alt" aria-hidden="true"></i>
                                                    <span class="addrs"><?php echo e($bidlost->address); ?>,
                                                    <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($state->id == $bidlost->city): ?>
                                                    <?php echo e($state->name); ?>

                                                    <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></span></p>
                                                    <div class="call"><i class="fas fa-phone-alt"></i><?php echo e($bidlost->phone_no); ?> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                     <div>
                                        <div class="pro-des">
                                            <h6 class="bgtitle"><span>Master Product : <?php echo e($bidlost->product_name); ?></span></h6>
                                            <?php if(!empty($bidlost->vendor_product_id)): ?>
                                             <h6 class="bgtitle"><span>Vendor Product : 
                                                 <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bidlost->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_name); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                 </span></h6>
                                            <p class="bgtitle"><span>Product Code  : 
                                                <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                 <?php if($vproducts->product_id == $bidlost->vendor_product_id): ?>
                                                 <?php echo e($vproducts->product_code); ?>

                                                 <?php endif; ?>
                                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </span></p>
                                                <?php endif; ?>
                                         </div>
                                    </div>
                                </div>
                                <div class="specifications" style="padding: 5px 0 0;">

                                    <h6>Bid Percentage</h6>

                                    <p><?php echo e($bidlost->bid_percentage); ?> %</p>
                                    <?php if(!empty($bidlost->bidDescription)): ?>
                                    <h6>Specifications</h6>
                                    <p>
                                        <?php if(!empty($bidlost->bidDescription)): ?>
                                            <?php echo e($bidlost->bidDescription); ?>

                                        <?php else: ?>
                                            <?php $__currentLoopData = $vendorproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vproducts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($vproducts->product_id == $bidlost->vendor_product_id): ?>
                                                    <?php echo e($vproducts->product_description); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </p>
                                    <?php endif; ?>
                                    <?php if($bidlost->bid_status == '3'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer has confirmed your quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '0'): ?>
                                    <div class="status-quotes reject">
                                        <p>Buyer Rejected</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '1'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '2'): ?>
                                    <div class="status-quotes grress">
                                        <p>You have send bid for this quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '4'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '5'): ?>
                                    <div class="status-quotes grress">
                                        <p>This Product is already dispatched</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '11'): ?>
                                    <div class="status-quotes grress">
                                        <p>The Buyer Requested for a demo </p><?php if(!empty($bidlost->demo_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bidlost->demo_date))); ?></p><?php endif; ?>
                                    </div>
				                    <?php elseif($bidlost->bid_status == '12'): ?>
                                    <div class="status-quotes grress">
                                        <p>Accepted Final Amount</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '13'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '14'): ?>
                                    <div class="status-quotes grress">
                                        <p>Buyer placed order for this quote</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '15'): ?>
                                    <div class="status-quotes reject">
                                        <p>Rejected Final Amount</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '16'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Request Accepted</p>
                                    </div>
                                    <?php elseif($bidlost->bid_status == '17'): ?>
                                    <div class="status-quotes reject">
                                        <p>Demo amendment requested</p>
										<p style="color:black">Reason:<?php echo e(ucfirst($bidlost->demo_reject_reason)); ?></p>
                                    </div>
									
									 <?php elseif($bidlost->bid_status == '19'): ?>
                                    <div class="status-quotes reject">
                                        <p>Not Interested</p>
										
                                    </div>
                                    <?php elseif($bidlost->bid_status == '18'): ?>
                                    <div class="status-quotes grress">
                                        <p>Demo Completed</p><?php if(!empty($bidlost->demo_finished_date)): ?><p>at <?php echo e(date('d-m-Y H:i',strtotime($bidlost->demo_finished_date))); ?></p><?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                    <div class="quote-amt">
                                        <?php
    $amount = ($bidlost->quote_price * $bidlost->bid_tax / 100);
    $totalamount = $bidlost->quote_price + $amount;
?>
                                        <?php if($totalamount > '0'): ?>
                                        
                                        <?php endif; ?>
                                    </div>
					<?php if(!empty($bidlost->bid_price)): ?>
					                    <?php
    $amount = ($bidlost->bid_price * $bidlost->bid_tax / 100);
    $totalamount = $bidlost->bid_price + $amount;
?>
					<div class="quote-amt"> 
				                        <?php if($totalamount > '0'): ?>
                                       
                                        <?php endif; ?>
                                    </div>
					<?php endif; ?>
                                    <?php if($bidlost->bid_status == '3'): ?>
                                        <div class="quote-btns rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptprice')); ?>/<?php echo e($bidlost->bidId); ?>/<?php echo e($bidlost->buyer_id); ?>/<?php echo e($bidlost->vendor_product_id); ?>" class="btn common-btn green-btn">Accept</a>
                                                </div>
                                              <div>
                                                    <a href="<?php echo e(url('vendors/rejectprice')); ?>/<?php echo e($bidlost->bidId); ?>/<?php echo e($bidlost->buyer_id); ?>/<?php echo e($bidlost->vendor_product_id); ?>" onclick="return confirm('Are you sure?')"><button class="btn common-btn red-btn">Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php if($bidlost->bid_status == '11'): ?>
                                        <div class="quote-btns  rights">
                                              <div>
                                                    <a href="<?php echo e(url('vendors/acceptdemo')); ?>/<?php echo e($bidlost->bidId); ?>/<?php echo e($bidlost->buyer_id); ?>/<?php echo e($bidlost->vendor_product_id); ?>" class="btn common-btn green-btn">Demo Request Accept</a>
                                                </div>
                                              <div>
                                                    <a href="#" onclick="demoreject(<?php echo e($bidlost->bidId); ?>,<?php echo e($bidlost->buyer_id); ?>,<?php echo e($bidlost->vendor_product_id); ?>)"><button class="btn common-btn red-btn">Demo Request Reject</button></a>
                                                </div>
                                        </div>
                                    <?php endif; ?>
                                    <?php
    if ($bidlost->bid_confirmed_date)
    {
        $bidconfirmeddate = date('d/m/Y', strtotime($bidlost->bid_confirmed_date));
    }
    else
    {
        $bidconfirmeddate = "null";
    }
    if ($bidlost->bid_rejected_date)
    {
        $bidrejecteddate = date('d/m/Y', strtotime($bidlost->bid_rejected_date));
    }
    else
    {
        $bidrejecteddate = "null";
    }
    if ($bidlost->demo_requested_date)
    {
        $biddemorequesteddate = date('d/m/Y', strtotime($bidlost->demo_requested_date));
    }
    else
    {
        $biddemorequesteddate = "null";
    }
    if ($bidlost->demo_accepted_date)
    {
        $biddemoconfirmeddate = date('d/m/Y', strtotime($bidlost->demo_accepted_date));
    }
    else
    {
        $biddemoconfirmeddate = "null";
    }
    if ($bidlost->demo_rejected_date)
    {
        $biddemorejecteddate = date('d/m/Y', strtotime($bidlost->demo_rejected_date));
    }
    else
    {
        $biddemorejecteddate = "null";
    }
    if ($bidlost->price_accepted_date)
    {
        $bidpriceconfirmeddate = date('d/m/Y', strtotime($bidlost->price_accepted_date));
    }
    else
    {
        $bidpriceconfirmeddate = "null";
    }
    if ($bidlost->price_rejected_date)
    {
        $bidpricerejecteddate = date('d/m/Y', strtotime($bidlost->price_rejected_date));
    }
    else
    {
        $bidpricerejecteddate = "null";
    }
    if ($bidlost->product_dispatched_date)
    {
        $biddispatchdate = date('d/m/Y', strtotime($bidlost->product_dispatched_date));
    }
    else
    {
        $biddispatchdate = "null";
    }
    if ($bidlost->inpackage_date)
    {
        $bidpackagedate = date('d/m/Y', strtotime($bidlost->inpackage_date));
    }
    else
    {
        $bidpackagedate = "null";
    }
    if ($bidlost->inproduction_date)
    {
        $bidproductiondate = date('d/m/Y', strtotime($bidlost->inproduction_date));
    }
    else
    {
        $bidproductiondate = "null";
    }
    if ($bidlost->ordered_date)
    {
        $bidordereddate = date('d/m/Y', strtotime($bidlost->ordered_date));
    }
    else
    {
        $bidordereddate = "null";
    }
    if ($bidlost->bidCreated)
    {
        $bidcreateddate = date('d/m/Y', strtotime($bidlost->bidCreated));
    }
    else
    {
        $bidcreateddate = "null";
    }
    if ($bidlost->quoteRequested)
    {
        $quoterequesteddate = date('d/m/Y', strtotime($bidlost->quoteRequested));
    }
    else
    {
        $quoterequesteddate = "null";
    }
    if ($bidlost->democompleted_date)
    {
        $democompleteddate = date('d/m/Y', strtotime($bidlost->democompleted_date));
    }
    else
    {
        $democompleteddate = "null";
    }

?>
<div style="margin: 10px 0 0;">
									 
									<!--<button class="btn common-btn green-btn sendmessage"  onclick="sendmessage(<?php echo e($bidlost->buyer_id); ?>,<?php echo e($bidlost->vendor_product_id); ?>,'<?php echo e(ucfirst($bidlost->name)); ?>')" style="display:block">Sendmessage</button>-->
								<!--	<button  class="btn common-btn yellow-btn"  data-toggle="modal" data-target="#myModalaction" data-id="<?php echo e($bidlost->bidId); ?>" data-bid_confirmed_date="<?php echo e($bidconfirmeddate); ?>" data-bid_rejected_date="<?php echo e($bidrejecteddate); ?>" data-demo_requested_date="<?php echo e($biddemorequesteddate); ?>" data-demo_accepted_date="<?php echo e($biddemoconfirmeddate); ?>" data-demo_rejected_date="<?php echo e($biddemorejecteddate); ?>" data-price_accepted_date="<?php echo e($bidpriceconfirmeddate); ?>" data-price_rejected_date="<?php echo e($bidpricerejecteddate); ?>" data-product_dispatched_date="<?php echo e($biddispatchdate); ?>" data-inpackage_date="<?php echo e($bidpackagedate); ?>" data-inproduction_date="<?php echo e($bidproductiondate); ?>" data-ordered_date="<?php echo e($bidordereddate); ?>" data-created_date="<?php echo e($bidcreateddate); ?>" data-buyer_name="<?php echo e($bidlost->name); ?>"
									>Bid History</button>-->
								<!--	<button class="btn common-btn green-btn sendmessage"  onclick="bidhistory(<?php echo e($bidlost->bidId); ?>,<?php echo e($bidconfirmeddate); ?>,<?php echo e($bidrejecteddate); ?>,<?php echo e($biddemorequesteddate); ?>,<?php echo e($biddemoconfirmeddate); ?>,<?php echo e($biddemorejecteddate); ?>,<?php echo e($bidpriceconfirmeddate); ?>,<?php echo e($bidpricerejecteddate); ?>,<?php echo e($biddispatchdate); ?>,<?php echo e($bidpackagedate); ?>,<?php echo e($bidproductiondate); ?>,<?php echo e($bidordereddate); ?>,<?php echo e($bidcreateddate); ?>,<?php echo e($bidlost->name); ?>

)" style="display:block">Bid History</button>-->
	
</div>                                
</div>
                                
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php else: ?>
                        <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12">
                            <div class="product-display">
                                <ul>
                                    <li>
                                        <div class="details">
                                            <div>
                                                <h6>
                                                No Quotes available
                                                </h6>
                                            </div>


                                        </div>
                                    </li>


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

                    <div class="clear"></div>
                </div>
                <!--tab-content End -->
				
				
            </div>
            <!--custom-tabs End -->
			
        </div>
        <!--boxings End -->
    </div>
    <!--page-content End -->






	
	
	
	
	
	
	<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script>
$(function () {
  $(".invoiceselect").select2();
  $(".invoiceselect1").select2();
  $(".invoiceselect2").select2();
});
$("#add_demoreject").validate({

        rules: {
            "reason": {
                required: true
               
            },
        },
        submitHandler: function(form, e) {
			
			form.submit();
          
        }
    });








function sendmessage(buyer_id,prdid,name){
	 $('#message_pop').modal({backdrop: 'static', keyboard: false});
	 $("#messagetype").val('myquotes_message_sent');
	 $("#to_id").val(buyer_id);
	 $("#p_id").val(prdid);
	 $("#to_name").val(name);

     event.preventDefault();
}
function demoreject(bidid,buyerid,productid){
	
	$("#reason").val('');
	$("#reason").html('');
	
	$('#myModaldemoreject').modal({backdrop: 'static', keyboard: false});
	$("#bid_id_demorej").val(bidid);
	$("#buyer_id_demorej").val(buyerid);
	$("#product_id_demorej").val(productid);
}
$("#add_msg").validate({

        rules: {
            "messagedetails": {
                required: true

            }
        },
        submitHandler: function(form, e) {

			var data = {
					_token	: $('#token_vendor').val(),
					product_id	:$("#p_id").val(),
					to_id:$("#to_id").val(),
					msg:$("#messagedetails").val(),
					complaint_id:$("#complaint_id").val(),
					messagetype:$("#messagetype").val()


				}
				$.ajax({
					url: baseurl + 'add_msg',
					type: "POST",
					data: data,
					success: function (res) {
						if(res==1){
							swal({
								title: "",
								text: "Successfully sent",
								type: "success",
								showCancelButton: false,
								dangerMode: false,
								confirmButtonText: 'OK',

							});
							$('#messagedetails').val('').empty();
							$('#message_pop').modal('hide');


						}

					}

				});

        }
    });
</script>
<script>
<?php if(Session::has('message')): ?>
      swal({
        title: "",
        text: "<?php echo e(Session::get('message')); ?>",
        type: "success",
        showCancelButton: false,
        dangerMode: false,
        confirmButtonText: 'OK',

    });
<?php endif; ?>
<?php if(Session::has('errormessage')): ?>
      swal({
        title: "",
        text: "<?php echo e(Session::get('errormessage')); ?>",
        type: "error",
        showCancelButton: false,
        dangerMode: true,
        confirmButtonText: 'OK',

    });
<?php endif; ?>
</script>
<!--<script>
    $('#myModalaction').on('show.bs.modal', function (event) {
  var button = $(event.relatedTarget) // Button that triggered the modal
  var id = button.data('id') // Extract info from data-* attributes
  var bid_confirmed_date = button.data('bid_confirmed_date')
  console.log(bid_confirmed_date);
  var bid_rejected_date = button.data('bid_rejected_date')
  console.log(bid_rejected_date);
  var demo_requested_date = button.data('demo_requested_date')
  console.log(demo_requested_date);
  var demo_accepted_date = button.data('demo_accepted_date')
  console.log(demo_accepted_date);
  var demo_rejected_date = button.data('demo_rejected_date')
  console.log(demo_rejected_date);
  var price_accepted_date = button.data('price_accepted_date')
  console.log(price_accepted_date);
  var price_rejected_date = button.data('price_rejected_date')
  console.log(price_rejected_date);
  var product_dispatched_date = button.data('product_dispatched_date')
   console.log(product_dispatched_date);
  var inpackage_date = button.data('inpackage_date')
  console.log(inpackage_date);
  var inproduction_date = button.data('inproduction_date')
  console.log(inproduction_date);
  var ordered_date = button.data('ordered_date')
  console.log(ordered_date);
  var created_date = button.data('created_date')
  console.log(created_date);
  var buyer_name = button.data('buyer_name')
  console.log(buyer_name);
  $('.buyername').html(buyer_name);
  if(created_date != ""){
      
      $('.bidplacedvalue').html(created_date);
  }else{
      $(".bidplaced").hide();
  }
  if(bid_confirmed_date != ""){
      $('.bidconfirmedvalue').html(bid_confirmed_date);
  }else{
      $(".bidconfirmed").hide();
  }
  if(bid_rejected_date != ""){
      $('.bidrejectedvalue').html(bid_rejected_date);
  }else{
      $(".bidrejected").hide();
  }
  if(demo_requested_date != ""){
      $('.demorequestedvalue').html(demo_requested_date);
  }else{
      $(".demorequested").hide();
  }
  if(demo_accepted_date != ""){
      $('.demoacceptedvalue').html(demo_accepted_date);
  }else{
      $(".demoaccepted").hide();
  }
  if(demo_rejected_date != ""){
      $('.demorejectedvalue').html(demo_rejected_date);
  }else{
      $(".demorejected").hide();
  }
  if(price_accepted_date != ""){
      $('.amountacceptedvalue').html(price_accepted_date);
  }else{
      $(".amountaccepted").hide();
  }
  if(price_rejected_date != ""){
      $('.amountrejectedvalue').html(price_rejected_date);
  }else{
      $(".amountrejected").hide();
  }
  if(product_dispatched_date != ""){
      $('.dispatchedvalue').html(product_dispatched_date);
  }else{
      $(".dispatched").hide();
  }
 /* if(inpackage_date != ""){
      $('.bidplacedvalue').html(inpackage_date);
  }else{
      $(".bidplaced").hide();
  }
  if(inproduction_date != ""){
      $('.bidplacedvalue').html(inproduction_date);
  }else{
      $(".bidplaced").hide();
  }*/
  if(ordered_date != ""){
      $('.orderplacedvalue').html(ordered_date);
  }else{
      $(".orderplaced").hide();
  }
})
</script>-->
<script>
    function bidhistory(
id,bid_confirmed_date,bid_rejected_date,demo_requested_date,demo_accepted_date,demo_rejected_date,price_accepted_date,price_rejected_date,product_dispatched_date,inpackage_date,inproduction_date,ordered_date,created_date,buyer_name,quoterequesteddate,democompleteddate){
	 $('#myModalaction').modal({backdrop: 'static', keyboard: false});
	    $('.buyername').html(buyer_name);
	    console.log(demo_requested_date);
	    if(quoterequesteddate != "null"){
              $('.quoterequestedvalue').html(quoterequesteddate);
          }else{
              $(".quoterequested").hide();
          }
         if(created_date != "null"){
              $('.bidplacedvalue').html(created_date);
          }else{
              $(".bidplaced").hide();
          }
          if(bid_confirmed_date != "null"){
              $('.bidconfirmedvalue').html(bid_confirmed_date);
          }else{
              $(".bidconfirmed").hide();
          }
          if(bid_rejected_date != "null"){
              $('.bidrejectedvalue').html(bid_rejected_date);
          }else{
              $(".bidrejected").hide();
          }
          if(demo_requested_date != "null"){
              $('.demorequestedvalue').html(demo_requested_date);
          }else{
              $(".demorequested").hide();
          }
          if(demo_accepted_date != "null"){
              $('.demoacceptedvalue').html(demo_accepted_date);
          }else{
              $(".demoaccepted").hide();
          }
          if(demo_rejected_date != "null"){
              $('.demorejectedvalue').html(demo_rejected_date);
          }else{
              $(".demorejected").hide();
          }
          if(democompleteddate != "null"){
              $('.democompletedvalue').html(democompleteddate);
          }else{
              $(".democompleted").hide();
          }
          if(price_accepted_date != "null"){
              $('.amountacceptedvalue').html(price_accepted_date);
          }else{
              $(".amountaccepted").hide();
          }
          if(price_rejected_date != "null"){
              $('.amountrejectedvalue').html(price_rejected_date);
          }else{
              $(".amountrejected").hide();
          }
          if(product_dispatched_date != "null"){
              $('.dispatchedvalue').html(product_dispatched_date);
          }else{
              $(".dispatched").hide();
          }
        
          if(ordered_date != "null"){
              $('.orderplacedvalue').html(ordered_date);
          }else{
              $(".orderplaced").hide();
          }
          if(inpackage_date != "null"){
              $('.orderpackagedvalue').html(ordered_date);
          }else{
              $(".orderpackaged").hide();
          }
           if(inproduction_date != "null"){
              $('.productproductionvalue').html(ordered_date);
          }else{
              $(".productproduction").hide();
          }
          

     event.preventDefault();

}


	$('#country').on('change', function() {
      var countryid = this.value;
      var APP_URL = <?php echo json_encode(url('/getstates1')); ?> ;
      var saveData = $.ajax({
            type: 'GET',
            url: APP_URL+'/'+countryid,
            data: { countryid: countryid, _token: '<?php echo e(csrf_token()); ?>' },
            dataType: "text",
            success: function(resultData) {
              $("#state").html(resultData);
            }
            });

    });
	
	$('#dealer').on('change', function() {
      var dealerid = this.value;
      var APP_URL = <?php echo json_encode(url('/getmasterproducts')); ?> ;
      var saveData = $.ajax({
            type: 'GET',
            url: APP_URL+'/'+dealerid,
            data: { dealerid: dealerid, _token: '<?php echo e(csrf_token()); ?>' },
            dataType: "text",
            success: function(resultData) {
              $("#masterproduct").html(resultData);
            }
            });

    });

</script>


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

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/meddbot/public_html/resources/views/manufacturers/dealer_quotes.blade.php ENDPATH**/ ?>