소스 검색

Simplified invoice template.

master
Pavel Šimerda 9 년 전
부모
커밋
bfa0d11075
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      lib/invoice/db/invoices.py

+ 2
- 2
lib/invoice/db/invoices.py 파일 보기

@@ -13,12 +13,12 @@ class Invoices(List):
When editing data files, you can use the following
directives:

Item -- price, followed by ':' and description
Item -- price, followed by ':', optional whitespace and item description
Due -- Due date YYYY-MM-DD
Note -- a note at the and of the invoice
"""
data_template = """\
Item: 0000: Item summary
Item:
"""
_directory = "income"
_regex = re.compile("^(?P<date>[0-9]{8})-(?P<number>[0-9]{3})-(?P<company_name>[a-z0-9-]+)$")


불러오는 중...
취소
저장