Overhaul desktop views for receiving, for efficiency
still could use even more i'm sure, but this takes advantage of buefy to add dialogs etc. from the "view receiving batch row" page. this batch no longer allows direct edit of rows but that's hopefully for the better.
This commit is contained in:
parent
2f676774e9
commit
340a177a29
14 changed files with 1014 additions and 157 deletions
|
@ -848,7 +848,10 @@ class Form(object):
|
|||
return ''
|
||||
|
||||
# TODO: fair bit of duplication here, should merge with deform.mako
|
||||
label = HTML.tag('label', self.get_label(field_name), for_=field_name)
|
||||
label = kwargs.get('label')
|
||||
if not label:
|
||||
label = self.get_label(field_name)
|
||||
label = HTML.tag('label', label, for_=field_name)
|
||||
field = self.render_field_value(field_name) or ''
|
||||
field_div = HTML.tag('div', class_='field', c=[field])
|
||||
contents = [label, field_div]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue