Refactor "receive row" and "declare credit" tools per buefy theme
This commit is contained in:
parent
ae76ceea04
commit
10e34b83ed
10 changed files with 313 additions and 89 deletions
tailbone/api/batch
|
@ -118,11 +118,7 @@ class ReceivingBatchViews(APIBatchView):
|
|||
return {'purchases': purchases}
|
||||
|
||||
def normalize_eligible_purchase(self, purchase):
|
||||
return {
|
||||
'key': purchase.uuid,
|
||||
'department_uuid': purchase.department_uuid,
|
||||
'display': self.render_eligible_purchase(purchase),
|
||||
}
|
||||
return self.handler.normalize_eligible_purchase(purchase)
|
||||
|
||||
def render_eligible_purchase(self, purchase):
|
||||
return self.handler.render_eligible_purchase(purchase)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue