@include('new_layouts.header')
@include('construction_project.side-menu')
@csrf
{{ Form::label('name', __('Planned Start to End Date'), ['class' => 'form-label']) }}*
{{ Form::text('get_date', $data['get_date'], array('class' => 'form-control month-btn','id' => 'datepicker-icon-prepend')) }}
{{ Form::label('name', __('Actual Workdone % as of Today'),['class' => 'form-label']) }} * {{ Form::number('percentage', $data['percentage'], ['class' => 'form-control','id' => 'percentage', 'required'=>'required','max'=>'100','min'=>'1']) }} {{ Form::hidden('task_id', $task_id, ['class' => 'form-control','id'=>'task_id']) }} {{ Form::hidden('user_id', \Auth::user()->id, ['class' => 'form-control']) }}
{{ Form::hidden('existing_file_id', $data['file_id'], ['class' => 'form-control', 'id' => 'existing_file_id']) }}
@php if($data['filename'] != ""){ $files = explode(',',$data['filename']); } else{ $files = array(); } @endphp @foreach ($files as $file) {{$file}}
@endforeach

{{ Form::label('description', __('Description'), ['class' => 'form-label']) }} * {{ Form::textarea('description', $data['description'], ['class' => 'form-control', 'id' => 'tinymce-mytextarea','rows'=>'3','data-toggle' => 'autosize', 'required'=>'required']) }}
@php $contract_subscription = Auth::user()->checkSubscriptionCount('contract_management',1); @endphp @if($contract_subscription > 0) @foreach ($contract_management as $contract) @php $contract_name = $contract->name; @endphp
{{$contract->text}}
@if($contract->name == "material") @else @endif @if ($contract->name == "material") @foreach ($material_used as $mat_k => $mat) @endforeach @elseif($contract->name == "labour") @foreach ($labour_used as $lab_k => $lab) @endforeach @elseif($contract->name == "equipment") @foreach ($equipment_used as $eq_k => $equ) @endforeach @elseif($contract->name == "overhead") @foreach ($overhead_used as $over_k => $over) @endforeach @endif
{{$contract->t_header}} {{$contract->t_header_2}}Wastage %Hours
@endforeach @endif
@include('new_layouts.footer')