prescription
This commit is contained in:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user