Git Product home page Git Product logo

django-cash-register's Introduction

Django cash register

https://travis-ci.org/palazzem/django-cash-register.svg?branch=master

A Django application that exposes a set of endpoints to print your receipts with supported cash registers.

Support

Coming soon.

Contributing

Coming soon.

Requirements

Coming soon.

Overview

Coming soon.

Getting started

Coming soon.

Documentation

Coming soon.

License

django-cash-register is released under the terms of the BSD license. Full details in LICENSE file.

django-cash-register's People

Contributors

palazzem avatar

Watchers

 avatar  avatar  avatar  avatar

django-cash-register's Issues

the CashRegisterAdapter expects a different payload (from the API)

The CashRegisterAdapter payload is different from the one that is sent from the Django Admin:

  • the Django Admin publishes the Receipt object after it has been saved
  • the REST API publishes a "converted" serialized object that includes exactly what the cash register library is expecting

We MUST unify the process so that:

  • in any situation, the Receipt model is sent to the Adapter instance
  • the Django Admin Receipt page is already done and doesn't need more work
  • the REST API must send the Receipt instance that has been saved by the serializer
  • the conversion logic must be moved from the API to the CashRegisterAdapter.push() method

Unless this work is done, it's not possible to use the CashRegisterAdapter (tests are invalid at the moment).

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.