Subversion Repositories PEEPS

Rev

Rev 47 | Rev 53 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47 Rev 50
Line 51... Line 51...
51
           "It's unclear which league you are attempting to cover.",
51
           "It's unclear which league you are attempting to cover.",
52
           "Viewed Attestation page for league coverage without valid league_id.");
52
           "Viewed Attestation page for league coverage without valid league_id.");
53
  }
53
  }
Line 54... Line 54...
54
  
54
  
55
  ## Only Leauge Admins should be purchasing league type polcies
55
  ## Only Leauge Admins should be purchasing league type polcies
56
#  use tableViewer qw/ notInArray /;
56
  use tableViewer;
57
  if (tableViewer::notInArray ($league_id, isLeagueAdmin ($user->{person_id}))) {
57
  if (notInArray ($league_id, isLeagueAdmin ($user->{person_id}))) {
58
    ERROR ("Not a League Admin [$league_id]",
58
    ERROR ("Not a League Admin [$league_id]",
59
           "You must be a League Admin to purchase insurance for the league.",
59
           "You must be a League Admin to purchase insurance for the league.",
60
           "Viewed Attestation page for league coverage but not a league admin.");
60
           "Viewed Attestation page for league coverage but not a league admin.");