Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a624a789

Von Jan Büren vor etwa 2 Jahren hinzugefügt

  • ID a624a7897ed338c204499ea3b1ccea38ea032270
  • Vorgänger 251171c1
  • Nachfolger 33ad5896

POD Anpassung für neue Parameter bei pay_invoice

Unterschiede anzeigen:

SL/DB/Helper/Payment.pm
Chart_id is the id of the payment booking chart.
Amount is either a positive or negative number, and for the case 'free_skonto' might be zero.
If the parameters currency and exchangerate exists the method will determine gain and
loss rates for exchangerates.
If the parameters fx_book is true and fx_fee_amount exists as number the method will book the costs of
foreign exchanges with a link GL Record.
CAVEAT! The helper tries to get the sign right and all calls from BankTransaction are
positive (abs($value)) values.
......
$ap->pay_invoice(chart_id => $bank->chart_id,
amount => 500,
currency => 'USD',
exchangerate => 0.9820,
transdate => DateTime->now->to_kivitendo,
memo => 'foobar',
source => 'barfoo',

Auch abrufbar als: Unified diff