Python ZVT 700 interface (electronic cash registers)
Find a file
Gabor Guzmics 0d3e91684b ECR:
- added a guess of the terminal-id at registration. saved as .terminal_id
 - added a helper function to retrieve an end-of-day information dictionary from history.
 - modified end-of-day itself to fallback on this information if the daylog is empty
 - added the variable daylog_template to store a string representation of the receipt to be used to create a receipt
 - so basicly end-of-day now falls back to .daylog_template % "status packet information"
 - if this fails, it logs an error, prints a traceback, but does not raise exceptions

base_packets:
 - modified status information with a custom function to represent end-of-day information in a dictionary.
 - you want to use float-<creditcardtype> mostly for your data (representation in euros/main currency)
 - number-<creditcardtype> is the number of payments, turnover-<creditcardtype> the value in cents/base level of currency.
 - since this packet does not use terminal-id unfortunately in most testing machines, you might want to use ECR._end_of_day_info_packet instead.

bmp:
 - only added convenience functions.

transport_serial:
 - added transport-timeout exception
2014-02-04 17:08:19 +01:00
packets ECR: 2014-02-04 17:08:19 +01:00
tests initial commit 2013-07-29 16:49:55 +02:00
transmission ECR: 2014-02-04 17:08:19 +01:00
__init__.py initial commit 2013-07-29 16:49:55 +02:00
common.py initial commit 2013-07-29 16:49:55 +02:00
conv.py initial commit 2013-07-29 16:49:55 +02:00
crc.py initial commit 2013-07-29 16:49:55 +02:00
ecr.py ECR: 2014-02-04 17:08:19 +01:00
LICENSE Initial commit 2013-07-26 12:06:32 -07:00
README.md Initial commit 2013-07-26 12:06:32 -07:00
test_pt.py initial commit 2013-07-29 16:49:55 +02:00
utils.py initial commit 2013-07-29 16:49:55 +02:00

ecrterm

Python ZVT 700 interface (electronic cash registers)