2019-11-16 10:21:14 +03: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 17:03:56 +03:00
|
|
|
'App\Listeners\Update\CreateModuleUpdatedHistory',
|
2021-02-02 18:35:42 +03:00
|
|
|
'App\Listeners\Module\UpdateExtraModules',
|
2022-06-01 10:15:55 +03:00
|
|
|
'App\Listeners\Update\V30\Version300',
|
2022-06-23 15:33:35 +03:00
|
|
|
'App\Listeners\Update\V30\Version303',
|
2022-06-28 21:44:19 +03:00
|
|
|
'App\Listeners\Update\V30\Version304',
|
2022-07-21 01:07:55 +03:00
|
|
|
'App\Listeners\Update\V30\Version305',
|
2019-11-16 10:21:14 +03:00
|
|
|
],
|
|
|
|
'Illuminate\Auth\Events\Login' => [
|
|
|
|
'App\Listeners\Auth\Login',
|
|
|
|
],
|
|
|
|
'Illuminate\Auth\Events\Logout' => [
|
|
|
|
'App\Listeners\Auth\Logout',
|
|
|
|
],
|
2022-04-25 15:04:04 +03:00
|
|
|
//'Illuminate\Console\Events\ScheduledTaskStarting' => [
|
|
|
|
'Illuminate\Console\Events\CommandStarting' => [
|
|
|
|
'App\Listeners\Common\SkipScheduleInReadOnlyMode',
|
|
|
|
],
|
2020-07-26 19:47:23 +03:00
|
|
|
'App\Events\Auth\LandingPageShowing' => [
|
|
|
|
'App\Listeners\Auth\AddLandingPages',
|
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentCreated' => [
|
|
|
|
'App\Listeners\Document\CreateDocumentCreatedHistory',
|
|
|
|
'App\Listeners\Document\IncreaseNextDocumentNumber',
|
2021-01-10 17:16:47 +03:00
|
|
|
'App\Listeners\Document\SettingFieldCreated',
|
2019-11-16 10:21:14 +03:00
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentReceived' => [
|
|
|
|
'App\Listeners\Document\MarkDocumentReceived',
|
2020-01-23 17:57:28 +03:00
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentCancelled' => [
|
|
|
|
'App\Listeners\Document\MarkDocumentCancelled',
|
2020-03-28 17:54:36 +03:00
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentRecurring' => [
|
|
|
|
'App\Listeners\Document\SendDocumentRecurringNotification',
|
2019-11-16 10:21:14 +03:00
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentReminded' => [
|
|
|
|
'App\Listeners\Document\SendDocumentReminderNotification',
|
2020-04-15 11:27:58 +03:00
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\PaymentReceived' => [
|
|
|
|
'App\Listeners\Document\CreateDocumentTransaction',
|
|
|
|
'App\Listeners\Document\SendDocumentPaymentNotification',
|
2019-11-16 10:21:14 +03:00
|
|
|
],
|
2022-06-14 01:18:34 +03:00
|
|
|
'App\Events\Document\DocumentMarkedSent' => [
|
|
|
|
'App\Listeners\Document\MarkDocumentSent',
|
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentSent' => [
|
|
|
|
'App\Listeners\Document\MarkDocumentSent',
|
2019-11-16 10:21:14 +03:00
|
|
|
],
|
2021-01-10 17:16:47 +03:00
|
|
|
'App\Events\Document\DocumentUpdated' => [
|
|
|
|
'App\Listeners\Document\SettingFieldUpdated',
|
|
|
|
],
|
2020-12-24 01:28:38 +03:00
|
|
|
'App\Events\Document\DocumentViewed' => [
|
|
|
|
'App\Listeners\Document\MarkDocumentViewed',
|
2022-06-01 10:15:55 +03:00
|
|
|
'App\Listeners\Document\SendDocumentViewNotification',
|
2020-04-15 11:27:58 +03:00
|
|
|
],
|
2021-03-12 17:24:03 +03:00
|
|
|
'App\Events\Install\UpdateFailed' => [
|
|
|
|
'App\Listeners\Update\SendNotificationOnFailure',
|
|
|
|
],
|
2022-06-01 10:15:55 +03:00
|
|
|
'App\Events\Menu\NotificationsCreated' => [
|
|
|
|
'App\Listeners\Menu\ShowInNotifications',
|
|
|
|
],
|
2019-11-30 01:35:28 +03:00
|
|
|
'App\Events\Menu\AdminCreated' => [
|
2022-06-01 10:15:55 +03: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-30 01:35:28 +03:00
|
|
|
],
|
|
|
|
'App\Events\Menu\PortalCreated' => [
|
2022-06-01 10:15:55 +03:00
|
|
|
'App\Listeners\Menu\ShowInPortal',
|
2019-11-30 01:35:28 +03:00
|
|
|
],
|
2020-06-11 23:32:13 +03:00
|
|
|
'App\Events\Module\Installed' => [
|
2020-12-25 01:45:30 +03:00
|
|
|
'App\Listeners\Module\InstallExtraModules',
|
2020-06-11 23:32:13 +03:00
|
|
|
'App\Listeners\Module\FinishInstallation',
|
|
|
|
],
|
2021-03-30 00:12:51 +03:00
|
|
|
'App\Events\Module\Uninstalled' => [
|
|
|
|
'App\Listeners\Module\FinishUninstallation',
|
|
|
|
],
|
2022-06-01 10:15:55 +03:00
|
|
|
'App\Events\Banking\TransactionCreated' => [
|
|
|
|
'App\Listeners\Banking\IncreaseNextTransactionNumber',
|
|
|
|
],
|
2019-11-16 10:21:14 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The subscriber classes to register.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $subscribe = [
|
2020-06-11 23:32:13 +03:00
|
|
|
'App\Listeners\Module\ClearCache',
|
2020-01-31 12:59:12 +03: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 22:51:01 +03:00
|
|
|
'App\Listeners\Report\AddSearchString',
|
2020-01-31 12:59:12 +03:00
|
|
|
'App\Listeners\Report\AddRowsToTax',
|
2021-09-20 10:06:55 +03:00
|
|
|
'App\Listeners\Report\AddBasis',
|
2019-11-16 10:21:14 +03:00
|
|
|
];
|
|
|
|
}
|