FacturaScripts

AccountingBase extends AccountingBase
in package

Class created by Core/Base/PluginDeploy

Tags
author

FacturaScripts [email protected]

Table of Contents

$dataBase  : DataBase
Link with the active dataBase
$dateFrom  : string
Start date.
$dateTo  : string
End date.
$exercise  : Ejercicio
Fiscal exercise
__construct()  : mixed
AccountingBase constructor.
generate()  : mixed
Generate the balance amounts between two dates.
setExercise()  : mixed
Load exercise data for the specified code
setExerciseFromDate()  : bool
Load exercise data for the company and date
addToDate()  : string
Returns a new date.
getData()  : mixed
Obtains the balances for each one of the sections of the balance sheet according to their assigned accounts.
toolBox()  : ToolBox

Properties

Methods

__construct()

AccountingBase constructor.

public __construct() : mixed
Return values
mixed

generate()

Generate the balance amounts between two dates.

public abstract generate(string $dateFrom, string $dateTo[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
$dateFrom : string
$dateTo : string
$params : array<string|int, mixed> = []
Return values
mixed

setExercise()

Load exercise data for the specified code

public setExercise(string $code) : mixed
Parameters
$code : string
Return values
mixed

setExerciseFromDate()

Load exercise data for the company and date

public setExerciseFromDate(int $idcompany, string $date) : bool
Parameters
$idcompany : int
$date : string
Return values
bool

addToDate()

Returns a new date.

protected addToDate(string $date, string $add) : string
Parameters
$date : string
$add : string
Return values
string

getData()

Obtains the balances for each one of the sections of the balance sheet according to their assigned accounts.

protected abstract getData() : mixed
Return values
mixed

Search results