mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
0f661495db
* Create 'Credits' module * Various fixes on Credit module * Fix MarkCreditPaid factory
26 lines
480 B
PHP
26 lines
480 B
PHP
<?php
|
|
|
|
namespace App\Events\Credit;
|
|
|
|
use App\Models\Credit;
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class CreditWasEmailed
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
public $credit;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Credit $credit)
|
|
{
|
|
$this->credit = $credit;
|
|
}
|
|
}
|