Add initial support for expiration date for mobile receiving

This commit is contained in:
Lance Edgar 2017-07-03 21:07:57 -05:00
parent 4aa91414a5
commit a03083efdd
3 changed files with 34 additions and 4 deletions

View file

@ -68,6 +68,7 @@ ${h.csrf_token(request)}
${h.hidden('row', value=row.uuid)}
${h.hidden('cases')}
${h.hidden('units')}
${h.hidden('expiration_date')}
<%
uom = 'CS'
@ -104,4 +105,13 @@ ${h.hidden('units')}
</tbody>
</table>
<div data-role="popup" id="popup-receiving-expiration" data-dismissible="false" data-overlay-theme="b" class="ui-corner-all">
<div style="padding:10px 20px;">
<h3>Please provide expiration date</h3>
<input name="expiration-date" type="date" value="" placeholder="Expiration Date" />
<a href="#" class="ui-btn ui-btn-inline ui-corner-all" data-rel="back">Cancel</a>
<button type="button" class="ui-btn ui-btn-inline ui-corner-all">Submit</button>
</div>
</div>
${h.end_form()}