Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2021-04-30 15:38:02 -07:00
commit 62f091e769
2 changed files with 2 additions and 1 deletions

View file

@ -813,7 +813,7 @@ class AssetsController extends Controller
$asset->unsetEventDispatcher(); $asset->unsetEventDispatcher();
$asset->next_audit_date = $request->input('next_audit_date'); $asset->next_audit_date = $request->input('next_audit_date');
$asset->last_audit_date = date('Y-m-d h:i:s'); $asset->last_audit_date = date('Y-m-d H:i:s');
// Check to see if they checked the box to update the physical location, // Check to see if they checked the box to update the physical location,
// not just note it in the audit notes // not just note it in the audit notes

View file

@ -6,6 +6,7 @@ use App\Http\Requests\ImageUploadRequest;
use App\Models\Location; use App\Models\Location;
use App\Models\User; use App\Models\User;
use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Auth;
use App\Models\Asset;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;
/** /**