mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
8648d53d25
A checkout acceptance gets generated for every item that needs to be checked out. This resource tracks the user user who can accept the item and their signature
28 lines
573 B
PHP
28 lines
573 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Accessory;
|
|
use App\Models\Actionlog;
|
|
use App\Models\CheckoutAcceptance;
|
|
use App\Models\Contracts\Acceptable;
|
|
use App\Models\User;
|
|
use Illuminate\Broadcasting\Channel;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class CheckoutDeclined
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(CheckoutAcceptance $acceptance)
|
|
{
|
|
$this->acceptance = $acceptance;
|
|
}
|
|
}
|