CronController
extends BaseCronController
in package
Class BaseCronController
Table of Contents
Properties
- $em : EntityManager
- $trans : Translator|NativeArray
- $clients : array<string|int, Client>
- $handler : HandlerComponent
- Cronjob handler.
- $modules : array<string|int, Module>
- Api modules.
- $start : float
- Cronjob start in microtime.
- $clientRepository : ClientRepository
- $entryService : EntryService
- $filingMonitoringService : FilingMonitoringService
- $internalMailingComponent : InternalMailingComponent
- $manualOrderUploadReminderComponent : ManualOrderUploadReminderComponent
- $movementCreditService : MovementCreditService
- $movementProductService : MovementProductService
- $notificationMarkService : NotificationMarkService
- $taxLetterService : TaxLetterService
- $taxLetterStatusNotificationService : TaxLetterStatusNotificationService
- $userModuleRepository : UserModuleRepository
Methods
- __destruct() : mixed
- Finish cronjob and log the report.
- allAction() : mixed
- anotherReturnSubmittedAction() : void
- anotherReturnSubmittedByDateAction() : void
- apiProcessingErrorCheckAction() : mixed
- execPrep() : mixed
- initialize() : mixed
- Disable view render and start cronjob.
- manualOrderUploadReminderAction() : mixed
- newTaxLetterAction() : mixed
- newTaxLetterReminderAction() : mixed
- noDataReceivedAction() : void
- notificationForPeriodAction() : void
- pullFinishedAction() : void
- qualityControlDoneAction() : void
- reminderToPayVatAction() : void
- reminderToPayVatByDateAction() : void
- reportsReadyAction() : mixed
- Sends mail for users when their reports are ready
- sumhelp() : mixed
- syncTaxLettersAction() : mixed
- thresholdAction() : mixed
- Notifies users whose threshold limit is over 80 percent
- unreadAction() : mixed
- Notifies users who has more than 25 unread notification
- vatReturnSubmittedAction() : void
- vatReturnSubmittedByDateAction() : void
- yearlyEntriesAddedAction() : void
- getClients() : mixed
- hasNotificationEnabled() : mixed
- isNotifiable() : mixed
- loadClients() : mixed
- getNotificationMethodByType() : string
- getProperBankingDetails() : mixed
Properties
$em read-only
public
EntityManager
$em
$trans read-only
public
Translator|NativeArray
$trans
$clients
protected
array<string|int, Client>
$clients
$handler
Cronjob handler.
protected
HandlerComponent
$handler
$modules
Api modules.
protected
array<string|int, Module>
$modules
$start
Cronjob start in microtime.
protected
float
$start
$clientRepository
private
ClientRepository
$clientRepository
$entryService
private
EntryService
$entryService
$filingMonitoringService
private
FilingMonitoringService
$filingMonitoringService
$internalMailingComponent
private
InternalMailingComponent
$internalMailingComponent
$manualOrderUploadReminderComponent
private
ManualOrderUploadReminderComponent
$manualOrderUploadReminderComponent
$movementCreditService
private
MovementCreditService
$movementCreditService
$movementProductService
private
MovementProductService
$movementProductService
$notificationMarkService
private
NotificationMarkService
$notificationMarkService
$taxLetterService
private
TaxLetterService
$taxLetterService
$taxLetterStatusNotificationService
private
TaxLetterStatusNotificationService
$taxLetterStatusNotificationService
$userModuleRepository
private
UserModuleRepository
$userModuleRepository
Methods
__destruct()
Finish cronjob and log the report.
public
__destruct() : mixed
allAction()
public
allAction() : mixed
Tags
anotherReturnSubmittedAction()
public
anotherReturnSubmittedAction() : void
Tags
anotherReturnSubmittedByDateAction()
public
anotherReturnSubmittedByDateAction(mixed $date) : void
Parameters
- $date : mixed
apiProcessingErrorCheckAction()
public
apiProcessingErrorCheckAction() : mixed
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
manualOrderUploadReminderAction()
public
manualOrderUploadReminderAction() : mixed
newTaxLetterAction()
public
newTaxLetterAction() : mixed
newTaxLetterReminderAction()
public
newTaxLetterReminderAction() : mixed
noDataReceivedAction()
public
noDataReceivedAction() : void
Tags
notificationForPeriodAction()
public
notificationForPeriodAction(string $type, string $startDate, string $endDate) : void
Parameters
- $type : string
- $startDate : string
- $endDate : string
pullFinishedAction()
public
pullFinishedAction() : void
Tags
qualityControlDoneAction()
public
qualityControlDoneAction() : void
Tags
reminderToPayVatAction()
public
reminderToPayVatAction() : void
Tags
reminderToPayVatByDateAction()
public
reminderToPayVatByDateAction(mixed $date) : void
Parameters
- $date : mixed
reportsReadyAction()
Sends mail for users when their reports are ready
public
reportsReadyAction() : mixed
sumhelp()
public
sumhelp(mixed $h2Body) : mixed
Parameters
- $h2Body : mixed
syncTaxLettersAction()
public
syncTaxLettersAction() : mixed
thresholdAction()
Notifies users whose threshold limit is over 80 percent
public
thresholdAction() : mixed
unreadAction()
Notifies users who has more than 25 unread notification
public
unreadAction() : mixed
vatReturnSubmittedAction()
public
vatReturnSubmittedAction() : void
Tags
vatReturnSubmittedByDateAction()
public
vatReturnSubmittedByDateAction(mixed $date) : void
Parameters
- $date : mixed
yearlyEntriesAddedAction()
public
yearlyEntriesAddedAction() : void
Tags
getClients()
protected
final getClients() : mixed
hasNotificationEnabled()
protected
final hasNotificationEnabled(Client $client, mixed $notification) : mixed
Parameters
- $client : Client
- $notification : mixed
isNotifiable()
protected
final isNotifiable(Client $client) : mixed
Parameters
- $client : Client
loadClients()
protected
final loadClients() : mixed
getNotificationMethodByType()
private
getNotificationMethodByType(string $type) : string
Parameters
- $type : string
Return values
stringgetProperBankingDetails()
private
getProperBankingDetails(Entry $entry) : mixed
Parameters
- $entry : Entry