관리-도구
편집 파일: f16297a24d3e8dd16de6214f1be904df1e407337.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-flex align-items-center"> <span class="panel-title"><?php echo e(_lang('Customer List')); ?></span> <a class="btn btn-primary btn-xs ml-auto ajax-modal" data-title="<?php echo e(_lang('Create New Customer')); ?>" href="<?php echo e(route('customers.create')); ?>"><?php echo e(_lang('Create New Customer')); ?></a> </div> <div class="card-body"> <table id="users_table" class="table table-bordered data-table"> <thead> <tr> <th class="text-center">#</th> <th><?php echo e(_lang('Name')); ?></th> <th><?php echo e(_lang('Email')); ?></th> <th><?php echo e(_lang('Phone')); ?></th> <th><?php echo e(_lang('Status')); ?></th> <th class="text-center"><?php echo e(_lang('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr data-id="row_<?php echo e($user->id); ?>"> <td class='profile_picture text-center'><img src="<?php echo e(profile_picture($user->profile_picture)); ?>" class="thumb-sm rounded-circle mr-2"></td> <td class='name'><a href="<?php echo e(action('CustomerController@show', $user['id'])); ?>"><?php echo e($user->name); ?></a></td> <td class='email'><?php echo e($user->email); ?></td> <td class='phone'><?php echo e($user->phone); ?></td> <td class='status'><?php echo xss_clean(status($user->status)); ?></td> <td class="text-center"> <div class="dropdown"> <button class="btn btn-light dropdown-toggle btn-xs" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <?php echo e(_lang('Action')); ?> <i class="fas fa-angle-down"></i> </button> <form action="<?php echo e(action('CustomerController@destroy', $user['id'])); ?>" method="post"> <?php echo e(csrf_field()); ?> <input name="_method" type="hidden" value="DELETE"> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="<?php echo e(action('CustomerController@edit', $user['id'])); ?>" data-title="<?php echo e(_lang('Update Customer Details')); ?>" class="dropdown-item dropdown-edit ajax-modal"><i class="mdi mdi-pencil"></i> <?php echo e(_lang('Edit')); ?></a> <a href="<?php echo e(action('CustomerController@show', $user['id'])); ?>" class="dropdown-item dropdown-view"><i class="mdi mdi-eye"></i> <?php echo e(_lang('View')); ?></a> <button class="btn-remove dropdown-item" type="submit"><i class="mdi mdi-delete"></i> <?php echo e(_lang('Delete')); ?></button> </div> </form> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/backend/customer/list.blade.php ENDPATH**/ ?>