@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("maintenance-orders")}}

{{__("all-maintenance-orders")}}

@endsection @section("content")
@csrf @method("PUT")
@foreach($maintinanceOrder as $index => $maintinance) @php $latest_schedule = \App\Models\Order::where([["latest_maintenance_schedule_id",$maintinance->id],["status_id","!=",1]])->first() @endphp @if($maintinance->completed != 1 && !$latest_schedule)@endif @endforeach
{{__("maintenance-date")}} {{__("maintenance-time")}} {{__("Control")}}
completed == 1 || $latest_schedule) disabled @endif required> completed == 1 || $latest_schedule) disabled @endif required> id)}}" @if($maintinance->completed == 1 || $latest_schedule) style="display: none" @endif>
@endsection