update status
This commit is contained in:
@@ -71,7 +71,7 @@ export function Enrollments({
|
||||
<TableHead>Curso</TableHead>
|
||||
<TableHead>Status</TableHead>
|
||||
<TableHead>Executada em</TableHead>
|
||||
<TableHead>Agendada em</TableHead>
|
||||
{/*<TableHead>Agendada em</TableHead>*/}
|
||||
<TableHead>Revogada em</TableHead>
|
||||
</TableRow>
|
||||
</TableHeader>
|
||||
@@ -83,7 +83,7 @@ export function Enrollments({
|
||||
course,
|
||||
status,
|
||||
executed_at,
|
||||
scheduled_at,
|
||||
// scheduled_at,
|
||||
rollback_at
|
||||
},
|
||||
idx
|
||||
@@ -119,11 +119,11 @@ export function Enrollments({
|
||||
<DateTime options={dtOptions}>{executed_at}</DateTime>
|
||||
) : null}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
{/*<TableCell>
|
||||
{scheduled_at ? (
|
||||
<DateTime options={dtOptions}>{scheduled_at}</DateTime>
|
||||
) : null}
|
||||
</TableCell>
|
||||
</TableCell>*/}
|
||||
<TableCell>
|
||||
{rollback_at ? (
|
||||
<DateTime options={dtOptions}>{rollback_at}</DateTime>
|
||||
@@ -160,7 +160,7 @@ const statuses: Record<string, { icon: LucideIcon; color?: string }> = {
|
||||
}
|
||||
|
||||
const labels: Record<string, string> = {
|
||||
PENDING: 'Aguardando',
|
||||
PENDING: 'Pendente',
|
||||
EXECUTED: 'Executada',
|
||||
SCHEDULED: 'Agendada',
|
||||
ROLLBACK: 'Revogada'
|
||||
|
||||
@@ -62,7 +62,7 @@ class Enrollment(BaseModel):
|
||||
] = Field(alias='sk')
|
||||
user: User
|
||||
course: Course
|
||||
scheduled_for: FutureDate | None = None
|
||||
scheduled_for: date | None = None
|
||||
|
||||
|
||||
class Org(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user