mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 14:44:34 -04:00
Working on payment events
This commit is contained in:
parent
f2a8e5f4df
commit
37ec6afdad
@ -108,7 +108,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
$this->markInvitationsSent();
|
$this->markInvitationsSent();
|
||||||
|
|
||||||
$invoice->save();
|
$invoice->save();
|
||||||
\Log::error("marking sent");
|
|
||||||
UpdateCompanyLedgerWithInvoice::dispatchNow($this->invoice, $this->balance);
|
UpdateCompanyLedgerWithInvoice::dispatchNow($this->invoice, $this->balance);
|
||||||
|
|
||||||
return $invoice;
|
return $invoice;
|
||||||
|
@ -19,7 +19,6 @@ use App\Models\User;
|
|||||||
use App\Models\UserAccount;
|
use App\Models\UserAccount;
|
||||||
use App\Repositories\InvoiceRepository;
|
use App\Repositories\InvoiceRepository;
|
||||||
use Illuminate\Database\Seeder;
|
use Illuminate\Database\Seeder;
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
|
|
||||||
class RandomDataSeeder extends Seeder
|
class RandomDataSeeder extends Seeder
|
||||||
{
|
{
|
||||||
@ -32,6 +31,7 @@ class RandomDataSeeder extends Seeder
|
|||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$this->command->info('Running RandomDataSeeder');
|
$this->command->info('Running RandomDataSeeder');
|
||||||
|
|
||||||
Eloquent::unguard();
|
Eloquent::unguard();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user