Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

summary info data #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions dummy-data/actual-items.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
const actualItems = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the mock data files from graphql to the MSW folder in wallora.com repo

{
date: "2/2 2021",
amount: 120.00,
comment: "Egg Cheese",
tags: "",
contact: ""
},
{
date: "4/2 2021",
amount: 230.00,
comment: "Detergent",
tags: "",
contact: ""
},
{
date: "7/2 2021",
amount: 547.00,
comment: "Rice, Bread",
tags: "",
contact: ""
},
{
date: "11/2 2021",
amount: 120.00,
comment: "Cheese",
tags: "",
contact: ""
}
]
export default actualItems;
8 changes: 8 additions & 0 deletions dummy-data/current-month.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const currentMonth = [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this mock data to wallora.com too

budget: 7000.00,
spent: 646.00
}
]

export default currentMonth;
39 changes: 39 additions & 0 deletions dummy-data/planned-items.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
const plannedItems = [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this mock data too

date: "JAN 2021",
amount: 100.00,
comment: "Grocery",
tags: "Food",
contact: "Supermarket"
},
{
date: "FEB 2021",
amount: 200.00,
comment: "Grocery",
tags: "Food",
contact: "Supermarket"
},
{
date: "MAR 2021",
amount: 150.00,
comment: "Grocery",
tags: "Food",
contact: "Supermarket"
},
{
date: "APR 2021",
amount: 100.00,
comment: "Grocery",
tags: "Food",
contact: "Supermarket"
},
{
date: "MAY 2021",
amount: 200.00,
comment: "Grocery",
tags: "Food",
contact: "Supermarket"
}
]

export default plannedItems;
Loading