@include('new_layouts.header') @include('construction_project.side-menu')
| {{__('S.No')}} | {{__('Reference No')}} | {{__('Description')}} | {{__('Location')}} | {{__('Drawing References (if any)')}} | {{__('Remarks/ Notes')}} | {{__('Attachments')}} | @if(Gate::check('edit project specification') || Gate::check('delete project specification')){{__('Action')}} | @endif
|---|---|---|---|---|---|---|---|
| {{$loop->iteration}} | {{$data->reference_no}} | {{$data->description}} | {{$data->location}} | {{$data->drawing_reference != "" ? $data->drawing_reference :'-'}} | {{$data->remarks != "" ? $data->remarks :'-'}} | {{$data->attachment_file_name != "" ? $data->attachment_file_name :'-'}} | @if(Gate::check('edit project specification') || Gate::check('delete project specification'))
@can('edit project specification')
$projectid,
"id"=>$data->id]) }}"
data-ajax-popup="true" data-size="xl" data-bs-toggle="tooltip"
title="{{__('Edit')}}" data-title="{{__('Edit Project Specifications Summary')}}">
@endcan
@can('delete project specification')
{!! Form::open(['method' => 'POST',
'route' => ['delete_project_specification', $data->id],'id'=>'delete-form-'.$data->id]) !!}
{{ Form::hidden('id',$data->id, ['class' => 'form-control']) }}
{{ Form::hidden('projectid',$projectid, ['class' => 'form-control']) }}
{!! Form::close() !!}
@endcan
|
@endif