=head2 GetContract
-$contract = GetContract( { contractnumber => $contractnumber } );
+$contract = GetContract( { contractnumber => $contractnumber } );
Looks up the contract that has PRIMKEY (contractnumber) value $contractID
my ($params) = @_;
my $contractnumber = $params->{contractnumber};
+ return unless $contractnumber;
+
my $contracts = GetContracts({
contractnumber => $contractnumber,
});