Change the document_count field to a text box for legalisation

For legalisation transactions, change the document count field to
a text box, rather than a select field, so that users can enter a
quantity larger than 9.
Merge remote branch 'origin/document-count-text-field'