Skip to content

Commit e2f038c

Browse files
Fix customer actions links in customers.php
1 parent c6c2a0a commit e2f038c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/views/customers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<td><?php echo $row['contact']; ?></td>
2121
<td><?php echo $row['created_at']; ?></td>
2222
<td class="text-center">
23-
<a class="mx-1" href="profile-customer.php?id=<?php echo $row['id'] ?>"><i class="far fa-eye" style="font-size: 20px;"></i></a>
24-
<a class="mx-1" href="#" data-bs-target="#update" data-bs-toggle="modal" data-id="<?php echo $row['id']?>" data-firstname="<?php echo $firstname ?>" data-lastname="<?php echo $lastname ?>" data-address="<?php echo $row['address'] ?>" data-contact="<?php echo $row['contact'] ?>" ><i class="far fa-edit text-warning" style="font-size: 20px;"></i></a>
25-
<a class="mx-1" href="#" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?php echo $row['id']?>"><i class="far fa-trash-alt text-danger" style="font-size: 20px;"></i></a>
23+
<a class="mx-1 text-decoration-none" href="profile-customer.php?id=<?php echo $row['id'] ?>"><i class="far fa-eye" style="font-size: 20px;"></i> View Transactions</a>
24+
<a class="mx-1 text-decoration-none text-warning" href="#" data-bs-target="#update" data-bs-toggle="modal" data-id="<?php echo $row['id']?>" data-firstname="<?php echo $firstname ?>" data-lastname="<?php echo $lastname ?>" data-address="<?php echo $row['address'] ?>" data-contact="<?php echo $row['contact'] ?>" ><i class="far fa-edit text-warning" style="font-size: 20px;"></i> Update</a>
25+
<a class="mx-1text-decoration-none text-danger" href="#" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?php echo $row['id']?>"><i class="far fa-trash-alt text-danger" style="font-size: 20px;"></i> Remove</a>
2626
</td>
2727

2828
<?php

0 commit comments

Comments
 (0)