Invoke handler when marking batch as (in)complete

This commit is contained in:
Lance Edgar 2019-02-26 18:01:27 -06:00
parent 0f5d668f86
commit a5df9a2b3d

View file

@ -499,10 +499,10 @@ class BatchMasterView(MasterView):
return self.redirect(self.get_action_url('view', batch))
def mark_batch_complete(self, batch):
batch.complete = True
self.handler.mark_complete(batch)
def mark_batch_incomplete(self, batch):
batch.complete = False
self.handler.mark_incomplete(batch)
def mobile_mark_complete(self):
batch = self.get_instance()