From: Jason Boyer Date: Wed, 30 May 2018 14:28:51 +0000 (-0400) Subject: LP1773417: Allow empty volumes when stat cats are required X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fjboyer%2Flp1773417_holdings_view_patch_patch;p=working%2FEvergreen.git LP1773417: Allow empty volumes when stat cats are required Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index 9d6d2a4918..096e82bde6 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -447,7 +447,7 @@ ng-change="statcatUpdate(sc.id())" ng-model="working.statcats[sc.id()]" ng-options="e.id() as e.value() for e in sc.entries()" - ng-required="sc.required() == 't' && !working.statcats_multi[sc.id()]"> + ng-required="sc.required() == 't' && !(working.statcats_multi[sc.id()] || only_vols)">