2019-11-16 07:21:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as Provider;
|
|
|
|
|
|
|
|
|
|
class Event extends Provider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $listen = [
|
|
|
|
|
'App\Events\Install\UpdateFinished' => [
|
2019-12-13 14:03:56 +00:00
|
|
|
'App\Listeners\Update\CreateModuleUpdatedHistory',
|
2021-02-02 15:35:42 +00:00
|
|
|
'App\Listeners\Module\UpdateExtraModules',
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Listeners\Update\V30\Version300',
|
2022-06-23 12:33:35 +00:00
|
|
|
'App\Listeners\Update\V30\Version303',
|
2022-06-28 18:44:19 +00:00
|
|
|
'App\Listeners\Update\V30\Version304',
|
2022-07-20 22:07:55 +00:00
|
|
|
'App\Listeners\Update\V30\Version305',
|
2022-10-11 06:26:20 +00:00
|
|
|
'App\Listeners\Update\V30\Version307',
|
2022-11-01 13:51:11 +00:00
|
|
|
'App\Listeners\Update\V30\Version308',
|
2019-11-16 07:21:14 +00:00
|
|
|
],
|
|
|
|
|
'Illuminate\Auth\Events\Login' => [
|
|
|
|
|
'App\Listeners\Auth\Login',
|
|
|
|
|
],
|
|
|
|
|
'Illuminate\Auth\Events\Logout' => [
|
|
|
|
|
'App\Listeners\Auth\Logout',
|
|
|
|
|
],
|
2022-04-25 12:04:04 +00:00
|
|
|
//'Illuminate\Console\Events\ScheduledTaskStarting' => [
|
|
|
|
|
'Illuminate\Console\Events\CommandStarting' => [
|
|
|
|
|
'App\Listeners\Common\SkipScheduleInReadOnlyMode',
|
|
|
|
|
],
|
2020-07-26 16:47:23 +00:00
|
|
|
'App\Events\Auth\LandingPageShowing' => [
|
|
|
|
|
'App\Listeners\Auth\AddLandingPages',
|
|
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentCreated' => [
|
|
|
|
|
'App\Listeners\Document\CreateDocumentCreatedHistory',
|
|
|
|
|
'App\Listeners\Document\IncreaseNextDocumentNumber',
|
2021-01-10 14:16:47 +00:00
|
|
|
'App\Listeners\Document\SettingFieldCreated',
|
2019-11-16 07:21:14 +00:00
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentReceived' => [
|
|
|
|
|
'App\Listeners\Document\MarkDocumentReceived',
|
2020-01-23 14:57:28 +00:00
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentCancelled' => [
|
|
|
|
|
'App\Listeners\Document\MarkDocumentCancelled',
|
2020-03-28 14:54:36 +00:00
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentRecurring' => [
|
|
|
|
|
'App\Listeners\Document\SendDocumentRecurringNotification',
|
2019-11-16 07:21:14 +00:00
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentReminded' => [
|
|
|
|
|
'App\Listeners\Document\SendDocumentReminderNotification',
|
2020-04-15 08:27:58 +00:00
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\PaymentReceived' => [
|
|
|
|
|
'App\Listeners\Document\CreateDocumentTransaction',
|
|
|
|
|
'App\Listeners\Document\SendDocumentPaymentNotification',
|
2019-11-16 07:21:14 +00:00
|
|
|
],
|
2022-06-13 22:18:34 +00:00
|
|
|
'App\Events\Document\DocumentMarkedSent' => [
|
|
|
|
|
'App\Listeners\Document\MarkDocumentSent',
|
|
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentSent' => [
|
|
|
|
|
'App\Listeners\Document\MarkDocumentSent',
|
2019-11-16 07:21:14 +00:00
|
|
|
],
|
2021-01-10 14:16:47 +00:00
|
|
|
'App\Events\Document\DocumentUpdated' => [
|
|
|
|
|
'App\Listeners\Document\SettingFieldUpdated',
|
|
|
|
|
],
|
2020-12-23 22:28:38 +00:00
|
|
|
'App\Events\Document\DocumentViewed' => [
|
|
|
|
|
'App\Listeners\Document\MarkDocumentViewed',
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Listeners\Document\SendDocumentViewNotification',
|
2020-04-15 08:27:58 +00:00
|
|
|
],
|
2021-03-12 14:24:03 +00:00
|
|
|
'App\Events\Install\UpdateFailed' => [
|
|
|
|
|
'App\Listeners\Update\SendNotificationOnFailure',
|
|
|
|
|
],
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Events\Menu\NotificationsCreated' => [
|
|
|
|
|
'App\Listeners\Menu\ShowInNotifications',
|
|
|
|
|
],
|
2019-11-29 22:35:28 +00:00
|
|
|
'App\Events\Menu\AdminCreated' => [
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Listeners\Menu\ShowInAdmin',
|
|
|
|
|
],
|
|
|
|
|
'App\Events\Menu\ProfileCreated' => [
|
|
|
|
|
'App\Listeners\Menu\ShowInProfile',
|
|
|
|
|
],
|
|
|
|
|
'App\Events\Menu\SettingsCreated' => [
|
|
|
|
|
'App\Listeners\Menu\ShowInSettings',
|
|
|
|
|
],
|
|
|
|
|
'App\Events\Menu\NewwCreated' => [
|
|
|
|
|
'App\Listeners\Menu\ShowInNeww',
|
2019-11-29 22:35:28 +00:00
|
|
|
],
|
|
|
|
|
'App\Events\Menu\PortalCreated' => [
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Listeners\Menu\ShowInPortal',
|
2019-11-29 22:35:28 +00:00
|
|
|
],
|
2020-06-11 20:32:13 +00:00
|
|
|
'App\Events\Module\Installed' => [
|
2020-12-24 22:45:30 +00:00
|
|
|
'App\Listeners\Module\InstallExtraModules',
|
2020-06-11 20:32:13 +00:00
|
|
|
'App\Listeners\Module\FinishInstallation',
|
|
|
|
|
],
|
2021-03-29 21:12:51 +00:00
|
|
|
'App\Events\Module\Uninstalled' => [
|
|
|
|
|
'App\Listeners\Module\FinishUninstallation',
|
|
|
|
|
],
|
2022-06-01 07:15:55 +00:00
|
|
|
'App\Events\Banking\TransactionCreated' => [
|
|
|
|
|
'App\Listeners\Banking\IncreaseNextTransactionNumber',
|
|
|
|
|
],
|
2019-11-16 07:21:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The subscriber classes to register.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $subscribe = [
|
2020-06-11 20:32:13 +00:00
|
|
|
'App\Listeners\Module\ClearCache',
|
2020-01-31 09:59:12 +00:00
|
|
|
'App\Listeners\Report\AddDate',
|
|
|
|
|
'App\Listeners\Report\AddAccounts',
|
|
|
|
|
'App\Listeners\Report\AddCustomers',
|
|
|
|
|
'App\Listeners\Report\AddVendors',
|
|
|
|
|
'App\Listeners\Report\AddExpenseCategories',
|
|
|
|
|
'App\Listeners\Report\AddIncomeCategories',
|
|
|
|
|
'App\Listeners\Report\AddIncomeExpenseCategories',
|
2021-01-24 19:51:01 +00:00
|
|
|
'App\Listeners\Report\AddSearchString',
|
2020-01-31 09:59:12 +00:00
|
|
|
'App\Listeners\Report\AddRowsToTax',
|
2021-09-20 07:06:55 +00:00
|
|
|
'App\Listeners\Report\AddBasis',
|
2019-11-16 07:21:14 +00:00
|
|
|
];
|
|
|
|
|
}
|