Bug 32495: Mis-matched required fields in UI and api
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 9 Jan 2023 15:12:18 +0000 (15:12 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 19:47:32 +0000 (16:47 -0300)
commite1b7591effa22f787bbf175aeb170f343ce07498
treee91b873a1fc2820b718f5faaf2112ee7839e94a5
parentba84c41a88db57773716ffa40fb35a529db26e02
Bug 32495: Mis-matched required fields in UI and api

The "description" field is marked as required in the UI when creating a new Agreement. This flag has been removed to match the API where it is not a required field. Is Perpetual has not been marked as required as it is a checkbox with a default selection so will always provide a value.

Test plan:
1) In the ERM module, add a new agreement and observe that the Description field is required
2) Apply patch
3) Repeat step 1 but this time the Required flag will not be visible.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue