The form for customer received equipment will have its own type called customer
to make sure purchasing and customer forms do not affect each other.
They are very similar but the fact that they don't have the exact same fields, when editing a ticket phabricator uses only one type of form, either customer or purchasing, creating undesired side effects.
ALso improve some js validation.
cc @kov