File: /www/wwwroot/erp.nhatnamsst.com/storage/framework/views/88c5fcf15c0041aaeb6bb92d638fcb4e.php
<?php
$currentAdmin = get_auth_admin();
$hasView = $currentAdmin && $currentAdmin->checkRouteNameAccessOrSuperAdmin('cms.debt.show');
$hasDelete = $currentAdmin && $currentAdmin->isAdmin() && $currentAdmin->checkRouteNameAccessOrSuperAdmin('cms.debt.delete');
?>
<?php if($hasView || $hasDelete): ?>
<div class="btn-group">
<button class="btn blue btn-xs btn-outline dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-user"></i> ACTION <i class="fa fa-angle-down"></i>
</button>
<ul class="dropdown-menu pull-right" id="divAction_<?php echo e($id); ?>" style="display: none;">
<?php if($hasView): ?>
<li>
<button type="button" class="btnSubmit btn blue btn-outline btn-xs view" onclick="window.location.href='<?php echo e(route('cms.debt.show', $id)); ?>'">
Xem
</button>
</li>
<?php endif; ?>
<?php if($hasDelete): ?>
<li>
<button type="button" class="btnSubmit btn blue btn-outline btn-xs open-modal-delete" data-load-dt="true" data-table-id="debt" data-route="<?php echo e(route('cms.debt.delete', $id)); ?>" data-target="#modalAjaxDelete">
Xóa
</button>
</li>
<?php endif; ?>
</ul>
</div>
<?php endif; ?>
<?php /**PATH /www/wwwroot/erp.nhatnamsst.com/resources/views/cms/debts/datatable/action.blade.php ENDPATH**/ ?>