Se cambio del modulo de producto-inventario el $ por Bs.

This commit is contained in:
2025-12-15 13:04:00 -04:00
parent 28d51a9c00
commit 6482e692b3
3 changed files with 21 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ export const columns: ColumnDef<InventoryTable>[] = [
{ {
accessorKey: 'price', accessorKey: 'price',
header: 'Precio', header: 'Precio',
cell: ({ row }) => `${row.original.price}$` cell: ({ row }) => `${row.original.price} Bs.`
}, },
{ {
accessorKey: 'stock', accessorKey: 'stock',

View File

@@ -32,7 +32,7 @@ export function ProductCard({ product, onClick }: cardProps) {
{product.status === 'AGOTADO' ? ( {product.status === 'AGOTADO' ? (
<p className="font-semibold text-lg text-red-900">AGOTADO</p> <p className="font-semibold text-lg text-red-900">AGOTADO</p>
) : ('')} ) : ('')}
<p className="font-semibold text-lg">$ {product.price}</p> <p className="font-semibold text-lg">{product.price} Bs.</p>
</CardFooter> </CardFooter>
</Card> </Card>
) )

View File

@@ -53,7 +53,7 @@ return (
<CardTitle className="font-bold text-2xl text-primary"> <CardTitle className="font-bold text-2xl text-primary">
{product.title.charAt(0).toUpperCase() + product.title.slice(1)} {product.title.charAt(0).toUpperCase() + product.title.slice(1)}
</CardTitle> </CardTitle>
<p className='font-semibold'>{product.price}$ <p className='font-semibold'>{product.price} Bs.
{product.status === 'AGOTADO' ? ( {product.status === 'AGOTADO' ? (
<span className="font-semibold text-lg text-red-900"> AGOTADO</span> <span className="font-semibold text-lg text-red-900"> AGOTADO</span>
) : ('')} ) : ('')}