Support new version of Amazon order details header. Fixes #1721
This commit is contained in:
parent
45de52d84d
commit
47489db73b
1 changed files with 2 additions and 1 deletions
|
|
@ -145,7 +145,8 @@ class OrderNewPage(OrderPage):
|
|||
def date_num(self):
|
||||
return u' '.join(self.doc.xpath(
|
||||
'//span[@class="order-date-invoice-item"]/text()'
|
||||
)).replace('\n', '')
|
||||
) or self.doc.xpath(
|
||||
'//*[contains(text(),"Ordered on")]/text()')).replace('\n', '')
|
||||
|
||||
def tax(self):
|
||||
return self.amount(u'Estimated tax to be collected')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue