Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6e196d1c

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID 6e196d1c8e8ce3feca109011223df9d118e39790
  • Vorgänger a4bd790b
  • Nachfolger 044d72e2

Anzahlungs-Rg.: Kosmetik: Einrückung/Ausrichtung

Unterschiede anzeigen:

SL/Form.pm
1084 1084
  local $::locale = Locale->new($self->{recipient_locale});
1085 1085

  
1086 1086
  my %formname_translations = (
1087
    bin_list                => $main::locale->text('Bin List'),
1088
    credit_note             => $main::locale->text('Credit Note'),
1089
    invoice                 => $main::locale->text('Invoice'),
1090
    invoice_copy            => $main::locale->text('Invoice Copy'),
1087
    bin_list                    => $main::locale->text('Bin List'),
1088
    credit_note                 => $main::locale->text('Credit Note'),
1089
    invoice                     => $main::locale->text('Invoice'),
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'),
1093
    pick_list               => $main::locale->text('Pick List'),
1094
    proforma                => $main::locale->text('Proforma Invoice'),
1095
    purchase_order          => $main::locale->text('Purchase Order'),
1096
    request_quotation       => $main::locale->text('RFQ'),
1097
    sales_order             => $main::locale->text('Confirmation'),
1098
    sales_quotation         => $main::locale->text('Quotation'),
1099
    storno_invoice          => $main::locale->text('Storno Invoice'),
1100
    sales_delivery_order    => $main::locale->text('Delivery Order'),
1101
    purchase_delivery_order => $main::locale->text('Delivery Order'),
1102
    dunning                 => $main::locale->text('Dunning'),
1103
    dunning1                => $main::locale->text('Payment Reminder'),
1104
    dunning2                => $main::locale->text('Dunning'),
1105
    dunning3                => $main::locale->text('Last Dunning'),
1106
    dunning_invoice         => $main::locale->text('Dunning Invoice'),
1107
    letter                  => $main::locale->text('Letter'),
1108
    ic_supply               => $main::locale->text('Intra-Community supply'),
1109
    statement               => $main::locale->text('Statement'),
1092
    final_invoice               => $main::locale->text('Final Invoice'),
1093
    pick_list                   => $main::locale->text('Pick List'),
1094
    proforma                    => $main::locale->text('Proforma Invoice'),
1095
    purchase_order              => $main::locale->text('Purchase Order'),
1096
    request_quotation           => $main::locale->text('RFQ'),
1097
    sales_order                 => $main::locale->text('Confirmation'),
1098
    sales_quotation             => $main::locale->text('Quotation'),
1099
    storno_invoice              => $main::locale->text('Storno Invoice'),
1100
    sales_delivery_order        => $main::locale->text('Delivery Order'),
1101
    purchase_delivery_order     => $main::locale->text('Delivery Order'),
1102
    dunning                     => $main::locale->text('Dunning'),
1103
    dunning1                    => $main::locale->text('Payment Reminder'),
1104
    dunning2                    => $main::locale->text('Dunning'),
1105
    dunning3                    => $main::locale->text('Last Dunning'),
1106
    dunning_invoice             => $main::locale->text('Dunning Invoice'),
1107
    letter                      => $main::locale->text('Letter'),
1108
    ic_supply                   => $main::locale->text('Intra-Community supply'),
1109
    statement                   => $main::locale->text('Statement'),
1110 1110
  );
1111 1111

  
1112 1112
  $main::lxdebug->leave_sub();
......
1133 1133

  
1134 1134
  my $prefix =
1135 1135
      (first { $self->{type} eq $_ } qw(invoice invoice_for_advance_payment final_invoice credit_note)) ? 'inv'
1136
    : ($self->{type} =~ /_quotation$/)                        ? 'quo'
1137
    : ($self->{type} =~ /_delivery_order$/)                   ? 'do'
1138
    : ($self->{type} =~ /letter/)                             ? 'letter'
1139
    :                                                           'ord';
1136
    : ($self->{type} =~ /_quotation$/)                                                                  ? 'quo'
1137
    : ($self->{type} =~ /_delivery_order$/)                                                             ? 'do'
1138
    : ($self->{type} =~ /letter/)                                                                       ? 'letter'
1139
    :                                                                                                     'ord';
1140 1140

  
1141 1141
  # better default like this?
1142 1142
  # : ($self->{type} =~ /(sales|purcharse)_order/           :  'ord';

Auch abrufbar als: Unified diff