File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const { data: pagination } = defineProps<{ data: PaginationData<T[]> }>();
66 </script >
77<template >
88 <nav
9- v-if =" pagination.links.length > 0 && pagination.next_page_url"
9+ v-if =" pagination.links.length > 0 && ( pagination.next_page_url || pagination.prev_page_url) "
1010 class =" flex-column flex flex-wrap items-center justify-between py-5 pt-6 md:flex-row"
1111 aria-label =" Table navigation"
1212 >
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ const paymentMethodIcon = computed(() => {
108108 <div v-if =" transaction.attachment" >
109109 <h4 class =" text-muted-foreground mb-2 text-sm font-medium" >Attachment</h4 >
110110 <div class =" rounded-lg border p-3" >
111- <div class =" flex items-center justify-between" >
111+ <div class =" flex flex-wrap items-center justify-between gap-4 " >
112112 <div class =" flex items-center" >
113113 <component
114114 :is =" isImage(transaction.attachment) ? 'Image' : isPdf(transaction.attachment) ? FileText : FileText"
Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ function markAsPaid(id: string | number) {
181181 <div >
182182 <span
183183 :class =" {
184- 'text-destructive': new Date(bill.due_date as string) < new Date() && bill.status === 'unpaid',
184+ 'text-yellow-500': bill.status === 'unpaid',
185+ 'text-destructive': bill.status === 'overdue',
185186 }"
186187 >
187188 {{ formatDate(bill.due_date as string) }}
You can’t perform that action at this time.
0 commit comments