Fixes PSR autoloading issue

This commit is contained in:
snipe 2020-04-21 20:15:24 -07:00
parent bbc2ac2f9d
commit 7a33e335d4
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC
3 changed files with 4 additions and 4 deletions

View file

@ -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'));
}

View file

@ -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