add enrollments to order
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import {
|
||||
CheckCircle2Icon,
|
||||
ClockAlertIcon,
|
||||
RotateCcwIcon,
|
||||
CircleXIcon,
|
||||
ClockIcon,
|
||||
BanIcon,
|
||||
CheckCircle2Icon,
|
||||
CircleXIcon,
|
||||
ClockAlertIcon,
|
||||
ClockIcon,
|
||||
RotateCcwIcon,
|
||||
type LucideIcon
|
||||
} from 'lucide-react'
|
||||
|
||||
@@ -21,39 +21,30 @@ export type Order = {
|
||||
email: string
|
||||
}
|
||||
|
||||
export const statuses: Record<
|
||||
string,
|
||||
{ icon: LucideIcon; color?: string; label: string }
|
||||
> = {
|
||||
export const statuses: Record<string, { icon: LucideIcon; color?: string }> = {
|
||||
PENDING: {
|
||||
icon: ClockIcon,
|
||||
label: 'Pendente',
|
||||
color: 'text-blue-400 [&_svg]:text-blue-500'
|
||||
},
|
||||
PAID: {
|
||||
icon: CheckCircle2Icon,
|
||||
color: 'text-green-400 [&_svg]:text-green-500',
|
||||
label: 'Pago'
|
||||
color: 'text-green-400 [&_svg]:text-green-500'
|
||||
},
|
||||
DECLINED: {
|
||||
icon: BanIcon,
|
||||
color: 'text-red-400 [&_svg]:text-red-500',
|
||||
label: 'Negado'
|
||||
color: 'text-red-400 [&_svg]:text-red-500'
|
||||
},
|
||||
EXPIRED: {
|
||||
icon: ClockAlertIcon,
|
||||
color: 'text-orange-400 [&_svg]:text-orange-500',
|
||||
label: 'Expirado'
|
||||
color: 'text-orange-400 [&_svg]:text-orange-500'
|
||||
},
|
||||
REFUNDED: {
|
||||
icon: RotateCcwIcon,
|
||||
color: 'text-orange-400 [&_svg]:text-orange-500',
|
||||
label: 'Estornado'
|
||||
color: 'text-orange-400 [&_svg]:text-orange-500'
|
||||
},
|
||||
CANCELED: {
|
||||
icon: CircleXIcon,
|
||||
color: 'text-red-400 [&_svg]:text-red-500',
|
||||
label: 'Cancelado'
|
||||
color: 'text-red-400 [&_svg]:text-red-500'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user