Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 69b5b918

Von Sven Schöling vor mehr als 16 Jahren hinzugefügt

  • ID 69b5b918fce6846162934ae897b521b508e2dfb5
  • Vorgänger 1296b869
  • Nachfolger eeb07c16

Kosmetik

Unterschiede anzeigen:

bin/mozilla/oe.pl
1045 1045

  
1046 1046
  $report->set_columns(%column_defs);
1047 1047
  $report->set_column_order(@columns);
1048

  
1049 1048
  $report->set_export_options('orders', @hidden_variables);
1050

  
1051 1049
  $report->set_sort_indicator($form->{sort}, 1);
1052 1050

  
1053 1051
  my @options;
1054
  if ($form->{customer}) {
1055
    push @options, $locale->text('Customer') . " : $form->{customer}";
1056
  }
1057
  if ($form->{vendor}) {
1058
    push @options, $locale->text('Vendor') . " : $form->{vendor}";
1059
  }
1060
  if ($form->{department}) {
1061
    ($department) = split /--/, $form->{department};
1062
    push @options, $locale->text('Department') . " : $department";
1063
  }
1064
  if ($form->{ordnumber}) {
1065
    push @options, $locale->text('Order Number') . " : $form->{ordnumber}";
1066
  }
1067
  if ($form->{notes}) {
1068
    push @options, $locale->text('Notes') . " : $form->{notes}";
1069
  }
1070
  if ($form->{transaction_description}) {
1071
    push @options, $locale->text('Transaction description') . " : $form->{transaction_description}";
1072
  }
1073
  if ($form->{transdatefrom}) {
1074
    push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{transdatefrom}, 1);
1075
  }
1076
  if ($form->{transdateto}) {
1077
    push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1);
1078
  }
1079
  if ($form->{open}) {
1080
    push @options, $locale->text('Open');
1081
  }
1082
  if ($form->{closed}) {
1083
    push @options, $locale->text('Closed');
1084
  }
1085
  if ($form->{delivered}) {
1086
    push @options, $locale->text('Delivered');
1087
  }
1088
  if ($form->{notdelivered}) {
1089
    push @options, $locale->text('Not delivered');
1090
  }
1052

  
1053
  push @options, $locale->text('Customer') . " : $form->{customer}"                                       if $form->{customer};
1054
  push @options, $locale->text('Vendor') . " : $form->{vendor}"                                           if $form->{vendor};
1055
  ($department) = split /--/, $form->{department};
1056
  push @options, $locale->text('Department') . " : $department"                                           if $form->{department};
1057
  push @options, $locale->text('Order Number') . " : $form->{ordnumber}"                                  if $form->{ordnumber};
1058
  push @options, $locale->text('Notes') . " : $form->{notes}"                                             if $form->{notes};
1059
  push @options, $locale->text('Transaction description') . " : $form->{transaction_description}"         if $form->{transaction_description};
1060
  push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{transdatefrom}, 1)  if $form->{transdatefrom};
1061
  push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1)     if $form->{transdateto};
1062
  push @options, $locale->text('Open')                                                                    if $form->{open};
1063
  push @options, $locale->text('Closed')                                                                  if $form->{closed};
1064
  push @options, $locale->text('Delivered')                                                               if $form->{delivered};
1065
  push @options, $locale->text('Not delivered')                                                           if $form->{notdelivered};
1091 1066

  
1092 1067
  $report->set_options('top_info_text'        => join("\n", @options),
1093 1068
                       'raw_top_info_text'    => $form->parse_html_template('oe/orders_top'),

Auch abrufbar als: Unified diff