{{-- --}} {{-- --}} @php $tr_id = 1; @endphp @forelse ($tenderSubcon as $subcon) @php $main_trade = $subcon->main_trade != null ? json_decode($subcon->main_trade) : []; $sub_division = $subcon->sub_division != null ? json_decode($subcon->sub_division) : []; $incharge_id = $subcon->incharge_id != null ? json_decode($subcon->incharge_id) : []; $file_id = $subcon->file_id != null ? json_decode($subcon->file_id) : []; $file_id_implode = count($file_id) > 0 ? implode(',', $file_id) : null; $files = \App\Models\TenderFiles::whereIn('id', $file_id)->get(); $subcon_data = json_decode($subcon->subcon_data, true); $subcon_data_array = []; foreach ($subcon_data as $key => $value) { if (isset($value['subcon_id'])) { $subcon_data_array[] = $value['subcon_id']; } } $subcon_json = count($subcon_data_array) > 0 ? json_encode($subcon_data_array) : null; @endphp {{-- --}} @php $tr_id++; @endphp @empty {{-- --}} @endforelse
{{ __('#') }}{{ __('Trade') }} {{ __('Sub Division') }}{{ __('Type') }}{{ __('Sub-Contractor') }} {{ __('Incharge') }} {{ __('Upload') }} {{ __('RFQ Message to SC') }} {{ __('Quote Before') }} {{ __('Action') }}
Upload
@foreach ($files as $file)
{{ $file->file_name }}   
@endforeach
@if ($tr_id == 1) @else @endif
Upload