mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 13:14:07 -08:00
Fixes PSR autoloading issue
This commit is contained in:
parent
bbc2ac2f9d
commit
7a33e335d4
|
@ -7,7 +7,7 @@ use App\Models\AssetModel;
|
|||
use App\Models\Company;
|
||||
use App\Models\Setting;
|
||||
use App\Models\User;
|
||||
use App\Notifications\RequestAssetCancelationNotification;
|
||||
use App\Notifications\RequestAssetCancelation;
|
||||
use App\Notifications\RequestAssetNotification;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Input;
|
||||
|
@ -116,7 +116,7 @@ class ViewAssetsController extends Controller
|
|||
$logaction->logaction('request_canceled');
|
||||
|
||||
if (($settings->alert_email!='') && ($settings->alerts_enabled=='1') && (!config('app.lock_passwords'))) {
|
||||
$settings->notify(new RequestAssetCancelationNotification($data));
|
||||
$settings->notify(new RequestAssetCancelation($data));
|
||||
}
|
||||
|
||||
return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.canceled'));
|
||||
|
@ -178,7 +178,7 @@ class ViewAssetsController extends Controller
|
|||
$asset->decrement('requests_counter', 1);
|
||||
|
||||
$logaction->logaction('request canceled');
|
||||
$settings->notify(new RequestAssetCancelationNotification($data));
|
||||
$settings->notify(new RequestAssetCancelation($data));
|
||||
return redirect()->route('requestable-assets')
|
||||
->with('success')->with('success', trans('admin/hardware/message.requests.cancel-success'));
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage;
|
|||
use Illuminate\Notifications\Messages\SlackMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class RequestAssetCancelationNotification extends Notification
|
||||
class RequestAssetCancelation extends Notification
|
||||
{
|
||||
/**
|
||||
* @var
|
||||
|
|
Loading…
Reference in a new issue