mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2024-11-17 06:19:27 +08:00
Improve technician transaction view
This commit is contained in:
parent
2d59a775c1
commit
8ef4efb1d9
2 changed files with 19 additions and 4 deletions
|
@ -67,6 +67,7 @@ export default function EditTransactionModal(props: {
|
||||||
remarks: transaction.data.remarks,
|
remarks: transaction.data.remarks,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
props.setOpen(false);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -197,9 +197,21 @@ export default function TransactionsListPage() {
|
||||||
>
|
>
|
||||||
{transaction.remarks}
|
{transaction.remarks}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell style={{ overflowY: "scroll" }} align="center">
|
<TableCell style={{}} align="center">
|
||||||
<TableContainer component={Paper}>
|
<TableContainer
|
||||||
<Table sx={{ minWidth: "4rem" }} size="medium">
|
style={{
|
||||||
|
maxHeight: "192px",
|
||||||
|
overflowY: "scroll",
|
||||||
|
marginTop: "2rem",
|
||||||
|
}}
|
||||||
|
component={Paper}
|
||||||
|
>
|
||||||
|
<Table
|
||||||
|
sx={{
|
||||||
|
minWidth: "4rem",
|
||||||
|
}}
|
||||||
|
size="medium"
|
||||||
|
>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow
|
<TableRow
|
||||||
style={{ backgroundColor: colors.header_color }}
|
style={{ backgroundColor: colors.header_color }}
|
||||||
|
@ -218,7 +230,9 @@ export default function TransactionsListPage() {
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody
|
||||||
|
sx={{ height: "4px", overflowY: "scroll" }}
|
||||||
|
>
|
||||||
{transaction.equipments.map((equipment) => (
|
{transaction.equipments.map((equipment) => (
|
||||||
<TableRow
|
<TableRow
|
||||||
key={equipment.id}
|
key={equipment.id}
|
||||||
|
|
Loading…
Reference in a new issue