Giter Club home page Giter Club logo

sales-distribution's Introduction

Hi, Nice to Meet You ๐Ÿ‘‹๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป

I'm Stanley Owen from Indonesia, a junior high school student passionates about programming and loves building awesome projects. Any Questions? Let's get in touch here.

Top Langs Metrics

sales-distribution's People

Contributors

dependabot[bot] avatar stanleyowen avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sales-distribution's Issues

Error in Previewing PDF

Description

Instead of previewing the desired PDF, it returns error while previewing it.
image

Steps To Reproduce

  1. Open the Invoices Tab
  2. Open the invoice and click on the Print Button
  3. See error

Expected behavior

Previews the PDF instead of showing error.

App Version

v1.2.2

Operating System Version

Windows 11 Version 22H2 (Build 22593.1)

Received `NaN` Value for UoM when Changing Existing Value to `Null`

Description

When editing an existing invoices' unit of measure (UoF), it turns out that the input field returns NaN instead of `` value when the UoF type changes from string to `null`. Here are the following error message:

react-dom.development.js:86 Warning: Received NaN for the `value` attribute. If this is expected, cast the value to a string.
    at input
    at http://localhost:3000/static/js/bundle.js:4934:66
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at InputBase (http://localhost:3000/static/js/bundle.js:15915:83)
    at Input (http://localhost:3000/static/js/bundle.js:16923:82)
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at FormControl (http://localhost:3000/static/js/bundle.js:13578:82)
    at http://localhost:3000/static/js/bundle.js:4934:66
    at TextField (http://localhost:3000/static/js/bundle.js:25484:83)
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at DialogContent (http://localhost:3000/static/js/bundle.js:11988:82)
    at form
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at Paper (http://localhost:3000/static/js/bundle.js:20176:82)
    at http://localhost:3000/static/js/bundle.js:4934:66
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at Transition (http://localhost:3000/static/js/bundle.js:77347:30)
    at Fade (http://localhost:3000/static/js/bundle.js:12790:77)
    at TrapFocus (http://localhost:3000/static/js/bundle.js:8215:5)
    at div
    at http://localhost:3000/static/js/bundle.js:4934:66
    at Portal (http://localhost:3000/static/js/bundle.js:7785:5)
    at ModalUnstyled (http://localhost:3000/static/js/bundle.js:6968:5)
    at Modal (http://localhost:3000/static/js/bundle.js:19011:82)
    at http://localhost:3000/static/js/bundle.js:4934:66
    at Dialog (http://localhost:3000/static/js/bundle.js:12404:83)
    at div
    at Items (http://localhost:3000/static/js/bundle.js:2514:74)
    at Routes (http://localhost:3000/static/js/bundle.js:77149:5)
    at Router (http://localhost:3000/static/js/bundle.js:77082:15)
    at HashRouter (http://localhost:3000/static/js/bundle.js:75925:5)
    at App
printWarning @ react-dom.development.js:86

Steps To Reproduce

  1. Open the Invoices Tab
  2. Open the invoice which have the UoF value added
  3. Delete all the UoF field
  4. See error

Expected behavior

Instead of showing a NaN value, it should return a `` value.

App Version

v1.3.1

Operating System Version

Windows 11 Version 22H2 (Build 22598.200)

Duplicate Invoice Number is Allowed

Description

Invoice Number should be unique by default, which means there should be any data with the same Invoice Number since it could basically ruin the entire system.

Steps To Reproduce

  1. Open the Home
  2. Type the same invoice number with the same invoice type
  3. No error messages were returned

Expected behavior

It should return an error message.

App Version

v1.2.0

Operating System Version

Windows 11 Version 21H2 (Build 22000.527)

Support for Required Fields

The required attribute is a boolean attribute. When present, it specifies that the element must be filled out before submitting the form. However, it turns out that these all required fields are actually not required, since users don't need to input them, however they could submit the form.

Supports for Date Invoices

Problem Description

It is necessary to provide the invoice date to make sure that the invoice details are clear.

Solution/Idea

Supports for date invoices by providing the date field.

Alternatives

Priorities

Capability Priority
Supports for Date Invoices Should

App Version

v1.3.1

Operating System Version

Windows 11 Version 22H2 (Build 22598.200)

Blank Page on Startup

Description

Electron app displays blank page on every startup on production state. Here are the error messages returned from the console:

main.c3178672.js:2 TypeError: The "path" argument must be of type string or an instance of Buffer or URL. Received null
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at new NodeError (node:internal/errors:371:5)
    at __node_internal_ (node:internal/fs/utils:670:11)
    at __node_internal_ (node:internal/fs/utils:682:3)
    at Object.readFile (node:fs:393:10)
    at Object.e.readFile (node:electron/js2c/asar_bundle:5:8850)
    at Gp (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:365123)
    at file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:387687
    at Ds (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:108700)
    at t.unstable_runWithPriority (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:134236)
    at Ko (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:49019)
    at zs (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:108161)
    at ys (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:99651)
    at file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:49242
    at t.unstable_runWithPriority (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:134236)
    at Ko (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:49019)
    at Xo (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:49187)
    at Qo (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:49122)
    at ws (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:100157)
    at au (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:114608)
    at Object.t.render (file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:122087)
    at file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:413198
    at file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:413297
    at file:///C:/Users/Stanley%20Owen%20%20VGC/AppData/Local/Programs/sd-app/resources/app.asar/build/static/js/main.c3178672.js:2:413300

Steps To Reproduce

  1. Open the app
  2. See the error

Expected behavior

Instead of displaying blank page, the electron app should show the home app.

App Version

v1.0.0

Operating System Version

Windows 11 Version 21H2 (Build 22000.527)

Additional Information

image

Support Auto Update Feature for the App

Auto update feature nowadays are widely supported included in electron, which is update-electron-app, an auto updater app which is officially built and maintained by electron.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.