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;
quantity: string;
history_date: string;
history_user_id: number;
changed_by: string;
history_user: string;
};
}
@ -31,8 +30,7 @@ export interface ProductLog {
name: string;
quantity: string;
history_date: string;
history_user_id: number;
changed_by: string;
history_user: string;
}
// Redux Interfaces

View file

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