Add support for "missing" credit in mobile receiving
This commit is contained in:
parent
12e4779093
commit
4e2125d613
|
@ -414,8 +414,8 @@ class ReceivingBatchRowViews(APIBatchRowView):
|
|||
# TODO: this seems hacky, but avoids "complex" date value parsing
|
||||
form.set_widget('expiration_date', dfwidget.TextInputWidget())
|
||||
if not form.validate():
|
||||
log.debug("form did not validate: %s",
|
||||
form.make_deform_form().error)
|
||||
log.warning("form did not validate: %s",
|
||||
form.make_deform_form().error)
|
||||
return {'error': "Form did not validate"}
|
||||
|
||||
# fetch / validate row object
|
||||
|
|
|
@ -52,6 +52,7 @@ class ReceiveRow(colander.MappingSchema):
|
|||
'received',
|
||||
'damaged',
|
||||
'expired',
|
||||
'missing',
|
||||
# 'mispick',
|
||||
]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue