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,
|
||||
});
|
||||
}
|
||||
props.setOpen(false);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue