@extends('layouts.admin') @section('content')

{{ __('Edit Machine Settings') }}

{{ $machine->name }} / {{ $machine->serial_no }}

@csrf @method('PUT') @if ($errors->any())

{{ __('Some fields need attention') }}

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ __('Basic Information') }}

{{ __('Operational Parameters') }}

{{ __('Hardware & Slots') }}

@foreach([['1-10', 'is_spring_slot_1_10'], ['11-20', 'is_spring_slot_11_20'], ['21-30', 'is_spring_slot_21_30'], ['31-40', 'is_spring_slot_31_40'], ['41-50', 'is_spring_slot_41_50'], ['51-60', 'is_spring_slot_51_60']] as $slot) @endforeach

{{ __('Payment & Invoice') }}

{{ __('Member & External') }}

{{ __('Machine Images') }}

@if(!empty($machine->image_urls))
@foreach($machine->image_urls as $url)
@endforeach
@else

{{ __('No images uploaded') }}

@endif

* {{ __('Uploading new images will replace all existing images.') }}

@endsection