|
|
|
@@ -22,13 +22,14 @@ class Invoices(List): |
|
|
|
Translate -- whether to use english translations for various text blocks |
|
|
|
""" |
|
|
|
data_template = """\ |
|
|
|
Item:Description|Amount|Unit|Rate |
|
|
|
Issued: |
|
|
|
Delivered: |
|
|
|
Due: |
|
|
|
ItemHeading: Faktúrujeme Vám za služby podľa Rámcovej zmluvy |
|
|
|
Item: Description|Amount|Unit|Rate |
|
|
|
Issued: {0} |
|
|
|
Delivered: {0} |
|
|
|
Due: |
|
|
|
Advance: 0 |
|
|
|
""" |
|
|
|
Translate: 0 |
|
|
|
""".format(datetime.datetime.today().strftime("%Y-%m-%d")) |
|
|
|
_directory = "income" |
|
|
|
_regex = re.compile("^(?P<date>[0-9]{8})-(?P<number>[0-9]{3})-(?P<company_name>[a-z0-9-]+)$") |
|
|
|
_template = "{date}-{number:03}-{company_name}" |
|
|
|
|