Documentation

CronController extends BaseCronController
in package

Class BaseCronController

Table of Contents

Properties

$em  : EntityManager
$l  : Logger
$trans  : Translator|NativeArray
$handler  : HandlerComponent
Cronjob handler.
$modules  : array<string|int, Module>
Api modules.
$start  : float
Cronjob start in microtime.
$bankingDetailOptionRepository  : BankingDetailOptionRepository
$bankingDetailSettingRepository  : BankingDetailSettingRepository
$bankingDetailSettingService  : BankingDetailSettingService
$clientRepository  : ClientRepository
$countryDateGroupRepository  : CountryDateGroupRepository
$deBankAccountsRepository  : DeBankAccountsRepository
$userCountryFilingCompanyService  : UserCountryFilingCompanyService
$userVatRepository  : UserVatRepository

Methods

__destruct()  : mixed
Finish cronjob and log the report.
createMissingInformationAction()  : mixed
execPrep()  : mixed
initialize()  : mixed
Disable view render and start cronjob.
migrateDeBankAccountsAction()  : void
Migrates DE banking account details for clients based on their configurations and updates these details in the database.
migrateItBankAccountsAction()  : mixed
migrateSpanishVATBankAccountsAction()  : mixed
sumhelp()  : mixed
updatePlBankingDetailsAction()  : mixed

Properties

Methods

createMissingInformationAction()

public createMissingInformationAction(string $userIds) : mixed
Parameters
$userIds : string

execPrep()

public execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
$s : mixed
$b : mixed
$t : mixed

initialize()

Disable view render and start cronjob.

public initialize() : mixed

migrateDeBankAccountsAction()

Migrates DE banking account details for clients based on their configurations and updates these details in the database.

public migrateDeBankAccountsAction() : void

This method retrieves banking detail settings for DE and iterates through each setting. For clients whose company country is not DE, it attempts to find a matching DE banking account based on the client's DE tax ID. If a matching banking account is found, it updates the banking details for the respective client and persists these changes to the database.

migrateItBankAccountsAction()

public migrateItBankAccountsAction() : mixed

migrateSpanishVATBankAccountsAction()

public migrateSpanishVATBankAccountsAction() : mixed

updatePlBankingDetailsAction()

public updatePlBankingDetailsAction() : mixed

        
On this page

Search results