@extends('layouts.app') @section('title', 'Edit- asset detail | ') @section('content')
Edit- asset detail
@csrf
Asset Category
*
-Select-
@if(count($category) > 0) @foreach($category as $item)
category_id == $item->id) selected @endif >{{$item->title}}
@endforeach @endif
@if ($errors->has('category'))
{{ $errors->first('category') }}
@endif
Asset Name
*
#Hard Disk, keyboard, Mouse, Notepad etc.
@if ($errors->has('asset_name'))
{{ $errors->first('asset_name') }}
@endif
Asset Id
*
#Laptop-TS011 etc.
Purchase Date
Manufacturer
Model
Serial Number
Total Qty.
Item Value
Price/Item
Description
*
{{$data->description}}
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
Status
status =='new') selected @endif >New
status =='damage') selected @endif>Damange
Attachment
Add file
@if(count($files) > 0) @foreach($files as $item)
×
{{$item->file_name}}
@endforeach @endif
Update
@endsection