|
@@ -227,6 +227,7 @@ def get_order_a(items = True, discounts = True):
|
|
order = finoex.Order(
|
|
order = finoex.Order(
|
|
customer_id = u'customer',
|
|
customer_id = u'customer',
|
|
debitor_address='@home',
|
|
debitor_address='@home',
|
|
|
|
+ debitor_comment='important note',
|
|
order_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
|
|
order_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
|
|
order_id = u'id',
|
|
order_id = u'id',
|
|
platform = u'platformπ',
|
|
platform = u'platformπ',
|
|
@@ -265,6 +266,7 @@ def get_invoice(items = True, discounts = True):
|
|
creditor = u'platformπ',
|
|
creditor = u'platformπ',
|
|
debitor_id = u'customer',
|
|
debitor_id = u'customer',
|
|
debitor_address='@home',
|
|
debitor_address='@home',
|
|
|
|
+ debitor_comment='important note',
|
|
invoice_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
|
|
invoice_date = datetime.datetime(2016, 5, 8, 0, 18, 17),
|
|
invoice_id = u'id',
|
|
invoice_id = u'id',
|
|
invoice_url = 'http://example.com/invoice.pdf',
|
|
invoice_url = 'http://example.com/invoice.pdf',
|
|
@@ -394,6 +396,7 @@ reward: product
|
|
[get_order_a(), u"""!order
|
|
[get_order_a(), u"""!order
|
|
customer_id: customer
|
|
customer_id: customer
|
|
debitor_address: '@home'
|
|
debitor_address: '@home'
|
|
|
|
+debitor_comment: important note
|
|
discounts:
|
|
discounts:
|
|
- !discount
|
|
- !discount
|
|
amount: !sum '1.23 EUR'
|
|
amount: !sum '1.23 EUR'
|
|
@@ -416,6 +419,7 @@ platform_view_url: http://i.dont.know
|
|
[get_order_a(discounts = False), u"""!order
|
|
[get_order_a(discounts = False), u"""!order
|
|
customer_id: customer
|
|
customer_id: customer
|
|
debitor_address: '@home'
|
|
debitor_address: '@home'
|
|
|
|
+debitor_comment: important note
|
|
items:
|
|
items:
|
|
- !item
|
|
- !item
|
|
name: item a
|
|
name: item a
|
|
@@ -501,6 +505,7 @@ price_brutto: !sum '1.23 EUR'
|
|
[get_invoice(), u"""!invoice
|
|
[get_invoice(), u"""!invoice
|
|
creditor: platformπ
|
|
creditor: platformπ
|
|
debitor_address: '@home'
|
|
debitor_address: '@home'
|
|
|
|
+debitor_comment: important note
|
|
debitor_id: customer
|
|
debitor_id: customer
|
|
discounts:
|
|
discounts:
|
|
- !discount
|
|
- !discount
|
|
@@ -665,6 +670,7 @@ tracking_number: LX123456789CN
|
|
[get_order_a(), u"""!order
|
|
[get_order_a(), u"""!order
|
|
customer_id: customer
|
|
customer_id: customer
|
|
debitor_address: '@home'
|
|
debitor_address: '@home'
|
|
|
|
+debitor_comment: important note
|
|
discounts:
|
|
discounts:
|
|
- !discount
|
|
- !discount
|
|
amount: !sum '1.23 EUR'
|
|
amount: !sum '1.23 EUR'
|
|
@@ -718,6 +724,7 @@ route_map: null
|
|
[get_invoice(), u"""!invoice
|
|
[get_invoice(), u"""!invoice
|
|
creditor: platformπ
|
|
creditor: platformπ
|
|
debitor_address: '@home'
|
|
debitor_address: '@home'
|
|
|
|
+debitor_comment: important note
|
|
debitor_id: customer
|
|
debitor_id: customer
|
|
invoice_date: 2016-05-08T00:18:17
|
|
invoice_date: 2016-05-08T00:18:17
|
|
invoice_id: id
|
|
invoice_id: id
|