@if (!Session::get("username"))
{{-- Redirect to the main page if the user is already logged in --}}
@endif
@if (Session::get("userlevel") === 'admin')
@extends('index')
@section("body")
MANAGE ASSET
Total Asset:{{ $totalCompAsset+$totalPrintAsset+$totalOtherAsset }}
Total Computers: {{ $totalCompAsset }}
Total Printers: {{ $totalPrintAsset }}
Total Other Assets: {{ $totalOtherAsset }}
List of Computer
| Id |
BRAND |
MODEL |
ASSET TAG |
SERIAL NO |
Remarks |
STATUS |
LOCATION |
Action |
@foreach($CompAsset as $Ad)
| {{$Ad->id}} |
{{$Ad->brand}} |
{{$Ad->model}} |
{{$Ad->assetTag}} |
{{$Ad->Serial_No}} |
{{$Ad->Remarks}} |
{{$Ad->status}} |
{{$Ad->location}} |
|
|
@endforeach
Total Computers: {{ $CompAsset->count() }}
In Use: {{ $inUseCount }}
Under Maintenance: {{ $underMaintenanceCount }}
Available: {{ $availableCount }}
Retired: {{ $retiredCount }}
Pending: {{ $pendingCount }}
List of Printer
| Id |
TYPE |
LOCATION |
DEPARTMENT |
BRAND |
MODEL |
ASSET TAG |
SERIAL NO |
REMARKS |
STATUS |
Action |
@foreach($PrintAsset as $d)
| {{$d->id}} |
{{$d->type}} |
{{$d->location}} |
{{$d->dept}} |
{{$d->brand}} |
{{$d->model}} |
{{$d->assetTag}} |
{{$d->Serial_No}} |
{{$d->remarks}} |
{{$d->status}} |
|
|
@endforeach
Total Printers: {{ $PrintAsset->count() }}
In Use: {{ $inUseCountPrint }}
Under Maintenance: {{ $underMaintenanceCountPrint }}
Available: {{ $availableCountPrint }}
Retired: {{ $retiredCountPrint }}
Pending: {{ $pendingCountPrint }}
List of other asset
| Id |
ITEM |
SERIAL NO |
ASSET TAG |
REMARKS |
STATUS |
LOCATION |
Action |
@foreach($Asset as $a)
| {{$a->id}} |
{{$a->item}} |
{{$a->serial_no}} |
{{$a->assetTag}} |
{{$a->remarks}} |
{{$a->status}} |
{{$a->location}} |
|
|
@endforeach
Total Other Assets: {{ $Asset->count() }}
In Use: {{ $inUseCountOther }}
Under Maintenance: {{ $underMaintenanceCountOther }}
Available: {{ $availableCountOther }}
Retired: {{ $retiredCountOther }}
Pending: {{ $pendingCountOther }}
@endsection
@endif