Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 67a6d4d8

Von Kivitendo Admin vor etwa 1 Jahr hinzugefügt

  • ID 67a6d4d841f77980eb0a94d7d5ac5997a8cb151f
  • Vorgänger 61e77af7
  • Nachfolger 27896b34

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