Class invoiceTextExport
Class invoiceTextExport
This class provides methods to list all orders, each with customer-name, turnover per month and turnover per year. Additionally it's able to show the invoice-address, the tariff and all positions, each with turnover per month.
It is build to provide a copy-and-paste interface for all dispositions to bill the rp2-data in an external program.
- rpf\system\module
- rpf\extension\extensionModule
- rpf\extension\invoiceTextExport
Package: system\extension
Copyright: 1601.production siegler&thuemmler ohg
Author: Andreas Doebeling ad@1601.com
Link: https://github.com/ADoebeling
Link: http://xing.doebeling.de
Link: https://www.1601.com
Located at extension/module/invoiceTextExport.php
Methods summary
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
#
getCertificates( string $ordNr )
Returns the ordered certificates (Doesn't takes care of validity period) |
public
array
|
#
getExchangeAccounts( string $ordNr )
Returns the ordered exchange-accounts (Doesn't takes care of evaluation/validity period) |
public static
string
|
#
getEuroFormatted( float|integer $price, string $zeroString = 'Inklusive' )
Formats float into 12.345,67 � and integer into 12.345,- � Returns $zeroString if price is NULL |
public static
string
|
#
getPriceFormatted( float $price, float $priceDefault = NULL, string $activeAccounting = 1, string $patternDiscount,…, boolean $activeAccounting,… )
Formats $price and $priceDefault as invoice-string |
Methods inherited from rpf\system\module
addModule()
,
getApi()
,
getException()
,
getExtension()
,
getModule()