mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2024-11-17 06:19:27 +08:00
removed transaction button in the Equipment Page kay naa naman sab siyay kaugalingong navigation button sa dashboard and sidebar
This commit is contained in:
parent
2412f26809
commit
26b6bf5fbe
2 changed files with 7 additions and 40 deletions
|
@ -8,7 +8,7 @@ import NoteIcon from "@mui/icons-material/Note";
|
||||||
import { colors } from "../../../styles";
|
import { colors } from "../../../styles";
|
||||||
import ScienceIcon from "@mui/icons-material/Science";
|
import ScienceIcon from "@mui/icons-material/Science";
|
||||||
import ColorizeIcon from "@mui/icons-material/Colorize";
|
import ColorizeIcon from "@mui/icons-material/Colorize";
|
||||||
import ArticleIcon from '@mui/icons-material/Article';
|
import ArticleIcon from "@mui/icons-material/Article";
|
||||||
import Popup from "reactjs-popup";
|
import Popup from "reactjs-popup";
|
||||||
import AddItemModal from "../../AddItemModal/AddItemModal";
|
import AddItemModal from "../../AddItemModal/AddItemModal";
|
||||||
import AddSKUModal from "../../AddSKUModal/AddSKUModal";
|
import AddSKUModal from "../../AddSKUModal/AddSKUModal";
|
||||||
|
@ -98,7 +98,7 @@ export default function TechnicianEquipmentButtons() {
|
||||||
>
|
>
|
||||||
Add Item
|
Add Item
|
||||||
</p>
|
</p>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
style={{
|
style={{
|
||||||
...styles.flex_column,
|
...styles.flex_column,
|
||||||
|
@ -129,7 +129,7 @@ export default function TechnicianEquipmentButtons() {
|
||||||
>
|
>
|
||||||
Add SKU
|
Add SKU
|
||||||
</p>
|
</p>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
style={{
|
style={{
|
||||||
...styles.flex_column,
|
...styles.flex_column,
|
||||||
|
@ -161,7 +161,6 @@ export default function TechnicianEquipmentButtons() {
|
||||||
View SKUs
|
View SKUs
|
||||||
</p>
|
</p>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
@ -173,38 +172,7 @@ export default function TechnicianEquipmentButtons() {
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
style={{
|
|
||||||
...styles.flex_column,
|
|
||||||
...{
|
|
||||||
alignSelf: "center",
|
|
||||||
justifyContent: "center",
|
|
||||||
flexWrap: "wrap",
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<ArticleIcon
|
|
||||||
style={{
|
|
||||||
height: 64,
|
|
||||||
width: 64,
|
|
||||||
fill: colors.font_dark,
|
|
||||||
marginLeft: "1rem",
|
|
||||||
marginRight: "1rem",
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
|
||||||
navigate("/view/transactions");
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<p
|
|
||||||
style={{
|
|
||||||
...styles.text_dark,
|
|
||||||
...styles.text_M,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Transactions
|
|
||||||
</p>
|
|
||||||
</Button>
|
|
||||||
<Button
|
|
||||||
style={{
|
style={{
|
||||||
...styles.flex_column,
|
...styles.flex_column,
|
||||||
...{
|
...{
|
||||||
|
@ -265,7 +233,7 @@ export default function TechnicianEquipmentButtons() {
|
||||||
>
|
>
|
||||||
Miscellaneous
|
Miscellaneous
|
||||||
</p>
|
</p>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<Popup
|
<Popup
|
||||||
open={addSKUmodalOpen}
|
open={addSKUmodalOpen}
|
||||||
|
@ -285,8 +253,8 @@ export default function TechnicianEquipmentButtons() {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<AddSKUModal />
|
<AddSKUModal />
|
||||||
</Popup>
|
</Popup>
|
||||||
<Popup
|
<Popup
|
||||||
open={additemmodalOpen}
|
open={additemmodalOpen}
|
||||||
onClose={() => SetAddItemModalOpen(false)}
|
onClose={() => SetAddItemModalOpen(false)}
|
||||||
modal
|
modal
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { Button } from "@mui/material";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import ManageSearchIcon from "@mui/icons-material/ManageSearch";
|
import ManageSearchIcon from "@mui/icons-material/ManageSearch";
|
||||||
import CountertopsIcon from "@mui/icons-material/Countertops";
|
import CountertopsIcon from "@mui/icons-material/Countertops";
|
||||||
import AssessmentIcon from "@mui/icons-material/Assessment";
|
|
||||||
import styles from "../../../styles";
|
import styles from "../../../styles";
|
||||||
import { colors } from "../../../styles";
|
import { colors } from "../../../styles";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue