Viewing file: 3775d5cc9d754983d548937a7dd851712a3b1a4e.php (11.52 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('head'); ?> <?php echo $__env->make('layouts.partials.headersection',['title'=>'Plans'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row justify-content-center"> <div class="col-sm-12"> <?php if(Session::has('fail')): ?> <div class="alert alert-danger alert-dismissible show fade"> <div class="alert-body"> <button class="close" data-dismiss="alert"> <span>×</span> </button> <?php echo e(Session::get('fail')); ?>
</div> </div> <?php endif; ?> <?php if(Session::has('success')): ?> <div class="alert alert-success alert-dismissible show fade"> <div class="alert-body"> <button class="close" data-dismiss="alert"> <span>×</span> </button> <?php echo e(Session::get('success')); ?>
</div> </div> <?php endif; ?> </div>
<?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $data=json_decode($row->data); ?> <div class="col-12 col-md-4 col-lg-4"> <div class="pricing <?php if($row->featured==1): ?> pricing-highlight <?php endif; ?>"> <div class="pricing-title"> <?php echo e($row->name); ?>
</div> <div class="pricing-padding"> <div class="pricing-price"> <div><?php echo e(amount_admin_format($row->price)); ?></div> <div><?php if($row->days == 365): ?> <?php echo e(__('Yearly')); ?> <?php elseif($row->days == 30): ?> Monthly <?php else: ?> <?php echo e($row->days); ?> Days <?php endif; ?></div> <p><?php echo e($row->description); ?></p> </div> <div class="pricing-details"> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Products Limit')); ?> <?php echo e($data->product_limit); ?></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Storage Limit')); ?> <?php echo e(number_format($data->storage)); ?>MB</div> </div> <?php if(env('MULTILEVEL_CUSTOMER_REGISTER') == true): ?> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Customer Limit')); ?> <?php echo e(number_format($data->customer_limit)); ?></div> </div> <?php endif; ?> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Shipping Zone Limit')); ?> <?php echo e($data->location_limit ?? ''); ?></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Category Limit')); ?> <?php echo e($data->category_limit ?? ''); ?></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Brand Limit')); ?> <?php echo e($data->brand_limit ?? ''); ?></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Product Variation Limit')); ?> <?php echo e($data->variation_limit ?? ''); ?></div> </div>
<div class="pricing-item"> <div class="pricing-item-label text-left"><?php echo e(__('Use your own domain')); ?>   </div> <?php if($data->custom_domain == true): ?> <div class="pricing-item-icon "><i class="fas fa-check"></i></div> <?php else: ?> <div class="pricing-item-icon bg-danger text-white"><i class="fas fa-times"></i></div> <?php endif; ?> </div> <div class="pricing-item"> <div class="pricing-item-label text-left"><?php echo e(__('Google Analytics')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->google_analytics == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->google_analytics == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label text-left"><?php echo e(__('Facebook Pixel')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->facebook_pixel == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->facebook_pixel == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label text-left"><?php echo e(__('Google Tag Manager')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->gtm == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->gtm == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label text-left"><?php echo e(__('Whatsapp Plugin')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->whatsapp == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->whatsapp == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Inventory Management')); ?>   </div>
<div class="pricing-item-icon <?php echo e($data->inventory == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->inventory == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('POS')); ?>   </div>
<div class="pricing-item-icon <?php echo e($data->pos == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->pos == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('PWA')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->pwa == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->pwa == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('QRCODE')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->qr_code == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->qr_code == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Custom Js')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->custom_js == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->custom_js == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Custom Css')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->custom_css == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->custom_css == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Seller Support')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->live_support == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->live_support == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Customer Panel Access')); ?>   </div> <div class="pricing-item-icon <?php echo e($data->customer_panel == false ? 'bg-danger text-white' : ''); ?> "><i class="<?php echo e($data->customer_panel == false ? 'fas fa-times' : 'fas fa-check'); ?>"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Multi Language')); ?>   </div> <div class="pricing-item-icon"><i class="fas fa-check"></i></div> </div> <div class="pricing-item"> <div class="pricing-item-label"><?php echo e(__('Image Optimization')); ?>   </div> <div class="pricing-item-icon"><i class="fas fa-check"></i></div> </div> </div> </div> <div class="pricing-cta"> <?php if(url('/') == env('APP_URL')): ?> <a href="<?php echo e(route('merchant.make_payment',$row->id)); ?>"><?php echo e(__('Subscribe')); ?> <i class="fas fa-arrow-right"></i></a> <?php else: ?> <a href="<?php echo e(route('seller.make_payment',$row->id)); ?>"><?php echo e(__('Subscribe')); ?> <i class="fas fa-arrow-right"></i></a> <?php endif; ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<div class="card"> <div class="card-header"> <h4><?php echo e(__('Order History')); ?></h4> </div> <div class="card-body"> <?php $posts=\App\Models\Userplan::with('plan','category')->where('user_id',Auth::id())->where('amount','>',0)->latest()->paginate(20); ?> <div class="table-responsive"> <table class="table table-hover table-nowrap card-table text-center"> <thead> <tr>
<th class="text-left" ><?php echo e(__('Order')); ?></th> <th><?php echo e(__('Name')); ?></th> <th ><?php echo e(__('Purchase Date')); ?></th> <th ><?php echo e(__('Expiry date')); ?></th> <th><?php echo e(__('Total')); ?></th> <th><?php echo e(__('Tax')); ?></th> <th><?php echo e(__('Payment Method')); ?></th> <th><?php echo e(__('Payment Status')); ?></th> <th><?php echo e(__('Fulfillment')); ?></th> </tr> </thead> <tbody class="list font-size-base rowlink" data-link="row"> <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr>
<td class="text-left"><?php echo e($row->order_no); ?></td> <td><?php echo e($row->plan_info->name ?? ''); ?></td> <td><?php echo e($row->created_at->format('Y-m-d')); ?></td> <td><?php echo e($row->will_expire); ?></td>
<td><?php echo e(amount_admin_format($row->amount,2)); ?></td> <td><?php echo e(amount_admin_format($row->tax,2)); ?></td> <td><?php echo e($row->category->name ?? ''); ?></td> <td> <?php if($row->payment_status==1): ?> <span class="badge badge-success"><?php echo e(__('Paid')); ?></span> <?php elseif($row->payment_status==2): ?> <span class="badge badge-warning"><?php echo e(__('Pending')); ?></span> <?php else: ?> <span class="badge badge-danger"><?php echo e(__('Fail')); ?></span> <?php endif; ?> </td>
<td> <?php if($row->status == 1): ?> <span class="badge badge-success">Approved</span> <?php elseif($row->status == 2): ?> <span class="badge badge-warning"><?php echo e(__('Pending')); ?></span><?php elseif($row->status == 3): ?> <span class="badge badge-danger"><?php echo e(__('Expired')); ?></span><?php else: ?> <span class="badge badge-danger"><?php echo e(__('Cancelled')); ?></span> <?php endif; ?>
</td>
</tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="card-footer d-flex justify-content-between"> <?php echo e($posts->links('vendor.pagination.bootstrap-4')); ?>
</div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Volumes/my-works/laravel/dokans/script/resources/views/seller/plan/index.blade.php ENDPATH**/ ?>
|