2022-06-09 04:24:42 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2024-04-12 06:15:41 +02:00
|
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
2022-06-09 04:24:42 +02:00
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Events\PurchaseOrder;
|
|
|
|
|
|
|
|
use App\Models\Company;
|
2022-06-10 09:04:16 +02:00
|
|
|
use App\Models\PurchaseOrderInvitation;
|
2022-06-09 04:24:42 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class PurchaseOrderWasEmailed.
|
|
|
|
*/
|
|
|
|
class PurchaseOrderWasEmailed
|
|
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
|
2023-04-26 09:11:01 +02:00
|
|
|
public function __construct(public PurchaseOrderInvitation $invitation, public Company $company, public array $event_vars)
|
2022-06-09 04:24:42 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|