salesking / salesking_php_sdk Goto Github PK
View Code? Open in Web Editor NEWPHP Rock'n Roll with SalesKing API
License: MIT License
PHP Rock'n Roll with SalesKing API
License: MIT License
I retrieve invoices from the API via the /api/invoices endpoint.
The validation (integer) for the due_days field fails and an exception is thrown if the due_days field of an invoice is a negative number in the response.
Negative due_days values are possible because there is no validation in the Salesking webinterface that disallows setting a due date prior to the invoice date.
As a workaround, I fixed it by changing the schema to "number" for the due_days field.
I think the Salesking webinterface validation should be updated, but the API validation as well for all records where due_days results in a negative now (before the webinterface change).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.