Tweak how purchase batch is created via mobile

to let custom apps override args etc.
This commit is contained in:
Lance Edgar 2017-05-18 11:33:01 -05:00
parent 9e0e21399b
commit f0feefc7e5
2 changed files with 14 additions and 10 deletions

View file

@ -277,7 +277,7 @@ class BatchMasterView(MasterView):
# return this object to replace the original
return batch
def get_batch_kwargs(self, batch):
def get_batch_kwargs(self, batch, mobile=False):
"""
Return a kwargs dict for use with ``self.handler.make_batch()``, using
the given batch as a template.