X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d975f05c964dbc034da664b156744fdb3088c2a0..8f1407300790783d456c93048bb413e040313b78:/SL/Dev/Payment.pm diff --git a/SL/Dev/Payment.pm b/SL/Dev/Payment.pm index 4e567e2ff..e1acac681 100644 --- a/SL/Dev/Payment.pm +++ b/SL/Dev/Payment.pm @@ -88,14 +88,14 @@ SL::Dev::Payment - create objects for payment-related testing, with minimal defa Create payment terms. Minimal example with default values (30days, 5% skonto within 5 days): - my $payment_terms = SL::Dev::Record::create_payment_terms; + my $payment_terms = SL::Dev::Payment::create_payment_terms; =head2 C Required params: chart_id Example: - my $bank_account = SL::Dev::Record::create_bank_account(chart_id => SL::DB::Manager::Chart->find_by(description => 'Bank')->id); + my $bank_account = SL::Dev::Payment::create_bank_account(chart_id => SL::DB::Manager::Chart->find_by(description => 'Bank')->id); =head2 C @@ -115,9 +115,9 @@ Param amount should always be relative to the absolute amount of the invoice, i. values for sales and purchases. Example: - my $payment_terms = SL::Dev::Record::create_payment_terms; + my $payment_terms = SL::Dev::Payment::create_payment_terms; my $bank_chart = SL::DB::Manager::Chart->find_by(description => 'Bank'); - my $bank_account = SL::Dev::Record::create_bank_account(chart_id => $bank_chart->id); + my $bank_account = SL::Dev::Payment::create_bank_account(chart_id => $bank_chart->id); my $customer = SL::Dev::CustomerVendor::create_customer(iban => 'DE12500105170648489890', bank_code => 'abc', account_number => '44444', @@ -143,8 +143,11 @@ To create a payment for 3 invoices that were all paid together, all with skonto: amount => ($ar1->amount_less_skonto + $ar2->amount_less_skonto + $ar2->amount_less_skonto), purpose => 'Rechnungen 20, 21, 22', ); + =head1 TODO +Nothing here yet. + =head1 BUGS Nothing here yet.