@extends('portal::layouts.customer') @section('title', $project->name) @section('content')

{{ $project->name }}

@lang('portal::lang.status'): {{ $project->status ?? '-' }}

@if($project->description)

{{ $project->description }}

@endif @if($project->tasks->count())

@lang('project::lang.tasks')

@foreach($project->tasks as $task) @endforeach
@lang('project::lang.task')@lang('portal::lang.status')@lang('project::lang.due_date')
{{ $task->subject }}{{ $task->status }}@format_date($task->due_date)
@endif

@lang('portal::lang.process_overview')

@if($productionLines->count())

@lang('portal::lang.production_lines')

@foreach($productionLines as $line) @endforeach
@lang('maintenance::lang.name')@lang('portal::lang.equipment_count')
{{ $line->name }} {{ $line->equipment_count }} @lang('portal::lang.view_details')
@endif @if($equipment->count())

@lang('portal::lang.my_equipment')

@foreach($equipment as $eq) @endforeach
@lang('maintenance::lang.name')@lang('portal::lang.linked_line')@lang('portal::lang.health_status')
{{ $eq->name }} {{ $eq->productionLine->name ?? '-' }} {{ $eq->health_percentage ? $eq->health_percentage.'%' : '-' }} @lang('portal::lang.view_details')
@endif @include('portal::partials.process_schedules', ['schedules' => $schedules]) @include('portal::partials.process_work_orders', ['workOrders' => $workOrders]) @if($missions->count())

@lang('portal::lang.field_missions')

@foreach($missions as $mission) @endforeach
@lang('portal::lang.mission_number')@lang('portal::lang.status')
{{ $mission->mission_number ?? $mission->id }} {{ $mission->status }} @lang('portal::lang.view_details')
@endif
@endsection