@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- FORM INPUT MAINTENANCE --}}

View {{ $title_menu }}


@csrf
{{-- Modal Prefentive --}}
@error('date')
{{ $message }}
@enderror
%
@error('cpu_usage')
{{ $message }}
@enderror
GB
@error('ram_used')
{{ $message }}
@enderror
GB
@error('ram_free')
{{ $message }}
@enderror
@error('os')
{{ $message }}
@enderror
@forelse($harddisks as $hdd)
Harddisk ({{ $hdd->merk }} | {{ $hdd->size }} GB)
@forelse($detmaintain as $det) @if ( $det->idtrans == $maintenance->idtrans && $det->date == $maintenance->date && $det->hdd == $hdd->id && $det->code_cpu == $maintenance->code_cpu) @php $total++; @endphp @csrf {{-- @method('PUT') --}}
@if ($det->flag_disk == 1)
System
@else
System
@endif
{{-- GB --}}
{{-- GB --}}

@php $idx++; @endphp @endif @empty
Empty!
@endforelse

@empty @endforelse
{{-- VIEW DATA --}}

Data Memory


@forelse($memories as $memory)
{{ $no++ }}
Date
Warning: Undefined variable $memory in /opt/lampp/htdocs/msjasset/resources/views/pages/maintc/edit.blade.php on line 435

Warning: Attempt to read property "date" on null in /opt/lampp/htdocs/msjasset/resources/views/pages/maintc/edit.blade.php on line 435
01 January 1970
Merk {{ $memory->merk }}
Type {{ $memory->type }}
SN {{ $memory->sn }}
Size (GB) {{ $memory->size }}
@empty
Empty!
@endforelse

Data Harddisk


@forelse($harddisks as $hdd)
{{ $noh++ }}
Date {{ date('d F Y', strtotime($hdd->date)) }}
Merk {{ $hdd->merk }}
Type {{ $hdd->type }}
Socket {{ $hdd->socket }}
Size (GB) {{ $hdd->size }}
Operating System {{ $hdd->os }}
@empty
Empty!
@endforelse
{{-- IMAGE --}}

Image Maintenance


@forelse($imagemain as $imagemain) @if ($imagemain->date == $maintenance->date && $imagemain->maintenance_id == $maintenance->idtrans)
{{-- --}}
{{ $imagemain->note }} {{ $doc->file }}
{{-- --}}

*Click image to enlarge
UPDATED AT:
Warning: Undefined variable $imagemain in /opt/lampp/htdocs/msjasset/resources/views/pages/maintc/edit.blade.php on line 566

Warning: Attempt to read property "updated_at" on null in /opt/lampp/htdocs/msjasset/resources/views/pages/maintc/edit.blade.php on line 566
01 January 1970
EDIT @csrf @method('DELETE')
@endif @empty
Empty!
@endforelse

Image Document


@forelse($docs as $doc)
{{-- --}}
{{ $doc->note }} {{ $doc->file }}

*Click image to enlarge
@empty
Empty!
@endforelse

{{-- DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE - DETAIL MAINTENANCE --}} @endsection