GithubHelp home page GithubHelp logo

billing-code-test's Introduction

Billing Code Test Instructions

  • create a mysql database with utf8_general_ci encoding

  • import sample data

  • write a php program which reads the sample data in the database and writes one json to the screen for each record in the customer_to_invoice table (reference the lines_to_invoice table to write the "line_items" portion of the JSON).

  • assume the following: -- the following JSON fields come from the sample data in the database: customer_id, description, rate -- the following JSON fields have constant values as set in the sample JSON: item_id, name, unit, tax_id, notes, quantity -- "item_order" field in JSON is an incremented number per json -- other JSON fields can be blank or set as the sample JSON indicates. -- the device_serial_number field in the lines_to_invoice table is used as a key but is not required in the JSON.

  • send us the completed php code so we can run it in an XAMPP/MAMP environment and connect it to our sample data using a mysql table.

billing-code-test's People

Contributors

denisolvr avatar

Watchers

 avatar  avatar

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.