Improve technician transaction view

This commit is contained in:
Keannu Bernasol 2024-01-03 17:15:02 +08:00
parent 2d59a775c1
commit 8ef4efb1d9
2 changed files with 19 additions and 4 deletions

View file

@ -67,6 +67,7 @@ export default function EditTransactionModal(props: {
remarks: transaction.data.remarks,
});
}
props.setOpen(false);
},
});

View file

@ -197,9 +197,21 @@ export default function TransactionsListPage() {
>
{transaction.remarks}
</TableCell>
<TableCell style={{ overflowY: "scroll" }} align="center">
<TableContainer component={Paper}>
<Table sx={{ minWidth: "4rem" }} size="medium">
<TableCell style={{}} align="center">
<TableContainer
style={{
maxHeight: "192px",
overflowY: "scroll",
marginTop: "2rem",
}}
component={Paper}
>
<Table
sx={{
minWidth: "4rem",
}}
size="medium"
>
<TableHead>
<TableRow
style={{ backgroundColor: colors.header_color }}
@ -218,7 +230,9 @@ export default function TransactionsListPage() {
</TableCell>
</TableRow>
</TableHead>
<TableBody>
<TableBody
sx={{ height: "4px", overflowY: "scroll" }}
>
{transaction.equipments.map((equipment) => (
<TableRow
key={equipment.id}