@extends('layouts.admin.admin') @section('title', 'Edit Wrench') @section('content') @push('styles') @endpush
@include('partials.header') @include('partials.sidebar')
Inventory ManagementWrench LookupWrench Details

Wrench Details
{{-- {{dd($wrench->store)}} --}}
@csrf @method("PUT")
@if ($errors->has('serial_no')) {{ $errors->first('serial_no') }} @endif
@if ($errors->has('part_no')) {{ $errors->first('part_no') }} @endif
@if ($errors->has('manufactured_date')) {{ $errors->first('manufactured_date') }} @endif
location_type == 'warehouse') checked @endif disabled>
location_type == 'store') checked @endif disabled>
@if ($errors->has('currentlocation')) {{ $errors->first('currentlocation') }} @endif
location_type == 'store') style="display: block;" @else style="display: none;" @endif>
location_id == 0) value="{{old('store_no',0)}}" @else value="{{old('store_no',$wrench->store->store_number)}}" @endif disabled> @if ($errors->has('store_no')) {{ $errors->first('store_no') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
{{$wrench->next_calibration_date}} @if ($errors->has('next_calibration_date')) {{ $errors->first('next_calibration_date') }} @endif
@if ($errors->has('retirement_date')) {{ $errors->first('retirement_date') }} @endif
@if ($errors->has('level')) {{ $errors->first('level') }} @endif
@if(count($calibration) !=0) View Calibration History @endif View Location History
@push('script') @endpush @stop