Last active
November 16, 2024 20:34
-
-
Save codigoconjuan/d680252d3f4163fcb28c4babe142dfcd to your computer and use it in GitHub Desktop.
Mostrar Detalles de Venta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function TransactionSummary() { | |
const transaction = { | |
contents: [] | |
} | |
return ( | |
<> | |
<div className='mt-6 text-sm font-medium text-gray-500 border border-gray-200'> | |
<p className='text-sm font-black text-gray-900 p-2 bg-gray-200 '>ID: </p> | |
<ul | |
role="list" | |
className="divide-y divide-gray-200 border-t border-gray-200 border-b" | |
> | |
{transaction.contents.map((item) => ( | |
<li className="p-5 "> | |
<div className='flex items-center space-x-6 '> | |
<div className='relative w-32 h-32'> | |
</div> | |
<div className="flex-auto space-y-1 "> | |
<h3 className="text-gray-900"> | |
</h3> | |
<p className="text-lg font-extrabold text-gray-900"></p> | |
<p className="text-lg text-gray-900">Cantidad: </p> | |
</div> | |
</div> | |
</li> | |
))} | |
</ul> | |
<dl className="space-y-6 text-sm font-medium text-gray-500 p-5"> | |
<div className="flex justify-between"> | |
<dt>Cupón Utilizado</dt> | |
<dd className="text-gray-900"></dd> | |
</div> | |
<div className="flex justify-between"> | |
<dt>Descuento</dt> | |
<dd className="text-gray-900">-</dd> | |
</div> | |
<div className="flex justify-between"> | |
<dt className="text-lg text-black font-black">Total</dt> | |
<dd className="text-lg text-black font-black"></dd> | |
</div> | |
</dl> | |
</div> | |
</> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment