Skip to content

Commit

Permalink
Fix customer actions links in customers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
HashJProgramming committed Nov 20, 2023
1 parent c6c2a0a commit e2f038c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/views/customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<td><?php echo $row['contact']; ?></td>
<td><?php echo $row['created_at']; ?></td>
<td class="text-center">
<a class="mx-1" href="profile-customer.php?id=<?php echo $row['id'] ?>"><i class="far fa-eye" style="font-size: 20px;"></i></a>
<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>
<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>
<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>
<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>
<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>
</td>

<?php
Expand Down

0 comments on commit e2f038c

Please # to comment.