WhyNotHugo/django-afip

Draft receipts and validation helpers

WhyNotHugo opened this issue · 0 comments

  • Add a is_draft field to receipts, to allow distinguishing receipts that are "ready to validate" from those that are not.

  • raise when trying to validate a receipt where is_draft=True.

  • Merge celery tasks [that do validations] from different apps and move the resulting one into this repository.

  • Bonus: Allow rendering a PDF for any receipt -- however, not-yet-validated receipts should show "DRAFT" as a number.