prescription

This commit is contained in:
2025-04-21 15:56:58 +07:00
parent af20355b31
commit e657e3f75a
3 changed files with 51 additions and 5 deletions

View File

@@ -339,6 +339,18 @@ export default function List() {
<TableCell align="left">{row.doctor_name ?? '-'}</TableCell>
<TableCell align="left">{row.apotek_name ?? '-'}</TableCell>
<TableCell align="left">{row.price_delivery ?? '-'}</TableCell>
<TableCell align="left">{row.payment_status ?? '-'}</TableCell>
<TableCell align="left">
{Array.isArray(row.status_resep) && row.status_resep.length > 0 ? (
<ul style={{ paddingLeft: '1rem', margin: 0 }}>
{row.status_resep.map((item, idx) => (
<li key={idx}>{item}</li>
))}
</ul>
) : (
'-'
)}
</TableCell>
<TableCell align="left">{row.status_prescription ?? '-'}</TableCell>
{/* <TableCell align="center">
<ButtonGroup variant="text" aria-label="text button group">
@@ -551,12 +563,15 @@ export default function List() {
<TableCell style={headStyle} align="left">
Harga Ongkos Kirim
</TableCell>
<TableCell style={headStyle} align="left">
Status
<TableCell style={headStyle} align="center">
Status Pembayaran
</TableCell>
<TableCell style={{ ...headStyle, width: '300px' }} align="left">
Status Resep
</TableCell>
<TableCell style={headStyle} align="center">
Status Pengiriman
</TableCell>
{/* <TableCell style={headStyle} align="center">
Aksi
</TableCell> */}
</TableRow>
</TableBody>
{dataTableIsLoading ? (