From 8f1407300790783d456c93048bb413e040313b78 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Sun, 23 Apr 2017 11:23:39 +0200 Subject: [PATCH] SL/Dev/Payment.pm - Doku angepasst --- SL/Dev/Payment.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SL/Dev/Payment.pm b/SL/Dev/Payment.pm index c8943ec81..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', -- 2.20.1