1.0.4 • Published 3 years ago

sales-software v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Trading account management software

Content

Trading account management software. Products according to him You can show part of the registration, sales and statistics.

For example, the user of the program is engaged in the sale of watermelons and melons. Initially, how many watermelons and how many melons are in the warehouse. Using a separate program
we determine which product is sold and how much. Dashboard software
using which products are left in the warehouse and how many are sold,
we can see its initial state. All processes are via Terminal
is performed

Using the program

you will need to install the package via npm or yard

  • Enter the command npm install sales-softwarein the terminal and install the program

Launch the package

let sales = new Sales()
let argv = process.argv
;(async () => {
    if(argv[2] === `--dep`){
        await sales.depozit(argv[3], argv[4])
    }else if(argv[2] === `-sell`){
        await sales.salesProduct(argv[3], argv[4])
    }else if(argv.length == 2){
        await sales.dashboard()
    }
})() 
  • After installing the program, you need to enter your own, name and number of your products through the terminal, let's say: In the terminal we enter the command node main and all the information about our product is displayed in the table. The dashboard stores information about all the products sold, all added products
  • Add product and edit it with deposit program: node main --dep watermelon 25
  • To sell the products we sell node main -sell watermelon 6 order and this sales change will definitely work for us

Contact me

https://t.me/suhrobabduaxatov

suhrobabduaxatov@gmail.com