mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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
569 B
PHP
28 lines
569 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 CheckoutAccepted
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(CheckoutAcceptance $acceptance)
|
|
{
|
|
$this->acceptance = $acceptance;
|
|
}
|
|
}
|