mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
d516b1b097
* Fix inputs * Workflow settings: Auto archive - New InvoiceWorkflowSettings job - Updated PaymentCreatedActivity to dispatch the job - New 'Archivable' trait - New 'archived_at' field * Workflow settings: Sending e-mail to client with auto_send * Workflow settings: Quotes * Fix HTML markup * Fix archive & sending * Remove Archivable trait & migration file * Change order of sending the events
30 lines
654 B
PHP
30 lines
654 B
PHP
<?php
|
|
|
|
namespace App\Events\Quote;
|
|
|
|
use App\Models\Quote;
|
|
use Illuminate\Broadcasting\Channel;
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Broadcasting\PresenceChannel;
|
|
use Illuminate\Broadcasting\PrivateChannel;
|
|
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class QuoteWasApproved
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
public $quote;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Quote $quote)
|
|
{
|
|
$this->quote = $quote;
|
|
}
|
|
}
|