AERC
Adan Enrique Ramirez Cisneros

Equipment Review Table - Copy this React, Tailwind Component to your project

You can generate a component where I will have the following, it would be a table where the header is the date of each Sunday of the month, where below they will have a span that says (amount of selected equipment) + selected, the Sundays that have already passed or already have revisions They must be disabled to avoid modifications. Continuing below you will see the teams that have been selected through a combobox that will be at the top of everything. The teams that will be seen are those selected by the combobox or those that already have the function of bringing reviews that are linked to them. the teams export interface Equipo { id: string; numEconomico: string; marca: string; modelo: string; year: number; serie?: string; placas?: string; m3?: number; tipoTanque?: string; activo?: boolean; estado: Estado; areaId?: string; area?: WorkArea; archivos: Archivo[]; tanque: Tanque[]; mantenimiento: Mantenimiento[]; Revisiones: Revisiones[]; createAt: Date; updateAt: Date; Evidencia: Evidencia[]; Certificado: Certificado[]; ArchivosVencimiento: ArchivosVencimiento[]; } export interface Revisiones { id: string; fecha: Date; equipoId?: string[]; equipo?: Equipo[]; createAt: Date; updateAt: Date; }

Prompt
Component Preview

About

EquipmentReviewTable - A dynamic table displaying Sundays with selected equipment counts, disabled past dates, and team selections. Buil. Start coding now!

Share

Last updated 1 month ago