mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
0f661495db
* Create 'Credits' module * Various fixes on Credit module * Fix MarkCreditPaid factory
25 lines
492 B
PHP
25 lines
492 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 CreditWasEmailedAndFailed
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
public $credit;
|
|
|
|
public $errors;
|
|
|
|
public function __construct(Credit $credit, array $errors)
|
|
{
|
|
$this->credit = $credit;
|
|
|
|
$this->errors = $errors;
|
|
}
|
|
}
|