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