]> git.koha-community.org Git - koha.git/commit
Bug 34831: Add input types "tel", "email" and "url" to vendor edit form
authorOwen Leonard <oleonard@myacpl.org>
Tue, 19 Sep 2023 12:10:48 +0000 (12:10 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Oct 2023 14:43:04 +0000 (11:43 -0300)
commit474d6c7462c055c11e58986d837d8087f74562d9
tree594c583a9095f069fae94949370cd402e259734d
parent0566556cb09cd6c55eccaec4b1c0d94b48cf1c39
Bug 34831: Add input types "tel", "email" and "url" to vendor edit form

This patch updates the vendor edit form so that phone, email, and url
fields have an input type corresponding to the field's content.

To test, apply the patch and go to Acquisitions.

- Create or edit a vendor.
- In the form, check that each field looks correct:
  - Company details ->
    - Phone
    - Fax
    - Website
  - Contact details
    - Phone
    - Alternative phone
    - Fax
    - Email
  - Interfaces
    - URI
    - Account email

In a desktop browser the inputs won't display any differently, but if
you test the patch in a sandbox you can try it in a mobile device
browser to confirm that the onscreen keyboard changes based on the type
of input.

Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt