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
$em read-only
public
EntityManager
$em
$l
public
Logger
$l
$trans read-only
public
Translator|NativeArray
$trans
$handler
Cronjob handler.
protected
HandlerComponent
$handler
$modules
Api modules.
protected
array<string|int, Module>
$modules
$start
Cronjob start in microtime.
protected
float
$start
$bankingDetailOptionRepository
private
BankingDetailOptionRepository
$bankingDetailOptionRepository
$bankingDetailSettingRepository
private
BankingDetailSettingRepository
$bankingDetailSettingRepository
$bankingDetailSettingService
private
BankingDetailSettingService
$bankingDetailSettingService
$clientRepository
private
ClientRepository
$clientRepository
$countryDateGroupRepository
private
CountryDateGroupRepository
$countryDateGroupRepository
$deBankAccountsRepository
private
DeBankAccountsRepository
$deBankAccountsRepository
$userCountryFilingCompanyService
private
UserCountryFilingCompanyService
$userCountryFilingCompanyService
$userVatRepository
private
UserVatRepository
$userVatRepository
Methods
__destruct()
Finish cronjob and log the report.
public
__destruct() : mixed
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
sumhelp()
public
sumhelp(mixed $h2Body) : mixed
Parameters
- $h2Body : mixed
updatePlBankingDetailsAction()
public
updatePlBankingDetailsAction() : mixed