View | Details | Raw Unified | Return to bug 20144
Collapse All | Expand All

(-)a/C4/Serials/Numberpattern.pm (+1 lines)
Lines 139-144 sub AddSubscriptionNumberpattern { Link Here
139
        return;
139
        return;
140
    }
140
    }
141
141
142
    # FIXME label, description and numberingmethod must be mandatory
142
    my @keys;
143
    my @keys;
143
    my @values;
144
    my @values;
144
    foreach (qw/ label description numberingmethod displayorder
145
    foreach (qw/ label description numberingmethod displayorder
(-)a/t/db_dependent/AdditionalField.t (-1 / +1 lines)
Lines 125-130 my $budget_id = AddBudget({ Link Here
125
my $frequency_id = AddSubscriptionFrequency({ description => "Test frequency 1" });
125
my $frequency_id = AddSubscriptionFrequency({ description => "Test frequency 1" });
126
my $pattern_id = AddSubscriptionNumberpattern({
126
my $pattern_id = AddSubscriptionNumberpattern({
127
    label => 'Test numberpattern 1',
127
    label => 'Test numberpattern 1',
128
    description => 'Description for numberpattern 1',
128
    numberingmethod => '{X}'
129
    numberingmethod => '{X}'
129
});
130
});
130
131
131
- 

Return to bug 20144