@extends('layouts.app') @section('content') @csrf Projects Settings Projects Project Milestones Back Save & Next @if(count($request->segments()) == 3) Publish @endif {{-- Save & Next --}} 1. Project Details 2. Project Milestones @if(count($request->segments()) == 3 && count($project->mileStones) > 0) 3.Project Pricing @else 3.Project Pricing @endif @if (count($project->mileStones) > 0) @foreach ($project->mileStones as $key => $milestone) Milestone {{ $key + 1 }} Milestone Duration Title Description {{ @$milestone->description }} Type Select type == 'variable') selected @endif>Variable type == 'fixed') selected @endif>Fixed type == 'variable' ? 'display:block;' : 'display:none;'}}> Depends On Select @foreach($dependents as $dependent) depend_on == $dependent->name) selected @endif>{{$dependent->name}} @endforeach type == 'variable' && @$milestone->depend_on !== 'Resource Duration' ? 'display:block;' : 'display:none;'}}> Factor type == 'fixed' ? 'display:block;' : 'display:none;'}}> Milestone Duration Task Involved @foreach ($milestone->tasks as $key1 => $task) {{ $task->name }} @endforeach @if ($loop->last) @endif @endforeach @else Milestone 1 Title Description Milestone Duration Type Select Variable Fixed Depends On Select @foreach($dependents as $dependent) {{$dependent->name}} @endforeach Factor Milestone Duration Task Involved @endif Add More Remove @endsection @section('scripts') @endsection
Milestone {{ $key + 1 }}
Milestone 1