diff --git a/app/Jobs/Util/Import.php b/app/Jobs/Util/Import.php index a95d568ed59a..3986ea1497e9 100644 --- a/app/Jobs/Util/Import.php +++ b/app/Jobs/Util/Import.php @@ -190,7 +190,7 @@ class Import implements ShouldQueue $company_ledger->adjustment = $client->balance; $company_ledger->notes = 'Migrated Client Balance'; $company_ledger->balance = $client->balance; - $company_ledger->activity_id = Activity::STORE_CLIENT; + $company_ledger->activity_id = Activity::CREATE_CLIENT; $company_ledger->save(); $client->company_ledger()->save($company_ledger); diff --git a/app/Jobs/Util/SubscriptionHandler.php b/app/Jobs/Util/SubscriptionHandler.php index fb944ce7da5e..a35ad135a682 100644 --- a/app/Jobs/Util/SubscriptionHandler.php +++ b/app/Jobs/Util/SubscriptionHandler.php @@ -99,4 +99,10 @@ class SubscriptionHandler implements ShouldQueue $subscription->delete(); } } + + public function failed($exception) + { + $exception->getMessage(); + // etc... + } }