Working on payment events

This commit is contained in:
David Bomba 2019-10-01 16:03:57 +10:00
parent f2a8e5f4df
commit 37ec6afdad
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ class InvoiceRepository extends BaseRepository
$this->markInvitationsSent();
$invoice->save();
\Log::error("marking sent");
UpdateCompanyLedgerWithInvoice::dispatchNow($this->invoice, $this->balance);
return $invoice;

View File

@ -19,7 +19,6 @@ use App\Models\User;
use App\Models\UserAccount;
use App\Repositories\InvoiceRepository;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Log;
class RandomDataSeeder extends Seeder
{
@ -32,6 +31,7 @@ class RandomDataSeeder extends Seeder
public function run()
{
$this->command->info('Running RandomDataSeeder');
Eloquent::unguard();