Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c4bcc898

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID c4bcc898f4db0e8cc1e2e93b4300182b991bb7c4
  • Vorgänger f781cda4
  • Nachfolger 565b77d7

Lieferantenauftragsbestätigung: Bericht

Unterschiede anzeigen:

bin/mozilla/oe.pl
84 84
  'sales_order_intake'        => 'sales_order_edit',
85 85
  'sales_order'               => 'sales_order_edit',
86 86
  'purchase_order'            => 'purchase_order_edit',
87
  'purchase_order_confirmation' => 'purchase_order_edit',
87 88
  'request_quotation'         => 'request_quotation_edit',
88 89
  'sales_quotation'           => 'sales_quotation_edit',
89 90
  'purchase_quotation_intake' => 'request_quotation_edit',
......
93 94
  'sales_order_intake'        => 'sales_order_edit       | sales_order_view',
94 95
  'sales_order'               => 'sales_order_edit       | sales_order_view',
95 96
  'purchase_order'            => 'purchase_order_edit    | purchase_order_view',
97
  'purchase_order_confirmation' => 'purchase_order_edit  | purchase_order_view',
96 98
  'request_quotation'         => 'request_quotation_edit | request_quotation_view',
97 99
  'sales_quotation'           => 'sales_quotation_edit   | sales_quotation_view',
98 100
  'purchase_quotation_intake' => 'request_quotation_edit | request_quotation_view',
......
949 951
    $form->{title}     = $locale->text('Purchase Orders');
950 952
    $form->{ordlabel}  = $locale->text('Order Number');
951 953

  
954
  } elsif ($form->{type} eq 'purchase_order_confirmation') {
955
    $form->{vc}        = 'vendor';
956
    $form->{ordnrname} = 'ordnumber';
957
    $form->{title}     = $locale->text('Purchase Order Confirmations');
958
    $form->{ordlabel}  = $locale->text('Order Number');
959

  
952 960
  } elsif ($form->{type} eq 'request_quotation') {
953 961
    $form->{vc}        = 'vendor';
954 962
    $form->{ordnrname} = 'quonumber';
......
1047 1055
  my %params   = @_;
1048 1056
  check_oe_access(with_view => 1);
1049 1057

  
1050
  my $ordnumber = ($form->{type} =~ /_order_intake$|_order$/) ? "ordnumber" : "quonumber";
1058
  my $ordnumber = ($form->{type} =~ /_order_intake$|_order$|purchase_order_confirmation/) ? "ordnumber" : "quonumber";
1051 1059

  
1052 1060
  ($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = split(/--/, $form->{ $form->{vc} });
1053 1061
  report_generator_set_default_sort('transdate', 1);
......
1094 1102
    if ($form->{type} eq 'purchase_order') {
1095 1103
      $form->{title}       = $locale->text('Purchase Orders');
1096 1104
      $attachment_basename = $locale->text('purchase_order_list');
1105
    } elsif ($form->{type} eq 'purchase_order_confirmation') {
1106
      $form->{title}       = $locale->text('Purchase Order Confirmations');
1107
      $attachment_basename = $locale->text('purchase_order_confirmation_list');
1097 1108
    } elsif ($form->{type} eq 'purchase_quotation_intake') {
1098 1109
      $form->{title}       = $locale->text('Purchase Quotation Intakes');
1099 1110
      $attachment_basename = $locale->text('purchase_quotation_intake_list');

Auch abrufbar als: Unified diff