Logs now shows user

This commit is contained in:
keannu125 2023-03-07 22:22:04 +08:00
parent 7fa1ddcd3a
commit b5beceff5f
2 changed files with 3 additions and 5 deletions

View file

@ -20,8 +20,7 @@ export interface ProductLogEntry {
name: string; name: string;
quantity: string; quantity: string;
history_date: string; history_date: string;
history_user_id: number; history_user: string;
changed_by: string;
}; };
} }
@ -31,8 +30,7 @@ export interface ProductLog {
name: string; name: string;
quantity: string; quantity: string;
history_date: string; history_date: string;
history_user_id: number; history_user: string;
changed_by: string;
} }
// Redux Interfaces // Redux Interfaces

View file

@ -108,7 +108,7 @@ export default function Logs() {
{row.quantity} {row.quantity}
</TableCell> </TableCell>
<TableCell style={{ ...styles.text_white, ...styles.text_S }}> <TableCell style={{ ...styles.text_white, ...styles.text_S }}>
{row.changed_by} {row.history_user}
</TableCell> </TableCell>
<TableCell style={{ ...styles.text_white, ...styles.text_S }}> <TableCell style={{ ...styles.text_white, ...styles.text_S }}>
{row.history_date} {row.history_date}