mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
updated to use ProductTable
Co-authored-by: sstrawsburg@gmail.com <sstrawsburg@gmail.com>
This commit is contained in:
@@ -8,7 +8,8 @@ export default async function ProductTable(props:any) {
|
||||
<th className='bg-slate-700 text-white pl-2 w-40'>Component</th>
|
||||
<th className='bg-slate-700 text-white w-40'>Manufacturer</th>
|
||||
<th className='bg-slate-700 text-white w-40'>Model #</th>
|
||||
<th className='bg-slate-700 text-white w-40'>Price</th>
|
||||
<th className='bg-slate-700 text-white w-40'>Retail Price</th>
|
||||
<th className='bg-slate-700 text-white w-20'>Sale Price</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -17,6 +18,7 @@ export default async function ProductTable(props:any) {
|
||||
<td className='text-slate-800'>{item.category}</td>
|
||||
<td className='text-slate-800'>{item.brandName}</td>
|
||||
<td className='text-slate-800'>{item.modelnumber}</td>
|
||||
<td className='text-slate-800'>{item.retailPrice}</td>
|
||||
<td className="text-slate-800 flex items-center gap-2">
|
||||
${Number(item.salePrice).toFixed(2)}
|
||||
<button >Buy</button>
|
||||
|
||||
Reference in New Issue
Block a user