Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Moulishankar10 committed Oct 24, 2020
1 parent 7442089 commit aa155c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def viewMonthRevenue():
rev_data = pd.read_csv('data/revenue.csv')
frmt = "{}-{}".format(today.month,today.year)
month_revenue = sum(list(rev_data[frmt]))
print("\nThe revenue generated by this month is Rs.",month_revenue)
print("\nThe revenue generated in this month is Rs.",month_revenue)

# FUNCTION TO DISPLAY THE MAXIMUM PROFIT GENERATED PRODUCTS
def maxProfit():
Expand Down Expand Up @@ -251,7 +251,7 @@ def viewRevenueGraph():
# FUNCTION TO VIEW THE STOCK INVENTORY
def viewInventory():
inv_data = pd.read_csv("data/inventory.csv")
print("\n----------------------------------------- STOCK INVENTORY -------------------------------------\n\n",inv_data.to_string(index=False))
print("\n------------------------------------------ STOCK INVENTORY ----------------------------------------\n\n",inv_data.to_string(index=False))

# FUNCTION TO ADD A NEW PRODUCT TO THE INVENTORY
def addProdInventory():
Expand Down

0 comments on commit aa155c6

Please sign in to comment.