Revision 8f140730
Von Kivitendo Admin vor mehr als 7 Jahren hinzugefügt
SL/Dev/Payment.pm | ||
---|---|---|
88 | 88 |
Create payment terms. |
89 | 89 |
|
90 | 90 |
Minimal example with default values (30days, 5% skonto within 5 days): |
91 |
my $payment_terms = SL::Dev::Record::create_payment_terms;
|
|
91 |
my $payment_terms = SL::Dev::Payment::create_payment_terms;
|
|
92 | 92 |
|
93 | 93 |
=head2 C<create_bank_account %PARAMS> |
94 | 94 |
|
95 | 95 |
Required params: chart_id |
96 | 96 |
|
97 | 97 |
Example: |
98 |
my $bank_account = SL::Dev::Record::create_bank_account(chart_id => SL::DB::Manager::Chart->find_by(description => 'Bank')->id);
|
|
98 |
my $bank_account = SL::Dev::Payment::create_bank_account(chart_id => SL::DB::Manager::Chart->find_by(description => 'Bank')->id);
|
|
99 | 99 |
|
100 | 100 |
=head2 C<create_bank_transaction %PARAMS> |
101 | 101 |
|
... | ... | |
115 | 115 |
values for sales and purchases. |
116 | 116 |
|
117 | 117 |
Example: |
118 |
my $payment_terms = SL::Dev::Record::create_payment_terms;
|
|
118 |
my $payment_terms = SL::Dev::Payment::create_payment_terms;
|
|
119 | 119 |
my $bank_chart = SL::DB::Manager::Chart->find_by(description => 'Bank'); |
120 |
my $bank_account = SL::Dev::Record::create_bank_account(chart_id => $bank_chart->id);
|
|
120 |
my $bank_account = SL::Dev::Payment::create_bank_account(chart_id => $bank_chart->id);
|
|
121 | 121 |
my $customer = SL::Dev::CustomerVendor::create_customer(iban => 'DE12500105170648489890', |
122 | 122 |
bank_code => 'abc', |
123 | 123 |
account_number => '44444', |
Auch abrufbar als: Unified diff
SL/Dev/Payment.pm - Doku angepasst