|
|
@@ -148,13 +148,15 @@
|
|
|
style="cursor: help; text-decoration: underline dotted;">
|
|
|
{{ $string->$headerName }}
|
|
|
</span>
|
|
|
- @elseif($headerName === 'pricing_codes_list' && $string->$headerName)
|
|
|
- <span data-bs-toggle="tooltip"
|
|
|
- data-bs-placement="top"
|
|
|
- title="{{ $string->pricing_code_description ?? 'Нет расшифровки' }}"
|
|
|
- style="cursor: help; text-decoration: underline dotted;">
|
|
|
- {{ $string->$headerName }}
|
|
|
- </span>
|
|
|
+ @elseif($headerName === 'pricing_codes_list' && $string->pricingCodes->count() > 0)
|
|
|
+ @foreach($string->pricingCodes as $pricingCode)
|
|
|
+ <span data-bs-toggle="tooltip"
|
|
|
+ data-bs-placement="top"
|
|
|
+ title="{{ $pricingCode->description ?? 'Нет расшифровки' }}"
|
|
|
+ style="cursor: help; text-decoration: underline dotted;">
|
|
|
+ {{ $pricingCode->code }}
|
|
|
+ </span>@if(!$loop->last)<br>@endif
|
|
|
+ @endforeach
|
|
|
@else
|
|
|
<p title="{!! $string->$headerName !!}">
|
|
|
{!! \Illuminate\Support\Str::words($string->$headerName, config('app.words_in_table_cell_limit'), ' ...') !!}
|