Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Releases: NyanKiyoshi/invoice-generator

0.0.3rc4: Can now pass order object through Order model

26 Mar 02:34
Compare
Choose a tag to compare
+ Customer ID (optional) no longer shows "None" if not set.

0.0.3rc3

10 Mar 00:36
Compare
Choose a tag to compare
0.0.3rc3 Pre-release
Pre-release
Fix: added trim on blocktrans

0.0.2

20 Feb 01:43
Compare
Choose a tag to compare
  • index.html has now an indentation of 2 spaces instead of 4
  • signature changed for models.Invoice, now takes a non unpacked iterable of items
  • unittests added

Python API instead of YAML (#1)

19 Feb 20:42
a7d6b07
Compare
Choose a tag to compare

Added locales and made code easily and efficiently usable from Django

Can now be used from Python thanks to data structures instead of YAML.
Which means it can be used from django as well.

Replaced pybars3 by Django's template engine.

Made text a bit smaller.

No longer calculating totals, since they are already calculated from user's code.

Business's information and PDF page counter are now in the template file to allow easy edits.

  • Moved templates folder + localizing dates + style edits
  • ./documents/invoice/template -> ./template
  • Dates are no localized using Babel.
  • Removed wrapping in the table headers
  • Centered table headers and short data cells
  • Added localization
  • Translated to French and German.

  • Additional information can be added through the Executive model

  • Additional information are now in the bottom center

  • logo is now SVG
  • added shipping total
  • gross total is now bold
  • date to pay until can now be omitted
  • Must now specify the product's reference + discounts
  • Now showing product reference instead of the product position
  • Now showing the sum of discounts
  • Added a filter: base65, will be useful in the future in an external way.