XMLExport44PaperInvoice
in package
Description of XMLExport44PaperInvoice
Tags
Table of Contents
Methods
- __construct() : mixed
- calculateMaterialPaperInvoice() : mixed
- prepare material for xml-export
- calculateResidualCostsForPaperInvoice() : mixed
- prepare services residual costs for xml-export
Methods
__construct()
public
__construct(Settings $cfg, SimpleTranslation $lang) : mixed
Parameters
- $cfg : Settings
- $lang : SimpleTranslation
calculateMaterialPaperInvoice()
prepare material for xml-export
public
calculateMaterialPaperInvoice(object &$XmlExport440, array<string|int, mixed> &$arrSpecialVariables, mixed &$materialCostUnit, int &$counterEntries, array<string|int, mixed> &$resultCostUnit, int $typeCostUnit) : mixed
Parameters
- $XmlExport440 : object
-
reference to $XmlExport440
- $arrSpecialVariables : array<string|int, mixed>
-
reference to $arrSpecialVariables with required informations
- $materialCostUnit : mixed
- $counterEntries : int
-
counter for array $resultCostUnit as reference
- $resultCostUnit : array<string|int, mixed>
-
reference to array with all calculated materials of cost unit
- $typeCostUnit : int
-
2: client, 4: Municipality, 5: cantons WITHOUT actual electronic transmission - only for paper invoice
calculateResidualCostsForPaperInvoice()
prepare services residual costs for xml-export
public
calculateResidualCostsForPaperInvoice(array<string|int, mixed> &$arrSpecialVariables, mixed &$servicesCostUnit, int &$counterEntries, array<string|int, mixed> &$resultCostUnit, type $typeCostUnit) : mixed
Parameters
- $arrSpecialVariables : array<string|int, mixed>
-
reference to $arrSpecialVariables with required informations
- $servicesCostUnit : mixed
- $counterEntries : int
-
counter for array $resultInsurance as reference
- $resultCostUnit : array<string|int, mixed>
-
reference to array with all calculated services of cost unit
- $typeCostUnit : type
-
2: client, 4: Municipality, 5: cantons WITHOUT actual electronic transmission - only for paper invoice