mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
a79c7bf60d
* Working on emailing invoices * Working on emailing and displaying email * Working on emailing and displaying email * Email invoices * Fixes for html emails * Ensure valid client prior to store * Ensure client exists when storing an entity * refactor for emails * Design Transformer * Include designs in first_load response * Code cleanup
39 lines
730 B
PHP
39 lines
730 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com)
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://opensource.org/licenses/AAL
|
|
*/
|
|
|
|
namespace App\Events\Invoice;
|
|
|
|
use App\Models\InvoiceInvitation;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class InvoiceWasEmailed.
|
|
*/
|
|
class InvoiceWasEmailed
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Invoice
|
|
*/
|
|
public $invitation;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Invoice $invoice
|
|
*/
|
|
public function __construct(InvoiceInvitation $invitation)
|
|
{
|
|
$this->invitation = $invitation;
|
|
}
|
|
}
|