Invoke handler when marking batch as (in)complete
This commit is contained in:
parent
0f5d668f86
commit
a5df9a2b3d
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue