Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6123f740

Von Kivitendo Admin vor etwa 1 Jahr hinzugefügt

  • ID 6123f74008d652be1023b41f16d81c5908497eb1
  • Vorgänger 4827e9c7
  • Nachfolger dd83d536

invoice_to_reclamation.t nutzt minimal_purchase_invoice

Unterschiede anzeigen:

t/workflow/invoice_to_reclamation.t
163 163
  payment_terms           => $payment_term,
164 164
  delivery_term           => $delivery_term,
165 165
  taxincluded             => 0,
166
  invoiceitems => [ SL::Dev::Record::create_invoice_item(part => $parts[0], qty =>  3, sellprice => 70),
167
                  SL::Dev::Record::create_invoice_item(part => $parts[1], qty => 10, sellprice => 50),
166
  invoiceitems => [ create_invoice_item(part => $parts[0], qty =>  3, sellprice => 70),
167
                    create_invoice_item(part => $parts[1], qty => 10, sellprice => 50),
168 168
  ]
169 169
)->load;
170 170

  
171
my $purchase_invoice = SL::Dev::Record::create_purchase_invoice(
171
my $purchase_invoice = create_minimal_purchase_invoice(
172 172
  save                    => 1,
173 173
  employee                => $employee,
174 174
  invnumber               => "t1",

Auch abrufbar als: Unified diff