Revision 576b67fd
Von Moritz Bunkus vor etwa 14 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
$self->{formname} ||= $self->{type};
|
||
$self->{media} ||= 'email';
|
||
|
||
die "'media' other than 'email' or 'file' is not supported yet" unless $self->{media} =~ m/^(?:email|file)$/;
|
||
die "'media' other than 'email', 'file', 'printer' is not supported yet" unless $self->{media} =~ m/^(?:email|file|printer)$/;
|
||
|
||
# set shipto from billto unless set
|
||
my $has_shipto = any { $self->{"shipto$_"} } qw(name street zipcode city country contact);
|
Auch abrufbar als: Unified diff
$form->prepare_for_printing beherrscht auch die Ausgabe für einen Drucker