FacturaScripts

CalculatorModSpain extends CalculatorModClass
in package

This class implements the CalculatorModInterface for Spain.

Tags
collaborator

Daniel Fernández Giménez contacto@danielfg.es

Table of Contents

Constants

CONTINUE  = 'continue'
STOP_ALL  = 'stop-all'
STOP_MODS  = 'stop-mods'

Methods

accumulateSubtotals()  : string
apply()  : string
calculate()  : string
calculateLine()  : string
clear()  : string
save()  : string
updateSubtotals()  : string
applyOperation()  : bool
applyTravel()  : bool
applyUsedGoods()  : bool
done()  : string
isSpanishCompany()  : bool
stopAll()  : string
stopMods()  : string

Constants

Methods

accumulateSubtotals()

public accumulateSubtotals(array<string|int, mixed> &$subtotals, BusinessDocument $doc, array<string|int, mixed> &$lines) : string
Parameters
$subtotals : array<string|int, mixed>
$doc : BusinessDocument
$lines : array<string|int, mixed>
Return values
string

updateSubtotals()

public updateSubtotals(array<string|int, mixed> &$subtotals, BusinessDocument $doc, array<string|int, mixed> $lines) : string
Parameters
$subtotals : array<string|int, mixed>
$doc : BusinessDocument
$lines : array<string|int, mixed>
Return values
string

        
On this page

Search results