Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/storage/framework/views/8badf996945385190cfe2e6f04157dd3.php
<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-md-12">
        <section class="content">
            <div>
                <div class="box-body">
                    <div class="row">
                        <?php if(!empty($website_setting->backend_logo)): ?>
                        <div class="col-md-6">
                   	        <img class="img-fluid" src="<?php echo e(asset('/public/img/images_uploaded/'.$website_setting->backend_logo)); ?>" alt="<?php echo e(config('app.name')); ?>" />
                   	    </div>
                   	    <div class="col-md-6">
                   	    <?php else: ?>
                   	    <div class="col-md-12">
                   	    <?php endif; ?>
                   	        <h3 class="bold font-black"><?php echo e($contactInfo->contact_name ?? ''); ?></h3>
                   	        <p class="font-16"><?php echo e($contactInfo->address ?? ''); ?></p>
                   	        <p class="font-16"><span class="bold">Tel:</span> <?php echo e($contactInfo->phone ?? ''); ?> <span class="bold">Email:</span> <?php echo e($contactInfo->email ?? ''); ?></p>
                   	    </div>
                   	</div>
                </div>
            </div>
        </section>
    </div>
</div>
<div class="row">
    <div class="col-md-6">
        <section class="content">
            <div class="box">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                   	        <h4 class="bold text-center">Latest Pending Oil Orders <small><?php if(!empty($latestOilOrders)): ?> (<?php echo e(count($latestOilOrders)); ?> pending) <?php else: ?> <?php endif; ?></small></h4>
                   	        <table class="table table-striped table-hover table-checkable dataTable table-responsive table-responsive-md responsive" id="oil_table">
                            <thead class="thead-dark">
                                <tr>
                                    <th scope="col" class="min-tablet-l">ID</th>
                                    <th scope="col" class="all">Product</th>
                                    <th scope="col" class="min-mobile-l">Status</th>
                                    <th scope="col" class="min-mobile-l">Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                            	<?php if($latestOilOrders): ?>
									<?php $__currentLoopData = $latestOilOrders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latestOilOrder): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<tr>
									    <td class="dtr-control"><?php echo e($latestOilOrder->id); ?></td>
									    <td>
									        <?php if(isset($latestOilOrder->cover)): ?>
                                                <img src="<?php echo e(URL::asset('/public/storage/'.$latestOilOrder->cover)); ?>" alt=""  style="height: 15px;width: 15px; margin-right:5px" />
                                            <?php else: ?>
                                                <img src="<?php echo e(url('/images/default.jpg')); ?>" style="height: 15px;width: 15px; margin-right:5px" alt="" />
                                            <?php endif; ?> 
									
									            <?php echo e($latestOilOrder->product_name); ?>

									   </td>
									    <td>
									    	<span class="badge font-badge <?php if($latestOilOrder->status == 'paid'): ?> badge-success <?php elseif($latestOilOrder->status == 'pending'): ?> badge-warning <?php elseif($latestOilOrder->status == 'awaiting payment'): ?> badge-awaiting <?php elseif($latestOilOrder->status == 'error'): ?> badge-danger <?php else: ?> <?php endif; ?>"><?php echo e($latestOilOrder->status); ?></span>
									    </td>
									    <td>
									    	<a href="<?php echo e(url('/admin/orders/' . $latestOilOrder->id)); ?>" class="btn btn-default"><i class="fa fa-eye"></i> View</a>
									    </td>
									</tr>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								<?php endif; ?>
                            </tbody>
                            </table>
                   	    </div>
                   	</div>
                </div>
            </div>
        </section>
    </div>
    <div class="col-md-6">
        <section class="content">
            <div class="box">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                   	        <h4 class="bold text-center">Latest Customers <small>(<?php echo e($todaysCustomerCount); ?> today)</small></h4>
                   	        <table class="table table-striped table-hover table-checkable dataTable table-responsive table-responsive-md responsive" id="customers_table">
                            <thead class="thead-dark">
                                <tr>
                                    <th scope="col" class="min-tablet-l">ID</th>
                                    <th scope="col" class="all">Name</th>
                                    <th scope="col" class="min-mobile-l">Status</th>
                                    <th scope="col" class="min-mobile-l">Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                            </table>
                   	    </div>
                   	</div>
                </div>
            </div>
        </section>
    </div>
