[freeside-commits] freeside/rt/share/html/Ticket/Elements CheckMandatoryFields, NONE, 1.1
Mark Wells
mark at wavetail.420.am
Wed Sep 1 16:39:26 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Elements
In directory wavetail.420.am:/tmp/cvs-serv9525/share/html/Ticket/Elements
Added Files:
CheckMandatoryFields
Log Message:
RT mandatory custom fields, RT#9260
--- NEW FILE: CheckMandatoryFields ---
<%init>
my $TicketObj = $ARGS{'Ticket'} or return ();
my $ARGSRef = $ARGS{'ARGSRef'};
my @fields = grep { $_->Required }
@{ $TicketObj->CustomFields->ItemsArrayRef };
return grep { !defined($TicketObj->FirstCustomFieldValue($_->id)) } @fields;
</%init>
More information about the freeside-commits
mailing list