Viewing file: 2553f60c828155dca7bac042c534a8d5.php (9.6 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e($customer->name); ?> - <?php echo e(__('customer_details')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <div class="container-fluid"> <div class="row justify-content-center"> <div class="col-lg-6 mb-3"> <div class="card card-widget widget-user shadow"> <div class="widget-user-header bg-info"> <h3 class="widget-user-username"><?php echo e($customer->name); ?></h3> <h5 class="widget-user-desc"><?php echo e($customer->email); ?></h5> </div> <div class="widget-user-image"> <?php if($customer->image): ?> <img class="img-circle elevation-2" src="<?php echo e(asset($customer->image)); ?>" alt="Customer Image"> <?php else: ?> <img class="img-circle elevation-2" src="<?php echo e(asset('backend/image/thumbnail.jpg')); ?>" alt="Customer Image"> <?php endif; ?> </div> <div class="card-footer"> <div class="row"> <div class="col-sm-3 border-right"> <div class="description-block"> <h5 class="description-header"><?php echo e(__('username')); ?></h5> <span class="description-text"><?php echo e($customer->username); ?></span> </div> </div> <div class="col-sm-3 border-right"> <div class="description-block"> <h5 class="description-header"><?php echo e(__('phone')); ?></h5> <span class="description-text"><?php echo e($customer->phone); ?></span> </div> </div> <div class="col-sm-3 border-right"> <div class="description-block"> <h5 class="description-header"><?php echo e(__('website')); ?></h5> <span class="description-text"><?php echo e($customer->web ? $customer->web : '-'); ?></span> </div> </div> <div class="col-sm-3"> <div class="description-block"> <h5 class="description-header"><?php echo e(__('registered_at')); ?></h5> <span class="description-text"><?php echo e(date('M d, Y', strtotime($customer->created_at))); ?></span> </div> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h3 class="card-title" style="line-height: 36px;"><?php echo e(__('customer')); ?> <?php echo e(__('ads')); ?>
</h3> <a href="<?php echo e(route('module.customer.index')); ?>" class="btn bg-primary float-right d-flex align-items-center justify-content-center"><i class="fas fa-arrow-left"></i> <?php echo e(__('back')); ?></a> </div> <div class="card-body table-responsive p-0"> <?php if (isset($component)) { $__componentOriginal045813b837131ee18b78f29cff65d362 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal045813b837131ee18b78f29cff65d362 = $attributes; } ?> <?php $component = App\View\Components\Backend\AdManage::resolve(['ads' => $ads,'showCustomer' => false] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('backend.ad-manage'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Backend\AdManage::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal045813b837131ee18b78f29cff65d362)): ?> <?php $attributes = $__attributesOriginal045813b837131ee18b78f29cff65d362; ?> <?php unset($__attributesOriginal045813b837131ee18b78f29cff65d362); ?> <?php endif; ?> <?php if (isset($__componentOriginal045813b837131ee18b78f29cff65d362)): ?> <?php $component = $__componentOriginal045813b837131ee18b78f29cff65d362; ?> <?php unset($__componentOriginal045813b837131ee18b78f29cff65d362); ?> <?php endif; ?> </div> <div class="card-footer "> <div class="d-flex justify-content-center"> <?php echo e($ads->links()); ?>
</div> </div> </div>
<div class="card"> <div class="card-header"> <h3 class="card-title" style="line-height: 36px;"><?php echo e(__('purchase_plan')); ?></h3> </div> <div class="card-body table-responsive p-0"> <table class="table"> <thead> <tr> <th>#</th> <th><?php echo e(__('amount')); ?></th> <th><?php echo e(__('plan_name')); ?></th> <th><?php echo e(__('payment_provider')); ?></th> <th><?php echo e(__('created_time')); ?></th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td> <?php echo e($key + 1); ?>
</td> <td class="text-muted"> $<?php echo e(number_format($transaction->amount, 2, '.', ',')); ?></td> <td class="text-muted"> <span class="badge badge-primary"> <?php echo e($transaction->plan->label); ?>
</span> </td> <td class="text-muted"> <?php if($transaction->payment_provider == 'offline'): ?> <?php echo e(__('offline')); ?>
<?php if(isset($transaction->manualPayment) && isset($transaction->manualPayment->name)): ?> (<b><?php echo e($transaction->manualPayment->name); ?></b>) <?php endif; ?> <?php else: ?> <?php echo e(ucfirst($transaction->payment_provider)); ?>
<?php endif; ?> </td> <td class="text-muted"> <?php echo e(date('M d, Y', strtotime($transaction->created_at))); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="3" class="text-center"> <span class=""><?php echo e(__('no_transactions_found')); ?>...</span> </td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php $__env->startSection('style'); ?> <style> .widget-user .widget-user-image>img { width: 110px; }
.widget-user .card-footer { padding-top: 80px; } </style> <?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\add listing 8-9-25\addListing\Modules/Customer\Resources/views/show.blade.php ENDPATH**/ ?>
|