{"id":16221931,"url":"https://github.com/bajajcodes/cash-register-manager","last_synced_at":"2026-04-20T19:31:04.796Z","repository":{"id":115439997,"uuid":"404809315","full_name":"bajajcodes/cash-register-manager","owner":"bajajcodes","description":"Cash register app tells how much amount to be returned and minimum number of notes to be returned to the customer against cash given for bill amount.","archived":false,"fork":false,"pushed_at":"2021-09-25T12:12:01.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T00:46:04.449Z","etag":null,"topics":["css","html","javascript"],"latest_commit_sha":null,"homepage":"https://cash-rm.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bajajcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-09-09T17:18:33.000Z","updated_at":"2021-09-25T12:12:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"709acb9f-9bac-4972-8ac6-0e10b806ce83","html_url":"https://github.com/bajajcodes/cash-register-manager","commit_stats":null,"previous_names":["bajajcodes/cash-register-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bajajcodes/cash-register-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajajcodes%2Fcash-register-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajajcodes%2Fcash-register-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajajcodes%2Fcash-register-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajajcodes%2Fcash-register-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bajajcodes","download_url":"https://codeload.github.com/bajajcodes/cash-register-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajajcodes%2Fcash-register-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267718922,"owners_count":24133466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","html","javascript"],"created_at":"2024-10-10T12:10:27.651Z","updated_at":"2026-04-20T19:31:04.784Z","avatar_url":"https://github.com/bajajcodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cash Register Manager\n\n## List of Contents\n- Description\n- Input\n- Output\n- Processing\n- Screenshots\n- Link \n\n\u003e **Description:**  Ever encountered situation where have to return change with least number of notes(denominations) against bill amount instantly, then this app will help, enter bill amount and cash given, and get to know least number of notes to return(in table format). This app works on indian currency system. Click on the link below to check least number of notes to return.\n\n\u003cbr\u003e\n\n\u003e **Input:** User has to enter bill amount and cash given to check number of notes to return. A user cannot pass any of the inputs empty, zero, negative and floating-point, if does then user is informed with desired message. User entered cash given has to be greater than or equal to entered bill amount, if not then user is informed with the appropriate message.\n\n\u003cbr\u003e\n\n\u003e **Output:** User will get to know number of notes to return in table format starting from note 2000, 500, 100, 20, 10, 5 to note 1 according to indian currency system. In Mobile devices output table will be displayed in vertical direction as number of rows will become column and column will become rows.\n\n\u003cbr\u003e\n\n\u003e **Processing:**\n- Get bill amount from the user and check for input constraints such as not empty, not zero, not negative and not floating point.\n- After that user has to click on `Next` button, then function `nextBtnListener` is called which checks for input constraints on bill amount using function `check amount` then the `Check Cash` button is toggled and `Next` button hidden.\n- Get cash given from the user and check for input constraints such as not empty, not zero, not negative and not floating point.\n- After that user has to click on `Check Cash` button, then function `checkBtnListener` is called which checks for input constraints on bill amount using function `check amount` then amount to be returned is calculated and then function `calculateChange` is called which calculates least number of notes to be returned and with the help of helper function it displays return change table.\n- On error message `return change table` is hidden and on reload `Check Cash` button is hidden.\n\n\u003cbr\u003e\n\n\u003e **Screenshots:**\n\n![App home page ](https://github.com/shmbajaj/cash-register-manager/blob/main/screenshots/home.png?raw=true)\n![User entered bill amount and clicked on next button](https://github.com/shmbajaj/cash-register-manager/blob/main/screenshots/io_bill.png?raw=true)\n![User eneterd cash given anc clicke on check cash button](https://github.com/shmbajaj/cash-register-manager/blob/main/screenshots/io_cash.png?raw=true)\n![Input constraint voilated, cash amount cannot be floating point number](https://github.com/shmbajaj/cash-register-manager/blob/main/screenshots/message_error_1.png?raw=true)\n![Input constraint voilated, bill amount cannot be zero](https://github.com/shmbajaj/cash-register-manager/blob/main/screenshots/message_error_2.png?raw=true)\n\n\u003cbr\u003e\n\n\u003e **Link:** [Cash Register Manager](https://cash-rm.netlify.app/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbajajcodes%2Fcash-register-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbajajcodes%2Fcash-register-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbajajcodes%2Fcash-register-manager/lists"}