Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2f596686

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 2f5966862cdf3c9963ad452ae69bdc38ff7d5002
  • Vorgänger ab09ebd1
  • Nachfolger 26f0cb2a

Angebots-Eingang: Bericht

Unterschiede anzeigen:

SL/OE.pm
82 82
    $quotation = '1';
83 83
    $ordnumber = 'quonumber';
84 84

  
85
  } elsif ($form->{type} eq 'purchase_quotation_intake') {
86
    $intake = '1';
87
    $quotation = '1';
88
    $ordnumber = 'quonumber';
89

  
85 90
  } elsif ($form->{type} =~ /_order_intake$/) {
86 91
    $intake = '1';
87 92

  
bin/mozilla/oe.pl
81 81
# $locale->text('Workflow sales_quotation');
82 82

  
83 83
my $oe_access_map = {
84
  'sales_order_intake' => 'sales_order_edit',
85
  'sales_order'        => 'sales_order_edit',
86
  'purchase_order'     => 'purchase_order_edit',
87
  'request_quotation'  => 'request_quotation_edit',
88
  'sales_quotation'    => 'sales_quotation_edit',
84
  'sales_order_intake'        => 'sales_order_edit',
85
  'sales_order'               => 'sales_order_edit',
86
  'purchase_order'            => 'purchase_order_edit',
87
  'request_quotation'         => 'request_quotation_edit',
88
  'sales_quotation'           => 'sales_quotation_edit',
89
  'purchase_quotation_intake' => 'request_quotation_edit',
89 90
};
90 91

  
91 92
my $oe_view_access_map = {
92
  'sales_order_intake' => 'sales_order_edit       | sales_order_view',
93
  'sales_order'        => 'sales_order_edit       | sales_order_view',
94
  'purchase_order'     => 'purchase_order_edit    | purchase_order_view',
95
  'request_quotation'  => 'request_quotation_edit | request_quotation_view',
96
  'sales_quotation'    => 'sales_quotation_edit   | sales_quotation_view',
93
  'sales_order_intake'        => 'sales_order_edit       | sales_order_view',
94
  'sales_order'               => 'sales_order_edit       | sales_order_view',
95
  'purchase_order'            => 'purchase_order_edit    | purchase_order_view',
96
  'request_quotation'         => 'request_quotation_edit | request_quotation_view',
97
  'sales_quotation'           => 'sales_quotation_edit   | sales_quotation_view',
98
  'purchase_quotation_intake' => 'request_quotation_edit | request_quotation_view',
97 99
};
98 100

  
99 101
sub check_oe_access {
......
953 955
    $form->{title}     = $locale->text('Request for Quotations');
954 956
    $form->{ordlabel}  = $locale->text('RFQ Number');
955 957

  
958
  } elsif ($form->{type} eq 'purchase_quotation_intake') {
959
    $form->{vc}        = 'vendor';
960
    $form->{ordnrname} = 'quonumber';
961
    $form->{title}     = $locale->text('Purchase Quotation Intakes');
962
    $form->{ordlabel}  = $locale->text('Quotation Number');
963

  
956 964
  } elsif ($form->{type} eq 'sales_order_intake') {
957 965
    $form->{vc}        = 'customer';
958 966
    $form->{ordnrname} = 'ordnumber';
......
1084 1092
    if ($form->{type} eq 'purchase_order') {
1085 1093
      $form->{title}       = $locale->text('Purchase Orders');
1086 1094
      $attachment_basename = $locale->text('purchase_order_list');
1095
    } elsif ($form->{type} eq 'purchase_quotation_intake') {
1096
      $form->{title}       = $locale->text('Purchase Quotation Intakes');
1097
      $attachment_basename = $locale->text('purchase_quotation_intake_list');
1087 1098
    } else {
1088 1099
      $form->{title}       = $locale->text('Request for Quotations');
1089 1100
      $attachment_basename = $locale->text('rfq_list');

Auch abrufbar als: Unified diff