</div>
<div class="row">
    <div class="col-md-12">
        <section class="content">
            <div class="box">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                   	        <h4 class="bold text-center">Todays Oil Deliveries <small><?php if(!empty($todaysDeliveries)): ?> (<?php echo e(count($todaysDeliveries)); ?> today) <?php else: ?> <?php endif; ?></small></h4>
                   	        <table class="table table-striped table-hover table-checkable dataTable table-responsive table-responsive-md responsive" id="deliveries_table">
                            <thead class="thead-dark">
                                <tr>
                                    <th scope="col" class="min-tablet-l">ID</th>
                                    <th scope="col" class="all">Product</th>
                                    <th scope="col" class="min-tablet-l">Address</th>
                                    <th scope="col" class="min-tablet-l">Eircode</th>
                                    <th scope="col" class="min-tablet-l">Driver</th>
                                    <th scope="col" class="min-mobile-l">Status</th>
                                    <th scope="col" class="min-mobile-l">Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                            	<?php if($todaysDeliveries): ?>
									<?php $__currentLoopData = $todaysDeliveries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $todaysDelivery): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<tr>
									    <td class="dtr-control"><?php echo e($todaysDelivery->id); ?></td>
									    <td>
									        <?php if($todaysDelivery->cover): ?>
									        <img src="<?php echo e(URL::asset('/public/storage/'.$todaysDelivery->cover)); ?>" style="height: 15px;width: 15px; margin-right:5px" />
									        <?php else: ?>
									         <img src="<?php echo e(url('/images/default.jpg')); ?>" style="height: 15px;width: 15px; margin-right:5px" />
									         <?php endif; ?>
									        <?php echo e($todaysDelivery->product_name); ?></td>
									    <td><?php echo e($todaysDelivery->address_1); ?>, <?php echo e($todaysDelivery->address_2); ?>, <?php echo e($todaysDelivery->county); ?>, <?php echo e($todaysDelivery->town); ?></td>
									    <td><?php echo e($todaysDelivery->zip); ?></td>
									    <td><a href="<?php echo e(url('admin/driver/'.$todaysDelivery->driver_id)); ?>"><?php echo e($todaysDelivery->driver_name); ?></a></td>
									    <td>
									    	<span class="badge font-badge <?php if($todaysDelivery->status == 'paid'): ?> badge-success <?php elseif($todaysDelivery->status == 'pending'): ?> badge-warning <?php elseif($todaysDelivery->status == 'awaiting payment'): ?> badge-awaiting <?php elseif($todaysDelivery->status == 'error'): ?> badge-danger <?php else: ?> <?php endif; ?>"><?php echo e($todaysDelivery->status); ?></span>
									    </td>
									    <td>
									    	<a href="<?php echo e(url('/admin/orders/' . $todaysDelivery->id)); ?>" class="btn btn-default"><i class="fa fa-eye"></i> View</a>
									    </td>
									</tr>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            	<?php endif; ?>
                            </tbody>
                            </table>
                   	    </div>
                   	</div>
                </div>
            </div>
        </section>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script type="text/javascript">
$(document).ready( function () {
    $.fn.DataTable.ext.pager.numbers_length = 5;
    $('#oil_table').DataTable({
		"responsive": true,
		"order": [[ 0, "desc" ]],
        "bAutoWidth": false,
        "rowReorder": {
            selector: 'td:nth-child(2)'
        },
        "columnDefs": [
          { "width": "40px", "targets": 3 }
        ],
        "pageLength": 3,
        "lengthMenu": [[3, 5, 10, 20, 50, 100], [3, 5, 10, 20, 50, 100]]
	});
	$('#customers_table').DataTable({
		"responsive": true,
        "processing": true,
        "serverSide": true,
        "ajax":{
            "url": "<?php echo e(url('admin/latest-customers/server-pagination')); ?>",
            "dataType": "json",
            "type": "POST",
            "data":{ _token: "<?php echo e(csrf_token()); ?>"}
        },
        "columns": [
            { "data": "id" },
            { "data": "name" },
            { "data": "status" },
            { "data": "actions" },
        ],
        createdRow: function( row, data, dataIndex ) {
            $(row).find('td:eq(0)').addClass('dtr-control');
        },
		"order": [[ 0, "desc" ]],
        "bAutoWidth": false,
        "rowReorder": {
            selector: 'td:nth-child(2)'
        },
        "columnDefs": [
          { "width": "40px", "targets": 3 }
        ],
        "pageLength": 3,
        "lengthMenu": [[3, 5, 10, 20, 50, 100], [3, 5, 10, 20, 50, 100]]
	});
	$('#deliveries_table').DataTable({
		"responsive": true,
		"order": [[ 0, "desc" ]],
        "bAutoWidth": false,
        "rowReorder": {
            selector: 'td:nth-child(2)'
        },
        "columnDefs": [
          { "width": "40px", "targets": 5 }
        ],
        "pageLength": 3,
        "lengthMenu": [[3, 5, 10, 20, 50, 100], [3, 5, 10, 20, 50, 100]]
	});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/mcoil.corals.io/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>

Spamworldpro Mini