Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Invoice
  2. This is my quick and dirty invoice system I am going to use for my invoices
  3. in year 2012.
  4. The program is higly experimental and users are expected to know at least a
  5. bit of Python coding. Feedback is appreciated.
  6. Pavel imerda <pavlix@pavlix.net>
  7. ## License
  8. This version of the source code is released into public domain, future releases
  9. may adopt a BSD-like license.
  10. == Requirements
  11. * Python 3.2
  12. * python3-tempita 0.5.1
  13. * pdflatex
  14. ## Installation
  15. You don't need to install, just make a symlink to the invoice script
  16. in ~/bin or /usr/bin/local.
  17. You will need to make the following symlinks or directories in ~/.invoice/
  18. * data (the database)
  19. * data/$YEAR (current year)
  20. * tmp
  21. * output
  22. * output/$YEAR
  23. Use the code or error messages in case this list is incomplete. Use -D for
  24. debugging.
  25. ## User configuration
  26. For now an empthy ~/.invoice/config should do.
  27. ## Basic usage
  28. Export EDITOR and PDF_VIEWER environment variables to choose your favourite
  29. text editor and PDF viewer. Defaults are 'vim' and 'xdg-open'.
  30. Manage companies:
  31. invoice new-company <id>
  32. invoice edit-company <id>
  33. invoice show-company <id>
  34. invoice delete-company <id>
  35. Manage invoices:
  36. invoice new <company-id>
  37. invoice edit [<number>]
  38. invoice show [<number>]
  39. invoice delete [<number>]
  40. Generate and display invoice PDF:
  41. invoice pdf --generate [<number>]