MT#13903 Add package_id to voucher API.

Change-Id: I02ac5593d7f2e5055c46d93ec1f8492c0d80bc94
changes/60/2260/1
Andreas Granig 10 years ago committed by Rene Krenn
parent 9a9d5772ce
commit 0cc70a0006

@ -52,6 +52,15 @@ has_field 'customer' => (
},
);
has_field 'package_id' => (
type => 'PosInteger',
required => 1,
element_attr => {
rel => ['tooltip'],
title => ['The package this voucher belongs to.']
},
);
sub validate_valid_until {
my ($self, $field) = @_;

Loading…
Cancel
Save