mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
bb874012d9
Working mail from notification. Still requires testing/cleaning Add tests around checkout notification. This also removes the ability to check out an asset to a location|asset that requires acceptance/a Eula. For 4.1 we may think about how to support such a thing, but at present it seems to make sense to only alow such assets to be checked out to users, who can be responsible for the items.
13 lines
204 B
PHP
13 lines
204 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use Exception;
|
|
class CheckoutNotAllowed extends Exception
|
|
{
|
|
public function __toString()
|
|
{
|
|
"A checkout is not allowed under these circumstances";
|
|
}
|
|
}
|