Skip to content

Commit da8368a

Browse files
Add currency symbol to total in customer profile
table
1 parent d06489c commit da8368a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profile-customer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['fullname'] . '</td>';
127127
echo '<td><img class="rounded-circle me-2" width="30" height="30" src="assets/img/profile.png">' . $row['username'] . '</td>';
128128
echo '<td>' . $row['kilo'] . '</td>';
129-
echo '<td>' . $row['total'] . '</td>';
129+
echo '<td>' . number_format($row['total'], 2) . '</td>';
130130
echo '<td>' . $status. '</td>';
131131
echo '<td>' . $row['created_at'] . '</td>';
132132
echo '</tr>';

0 commit comments

Comments
 (0)