fix login 04
This commit is contained in:
parent
d25aef3090
commit
017eca9945
@ -236,15 +236,9 @@ function getStatusClass($status) {
|
||||
<?php if (can($_SESSION['user_role'], 'asset', 'update')): ?>
|
||||
<a href="edit-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-primary">Edit</a>
|
||||
<?php endif; ?>
|
||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||
<a href="delete-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-danger" onclick="return confirm('Are you sure you want to delete this asset?');">Delete</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user