mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-08-04 03:27:44 +00:00
fix(wallet): update styling for total debit/credit display in wallet transactions table
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m56s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m56s
This commit is contained in:
@ -19,7 +19,7 @@ This is a web portal for SAR Link customers.
|
||||
### Parental Control
|
||||
- [x] Fix block device feature
|
||||
- [x] Add all the filters for parental control table (mobile responsive)
|
||||
- [ ] Disable blocking if payment is pending or omit from the table if device payment is pending
|
||||
- [x] Disable blocking if payment is pending or omit from the table if device payment is pending
|
||||
|
||||
### Agreements
|
||||
- [x] Implement file upload for admin side
|
||||
@ -43,4 +43,3 @@ This is a web portal for SAR Link customers.
|
||||
### User Payments
|
||||
- [x] Show user payments table
|
||||
- [x] Add relevant filters for user payments table
|
||||
- [ ] Add computation of total value for filtered results
|
@ -70,13 +70,13 @@ export async function WalletTransactionsTable({
|
||||
) : (
|
||||
<div>
|
||||
<div className="flex gap-4 mb-4 w-full">
|
||||
<div className="bg-green-400 w-full sm:w-fit dark:bg-green-950 dark:text-green-400 text-gray-500 p-2 px-4 rounded-md mb-2">
|
||||
<div className="bg-red-400 w-full sm:w-fit dark:bg-red-950 dark:text-red-400 text-red-900 p-2 px-4 rounded-md mb-2">
|
||||
<h5 className="text-lg font-semibold">
|
||||
Total Debit
|
||||
</h5>
|
||||
<p>{totalDebit.toFixed(2)} MVR</p>
|
||||
</div>
|
||||
<div className="bg-red-400 w-full sm:w-fit dark:bg-red-950 dark:text-red-400 text-white p-2 px-4 rounded-md mb-2">
|
||||
<div className="bg-green-400 w-full sm:w-fit dark:bg-green-950 dark:text-green-400 text-green-900 p-2 px-4 rounded-md mb-2">
|
||||
<h5 className="text-lg font-semibold">
|
||||
Total Credit
|
||||
</h5>
|
||||
|
Reference in New Issue
Block a user