mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 03:04:35 -04:00
Fixes for migrations - client balances!
This commit is contained in:
parent
5855f3ea1f
commit
fd7f627ffe
@ -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);
|
||||
|
@ -99,4 +99,10 @@ class SubscriptionHandler implements ShouldQueue
|
||||
$subscription->delete();
|
||||
}
|
||||
}
|
||||
|
||||
public function failed($exception)
|
||||
{
|
||||
$exception->getMessage();
|
||||
// etc...
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user