mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-11 15:56:03 +00:00
bug: fix payment status display and force timezones in creation date in PaymentsTable and DevicesToPay components 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m27s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m27s
This commit is contained in:
@ -64,7 +64,7 @@ export default function ClickableRow({
|
||||
) : (
|
||||
<p className="text-muted-foreground">Device Inactive</p>
|
||||
)}
|
||||
{device.has_a_pending_payment && (
|
||||
{device.has_a_pending_payment && device.pending_payment_id !== null && (
|
||||
<Link href={`/payments/${device.pending_payment_id}`}>
|
||||
<span className="bg-muted rounded px-2 p-1 mt-2 flex hover:underline items-center justify-center gap-2 text-muted-foreground">
|
||||
Payment Pending{" "}
|
||||
|
Reference in New Issue
Block a user