-
-
Save amiri/6ae3e2944e9aee5a5fe23a9bedae859d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub _build_default_tcpa_acknowledgment_copy_obj { | |
my $self = shift; | |
+ | |
return unless $self->tcpa_placement; | |
+ | |
+ my $tcpa_placement = $self->tcpa_placement; | |
+ | |
+ my $placements_16969 = set(qw( | |
+ non_partner_college | |
+ programs | |
+ )); | |
+ | |
+ if ( $placements_16969->includes($tcpa_placement) | |
+ and $self->_qualifies_for_testgroup_16969 | |
+ and $self->testgroup_16969 == 2 | |
+ ) { | |
+ $tcpa_placement = "${tcpa_placement}-16969"; | |
+ } | |
+ | |
return $self->schema->resultset('TcpaAcknowledgmentCopy')->default_copy_obj({ | |
- placement => $self->tcpa_placement, | |
+ placement => $tcpa_placement, | |
}); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment