Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3fcc7955

Von Bernd Bleßmann vor 12 Monaten hinzugefügt

  • ID 3fcc7955aa6d72b71f2ad1a91b1b8bea11143d50
  • Vorgänger a1cd7d5e
  • Nachfolger e4911f7f

Auftrags-Eingang: Schnellsuche

Unterschiede anzeigen:

SL/DB/Manager/Order.pm
31 31
  return (and => [ "!${prefix}customer_id" => undef,         "${prefix}quotation" => 1                       ]) if $type eq 'sales_quotation';
32 32
  return (and => [ "!${prefix}vendor_id"   => undef,         "${prefix}quotation" => 1                       ]) if $type eq 'request_quotation';
33 33
  return (and => [ "!${prefix}customer_id" => undef,         "${prefix}intake"    => 1                       ]) if $type eq 'sales_order_intake';
34
  return (and => [ "!${prefix}customer_id" => undef, or => [ "${prefix}quotation" => 0, "${prefix}quotation" => undef ] ]) if $type eq 'sales_order';
34
  return (and => [ "!${prefix}customer_id" => undef, or => [ "${prefix}quotation" => 0, "${prefix}quotation" => undef ], "${prefix}intake" => 0 ]) if $type eq 'sales_order';
35 35
  return (and => [ "!${prefix}vendor_id"   => undef, or => [ "${prefix}quotation" => 0, "${prefix}quotation" => undef ] ]) if $type eq 'purchase_order';
36 36

  
37 37
  die "Unknown type $type";

Auch abrufbar als: Unified diff