Merge branch 'rvg-frontend' of https://git.gumoio.com/benito.rodriguez/Venta.De.Boletos.De.Un.Concierto into benito
This commit is contained in:
commit
2ba4a2b742
ventaboletos/src/components/vistas
|
@ -77,10 +77,8 @@ function Informacion() {
|
||||||
<Dialog open={open} onOpenChange={setOpen}>
|
<Dialog open={open} onOpenChange={setOpen}>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{selectedConcierto?.name}</DialogTitle>
|
<DialogTitle>{selectedConcierto?.nombre}</DialogTitle>
|
||||||
<p className="text-sm text-gray-600">
|
<p className="text-sm text-gray-600">{selectedConcierto?.fecha}</p>
|
||||||
{selectedConcierto?.location}
|
|
||||||
</p>
|
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<Select onValueChange={setTipoAsiento}>
|
<Select onValueChange={setTipoAsiento}>
|
||||||
|
@ -88,9 +86,11 @@ function Informacion() {
|
||||||
<SelectValue placeholder="Selecciona un tipo de asiento" />
|
<SelectValue placeholder="Selecciona un tipo de asiento" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
{tipoAsiento?.map((tipo) => {
|
{tipoAsiento?.map((tipo) => (
|
||||||
<SelectItem value={tipo}>{tipo.categoria}</SelectItem>;
|
<SelectItem key={tipo.categoria} value={tipo.categoria}>
|
||||||
})}
|
{tipo.categoria}
|
||||||
|
</SelectItem>
|
||||||
|
))}
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,7 +98,7 @@ function Informacion() {
|
||||||
<Button variant="outline" onClick={() => setOpen(false)}>
|
<Button variant="outline" onClick={() => setOpen(false)}>
|
||||||
Cancelar
|
Cancelar
|
||||||
</Button>
|
</Button>
|
||||||
<Button> Aceptar</Button>
|
<Button>Aceptar</Button>
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
Loading…
Reference in New Issue