mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
33 lines
590 B
PHP
33 lines
590 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Invitation;
|
|
use App\Models\Invoice;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class QuoteInvitationWasApproved extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
public $quote;
|
|
|
|
/**
|
|
* @var Invitation
|
|
*/
|
|
public $invitation;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param $quote
|
|
* @param Invoice $invoice
|
|
* @param Invitation $invitation
|
|
*/
|
|
public function __construct(Invoice $quote, Invitation $invitation)
|
|
{
|
|
$this->quote = $quote;
|
|
$this->invitation = $invitation;
|
|
}
|
|
}
|