


<?php $__env->startSection('title', trans('View Orders', ['name' => $order->id])); ?>

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

    


    <div class="wrapper">
    <div class="main-panel-old">
        <?php
        //  echo '<pre>';
        //     print_r($order['productType']['product_type']);
        //     // $order['product_type']['product_type']
        //    die();
        //    echo '</pre>';
           ?>


        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-4 col-md-5">
                        <div class="card card-user-old">
                            <div class="image">
                                
                                <img src="<?php echo e(asset('images/image7.jpg')); ?>" alt="..."/>

                            </div>
                            <div class="card-header">
                                
                            </div>
                        
                            <div class="card-content">
                               
                                <ul class="list-unstyled team-members">
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar-1">Order Id</div></div>
                                            <div class="col-xs-5"># <?php echo e($order['id'] ?? '-'); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar-2">Customer Name</div></div>
                                            <div class="col-xs-5"><?php echo e($order['customer']['first_name']?? '-'); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                           


                                            <div class="col-xs-5"><div class="avatar-2">Order Type</div></div>

                                            <?php if($order['order_type'] == 0): ?>
                                                <div class="col-xs-5">Old</div>
                                            <?php elseif($order['order_type'] == 1): ?>
                                                <div class="col-xs-5">New</div>
                                            <?php elseif($order['order_type'] == 2): ?>
                                                <div class="col-xs-5">Re-make</div>
                                            <?php else: ?>
                                                <div class="col-xs-5"><?php echo e($order['order_type'] ?? '-'); ?></div
                                            <?php endif; ?>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar-2">Order Date</div></div>
                                            <div class="col-xs-5"><?php echo e($order['order_date']?? '-'); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar-2">Due Date</div></div>
                                            <div class="col-xs-5"><?php echo e($order['due_date']?? '-'); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar-2">Priority</div></div>
                                            
                                            <?php if($order['priority'] == 1): ?>
                                            <div class="badge badge-priority" style="background-color: #EB5E28;">High</div>
                                            <?php elseif($order['priority'] == 2): ?>
                                                <div class="badge badge-priority" style="background-color: #F3BB45;">Medium</div>
                                            <?php elseif($order['priority'] == 3): ?>
                                                <div class="badge badge-priority" style="background-color: #7AC29A;">Normal</div>
                                            <?php else: ?>
                                                <div class="badge badge-priority"><?php echo e($order['priority_name']); ?></div>
                                            <?php endif; ?>
                                        </div>
                                    </li>
                                </ul>

                            </div>
   
                        </div>

                        <div class="card">
                            <div class="card-header">
                                <h5 class="card-title">Product Details</h5>
                            </div>
                            <div class="card-content">
                                <ul class="list-unstyled team-members">
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Product type</div></div>
                                            <div class="col-xs-5"><?php echo e($order['polishType']['polish_type']); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Polish type</div></div>
                                            <div class="col-xs-5"><?php echo e($order['polishType']['polish_type']); ?></div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Metal type</div></div>
                                            <div class="col-xs-5">Platinum</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Prongs type</div></div>
                                            <div class="col-xs-5">Claw Prongs</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Metal tone</div></div>
                                            <div class="col-xs-5">White - Yello</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Ring size</div></div>
                                            <div class="col-xs-5">2.5</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Length</div></div>
                                            <div class="col-xs-5">2.5</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Width</div></div>
                                            <div class="col-xs-5">2.5</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Height</div></div>
                                            <div class="col-xs-5">2.5</div>
                                        </div>
                                    </li>
          

                                </ul>
                            </div>
                        </div>

                        <div class="card">
                            <div class="card-header">
                                <h5 class="card-title">Payemt Deatils</h5>
                            </div>
                            <div class="card-content">
                                <ul class="list-unstyled team-members">
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5">
                                                <div class="avatar">
                                                    Payment Type -
                                                </div>
                                            </div>
                                            <div class="col-xs-5">
                                                EMI
                                            </div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5">
                                                <div class="avatar">
                                                   Total Amount 
                                                </div>
                                            </div>
                                            <div class="col-xs-6 text-success">
                                                50,0000
                            
                                            </div>
                       
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5">
                                                <div class="avatar">
                                                   Paid Amount 
                                                </div>
                                            </div>
                                            <div class="col-xs-6 text-success">
                                                10,0000
                 
                                            </div>
                       
                                        </div>
                                    </li>

                                </ul>
                            </div>
                        </div>

                        <div class="card">
                            <div class="card-header">
                                <h5 class="card-title">Extra Details</h5>
                            </div>
                            <div class="card-content">
                                <ul class="list-unstyled team-members">
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Engraving</div></div>
                                            <div class="col-xs-5">No</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Gift wrap</div></div>
                                            <div class="col-xs-5">Yes</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Express shipping</div></div>
                                            <div class="col-xs-5">Yes</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Jewellery Certificate?</div></div>
                                            <div class="col-xs-5">Required</div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="row">
                                            <div class="col-xs-5"><div class="avatar">Difficulty level</div></div>
                                            <div class="col-xs-5">Hard</div>
                                        </div>
                                    </li>

          

                                </ul>
                            </div>
                        </div>

                    </div>
                    <div class="col-lg-8 col-md-7">
                        
	        <div class="content">
	            <div class="container-fluid">
	                <div class="row">
	                    <div class="col-md-12">
							<div class="card card-timeline card-plain">
								
		                        <div class="card-content">
		                            <ul class="timeline">
									    <li class="timeline-inverted">
									        <div class="timeline-badge danger">
											  <i class="ti-gallery"></i>
										    </div>
									    	<div class="timeline-panel">
										        <div class="timeline-heading">
										          <span class="label label-danger">Marketing Department</span>
										        </div>
									        	<div class="timeline-body">
									        		<p>Order Received</p>   
                                                </div>
			                                    <h6>
			                                        <i class="ti-time"></i>
			                                        10/8/2024
			                                    </h6>
									      </div>
									    </li >
                     
									    <li class="timeline-inverted">
									        <div class="timeline-badge success">
											    <i class="ti-check-box"></i>
										    </div>
									    	<div class="timeline-panel">
										        <div class="timeline-heading">
										          <span class="label label-success">CAD Department</span>
										        </div>
										        <div class="timeline-body">
										        	<p>Design Process Started</p>
                                                    <p>Design Process Completed</p>
                                                    <p>Design Process Approved</p>
										        </div>
                                                <h6>
			                                        <i class="ti-time"></i>
			                                        12/8/2024
			                                    </h6>
                                                
									      	</div>
									    </li>
									    <li class="timeline-inverted">
									    	<div class="timeline-badge info">
											    <i class="ti-credit-card"></i>
											</div>
									    	<div class="timeline-panel">
										        <div class="timeline-heading">
										          <span class="label label-info">Casting Department</span>
										        </div>
										        <div class="timeline-body">
										        	<p>Initial Weight - 1 Gm</p>
                                                    <p>Final Weight - 0.9 Gm</p>
                                                    <p>Loss - 10%</p>
													<p></p>
										        	<hr>
										        	
                                                    <h6>
                                                        <i class="ti-time"></i>
                                                        14/8/2024
                                                    </h6>
										        </div>
									    	</div>
										</li>
		                                <li class="timeline-inverted">
									        <div class="timeline-badge warning">
											  <i class="ti-gallery"></i>
										    </div>
									    	<div class="timeline-panel">
										        <div class="timeline-heading">
										          <span class="label label-warning">Production Department</span>
										        </div>
										        <div class="timeline-body">
										        	<p>Initial  Weight - 0.9 Gm</p>
                                                    <p>Filling  Process Completed</p>
                                                    <p>Weight - 0.85 Gm</p>
                                                    <p>pre polishing   Completed</p>
                                                    <p>Final Weight - 0.8 Gm</p>
                                                    <p>Loss - 10%</p>
                                                    
										        </div>
									    	</div>
									    </li>
			  						</ul>
		                        </div>
							</div>
	                    </div>
	                </div>
	            </div>
	        </div>
            
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

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

<?php echo $__env->make('admin.paper-theme-layout.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\diamond\resources\views/admin/order/view.blade.php ENDPATH**/ ?>