Revision 66397dc3
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1089 | 1089 |
invoice => $main::locale->text('Invoice'), |
1090 | 1090 |
invoice_copy => $main::locale->text('Invoice Copy'), |
1091 | 1091 |
invoice_for_advance_payment => $main::locale->text('Invoice for Advance Payment'), |
1092 |
final_invoice => $main::locale->text('Final Invoice'), |
|
1092 | 1093 |
pick_list => $main::locale->text('Pick List'), |
1093 | 1094 |
proforma => $main::locale->text('Proforma Invoice'), |
1094 | 1095 |
purchase_order => $main::locale->text('Purchase Order'), |
... | ... | |
1131 | 1132 |
my ($self) = @_; |
1132 | 1133 |
|
1133 | 1134 |
my $prefix = |
1134 |
(first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment credit_note)) ? 'inv' |
|
1135 |
(first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment final_invoice credit_note)) ? 'inv'
|
|
1135 | 1136 |
: ($self->{type} =~ /_quotation$/) ? 'quo' |
1136 | 1137 |
: ($self->{type} =~ /_delivery_order$/) ? 'do' |
1137 | 1138 |
: ($self->{type} =~ /letter/) ? 'letter' |
... | ... | |
1170 | 1171 |
my $attachment_filename = $main::locale->unquote_special_chars('HTML', $self->get_formname_translation()); |
1171 | 1172 |
my $prefix = $self->get_number_prefix_for_type(); |
1172 | 1173 |
|
1173 |
if ($self->{preview} && (first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment credit_note))) { |
|
1174 |
if ($self->{preview} && (first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment final_invoice credit_note))) {
|
|
1174 | 1175 |
$attachment_filename .= ' (' . $recipient_locale->text('Preview') . ')' . $self->get_extension_for_format(); |
1175 | 1176 |
|
1176 | 1177 |
} elsif ($attachment_filename && $self->{"${prefix}number"}) { |
... | ... | |
2914 | 2915 |
# $main::locale->text('UNIMPORT') |
2915 | 2916 |
# $main::locale->text('invoice') |
2916 | 2917 |
# $main::locale->text('invoice_for_advance_payment') |
2918 |
# $main::locale->text('final_invoice') |
|
2917 | 2919 |
# $main::locale->text('proforma') |
2918 | 2920 |
# $main::locale->text('sales_order') |
2919 | 2921 |
# $main::locale->text('pick_list') |
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: eigener Typ for Schlussrechnung (final_invoice (F))