Revision 858daa32
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1088 | 1088 |
credit_note => $main::locale->text('Credit Note'), |
1089 | 1089 |
invoice => $main::locale->text('Invoice'), |
1090 | 1090 |
invoice_copy => $main::locale->text('Invoice Copy'), |
1091 |
invoice_for_advance_payment => $main::locale->text('Invoice for Advance Payment'), |
|
1091 | 1092 |
pick_list => $main::locale->text('Pick List'), |
1092 | 1093 |
proforma => $main::locale->text('Proforma Invoice'), |
1093 | 1094 |
purchase_order => $main::locale->text('Purchase Order'), |
... | ... | |
1130 | 1131 |
my ($self) = @_; |
1131 | 1132 |
|
1132 | 1133 |
my $prefix = |
1133 |
(first { $self->{type} eq $_ } qw(invoice credit_note)) ? 'inv' |
|
1134 |
(first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment credit_note)) ? 'inv'
|
|
1134 | 1135 |
: ($self->{type} =~ /_quotation$/) ? 'quo' |
1135 | 1136 |
: ($self->{type} =~ /_delivery_order$/) ? 'do' |
1136 | 1137 |
: ($self->{type} =~ /letter/) ? 'letter' |
... | ... | |
1169 | 1170 |
my $attachment_filename = $main::locale->unquote_special_chars('HTML', $self->get_formname_translation()); |
1170 | 1171 |
my $prefix = $self->get_number_prefix_for_type(); |
1171 | 1172 |
|
1172 |
if ($self->{preview} && (first { $self->{type} eq $_ } qw(invoice credit_note))) { |
|
1173 |
if ($self->{preview} && (first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment credit_note))) {
|
|
1173 | 1174 |
$attachment_filename .= ' (' . $recipient_locale->text('Preview') . ')' . $self->get_extension_for_format(); |
1174 | 1175 |
|
1175 | 1176 |
} elsif ($attachment_filename && $self->{"${prefix}number"}) { |
... | ... | |
2912 | 2913 |
# $main::locale->text('UNDO TRANSFER') |
2913 | 2914 |
# $main::locale->text('UNIMPORT') |
2914 | 2915 |
# $main::locale->text('invoice') |
2916 |
# $main::locale->text('invoice_for_advance_payment') |
|
2915 | 2917 |
# $main::locale->text('proforma') |
2916 | 2918 |
# $main::locale->text('sales_order') |
2917 | 2919 |
# $main::locale->text('pick_list') |
SL/Helper/PrintOptions.pm | ||
---|---|---|
69 | 69 |
($form->{type} eq 'invoice' && $form->{storno}) ? ( |
70 | 70 |
opthash("storno_invoice", $form->{PD}{storno_invoice}, $locale->text('Storno Invoice')), |
71 | 71 |
) : undef, |
72 |
($form->{type} eq 'invoice_for_advance_payment') ? ( |
|
73 |
opthash("invoice_for_advance_payment", $form->{PD}{invoice_for_advance_payment}, $locale->text('Invoice for Advance Payment')), |
|
74 |
) : undef, |
|
72 | 75 |
($form->{type} =~ /_delivery_order$/) ? ( |
73 | 76 |
opthash($form->{type}, $form->{PD}{$form->{type}}, $locale->text('Delivery Order')), |
74 | 77 |
opthash('pick_list', $form->{PD}{pick_list}, $locale->text('Pick List')), |
bin/mozilla/io.pl | ||
---|---|---|
1205 | 1205 |
if ($form->{formname} eq "invoice") { |
1206 | 1206 |
$form->{label} = $locale->text('Invoice'); |
1207 | 1207 |
} |
1208 |
|
|
1209 |
if ($form->{formname} eq "invoice_for_advance_payment") { |
|
1210 |
$form->{label} = $locale->text('Invoice for Advance Payment'); |
|
1211 |
} |
|
1212 |
|
|
1208 | 1213 |
if ($form->{formname} eq 'sales_order') { |
1209 | 1214 |
$inv = "ord"; |
1210 | 1215 |
$due = "req"; |
... | ... | |
1302 | 1307 |
} |
1303 | 1308 |
|
1304 | 1309 |
$form->{TEMPLATE_DRIVER_OPTIONS} = { }; |
1305 |
if (any { $form->{type} eq $_ } qw(sales_quotation sales_order sales_delivery_order invoice request_quotation purchase_order purchase_delivery_order credit_note)) { |
|
1310 |
if (any { $form->{type} eq $_ } qw(sales_quotation sales_order sales_delivery_order invoice invoice_for_advance_payment request_quotation purchase_order purchase_delivery_order credit_note)) {
|
|
1306 | 1311 |
$form->{TEMPLATE_DRIVER_OPTIONS}->{variable_content_types} = $form->get_variable_content_types(); |
1307 | 1312 |
} |
1308 | 1313 |
|
bin/mozilla/is.pl | ||
---|---|---|
249 | 249 |
|
250 | 250 |
} elsif ($form->{type} eq "invoice_for_advance_payment") { |
251 | 251 |
$form->{type} = "invoice_for_advance_payment"; |
252 |
$form->{formname} = "invoice_for_advance_payment"; |
|
252 | 253 |
|
253 | 254 |
} elsif ($form->{formname} eq "proforma" ) { |
254 | 255 |
$form->{type} = "invoice"; |
locale/de/all | ||
---|---|---|
1854 | 1854 |
'Invoice email and Contact Person' => 'E-Mail des Rechnungsempfängers und CC an Ansprechpartner', |
1855 | 1855 |
'Invoice email settings' => 'E-Mail Rechnungsversand', |
1856 | 1856 |
'Invoice filter' => 'Rechnungsfilter', |
1857 |
'Invoice for Advance Payment' => 'Anzahlungsrechnung', |
|
1857 | 1858 |
'Invoice for Advance Payment (one letter abbreviation)' => 'A', |
1858 | 1859 |
'Invoice for Advance Payment with Storno (abbreviation)' => 'A(S)', |
1859 | 1860 |
'Invoice for fees' => 'Rechnung über Gebühren', |
... | ... | |
4386 | 4387 |
'internal error (see details)' => 'Interner Fehler (siehe Details)!', |
4387 | 4388 |
'invoice' => 'Rechnung', |
4388 | 4389 |
'invoice mode or item mode' => 'Rechnungsmodus oder Artikelmodus', |
4390 |
'invoice_for_advance_payment' => 'Anzahlungsrechnung', |
|
4389 | 4391 |
'invoice_list' => 'debitorenbuchungsliste', |
4390 | 4392 |
'is' => 'ist', |
4391 | 4393 |
'is after' => 'ist nach dem', |
locale/en/all | ||
---|---|---|
1854 | 1854 |
'Invoice email and Contact Person' => '', |
1855 | 1855 |
'Invoice email settings' => '', |
1856 | 1856 |
'Invoice filter' => '', |
1857 |
'Invoice for Advance Payment' => '', |
|
1857 | 1858 |
'Invoice for Advance Payment (one letter abbreviation)' => '', |
1858 | 1859 |
'Invoice for Advance Payment with Storno (abbreviation)' => '', |
1859 | 1860 |
'Invoice for fees' => '', |
... | ... | |
4385 | 4386 |
'internal error (see details)' => '', |
4386 | 4387 |
'invoice' => '', |
4387 | 4388 |
'invoice mode or item mode' => '', |
4389 |
'invoice_for_advance_payment' => '', |
|
4388 | 4390 |
'invoice_list' => '', |
4389 | 4391 |
'is' => '', |
4390 | 4392 |
'is after' => '', |
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: Drucken können