folder usage name
This commit is contained in:
parent
0630264e38
commit
95738bc74f
|
|
@ -62,11 +62,11 @@ class FolderCrudController extends CrudController
|
|||
'name'=>'usage_name',
|
||||
'type'=>'select_from_array',
|
||||
'options' => [
|
||||
'TV' => 'TV',
|
||||
'Radio' => 'Radio',
|
||||
'Belet' => 'Belet',
|
||||
'Subtitle' => 'Subtitle',
|
||||
'Website' => 'Website',
|
||||
'on_tv' => 'TV',
|
||||
'on_radio' => 'Radio',
|
||||
'on_belet' => 'Belet',
|
||||
'on_subtitle' => 'Subtitle',
|
||||
'on_web' => 'Website',
|
||||
]
|
||||
],
|
||||
//Total Price
|
||||
|
|
|
|||
|
|
@ -69,81 +69,75 @@
|
|||
</div>
|
||||
<div class="for-scroll-box">
|
||||
@foreach($folders as $folder)
|
||||
@if(str_contains($folder->title, $folder->usage_name))
|
||||
@if($folder->property->filter_value == 1)
|
||||
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
|
||||
@if($folder->on_radio != false) on_radio @endif
|
||||
@if($folder->on_subtitle != false) on_subtitle @endif
|
||||
@if($folder->on_web != false) on_web @endif
|
||||
@if($folder->on_belet != false) on_belet @endif">
|
||||
@if(isset($folder->total_price) & $folder->total_price !== '')
|
||||
@php
|
||||
$k=0
|
||||
@endphp
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-12" style="padding:0">
|
||||
<h4 class="text-center folder_title" style="background: {{ $folder->property->color }}">
|
||||
<b>{{$folder->title}}</b>
|
||||
</h4>
|
||||
</div>
|
||||
@if($folder->property->filter_value == 1)
|
||||
<div class="bukja-table {{ $folder->usage_name }}">
|
||||
@if(isset($folder->total_price) & $folder->total_price !== '')
|
||||
@php
|
||||
$k=0
|
||||
@endphp
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-12" style="padding:0">
|
||||
<h4 class="text-center folder_title" style="background: {{ $folder->property->color }}">
|
||||
<b>{{$folder->title}}</b>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
|
||||
<div>
|
||||
<p>{!! $folder->description !!}</p>
|
||||
</div>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
|
||||
<div>
|
||||
<p>{!! $folder->description !!}</p>
|
||||
</div>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Wagt aralygy</th>
|
||||
@if($folder->on_tv)
|
||||
<th scope="col">TV</th>
|
||||
@endif
|
||||
@if($folder->on_radio)
|
||||
<th scope="col">Radio</th>
|
||||
@endif
|
||||
@if($folder->on_subtitle)
|
||||
<th scope="col">Subtitle</th>
|
||||
@endif
|
||||
@if($folder->on_web)
|
||||
<th scope="col">Web</th>
|
||||
@endif
|
||||
@if($folder->on_belet)
|
||||
<th scope="col">Belet</th>
|
||||
@endif
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@isset($folder->folder_table)
|
||||
@foreach($folder->folder_table as $table)
|
||||
<tr>
|
||||
<th scope="col">Wagt aralygy</th>
|
||||
|
||||
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
|
||||
@if($folder->on_tv)
|
||||
<th scope="col">TV</th>
|
||||
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_radio)
|
||||
<th scope="col">Radio</th>
|
||||
<td>@isset($table['set_radio']) {{$table['set_radio']}}@endisset</td>
|
||||
@endif
|
||||
@if($folder->on_subtitle)
|
||||
<th scope="col">Subtitle</th>
|
||||
<td>@isset($table['set_sub']) {{$table['set_sub']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_web)
|
||||
<th scope="col">Web</th>
|
||||
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_belet)
|
||||
<th scope="col">Belet</th>
|
||||
<td>@isset($table['set_belet']) {{$table['set_belet']}} @endisset</td>
|
||||
@endif
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@isset($folder->folder_table)
|
||||
@foreach($folder->folder_table as $table)
|
||||
<tr>
|
||||
|
||||
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
|
||||
@if($folder->on_tv)
|
||||
<td>@isset($table['set_tv']) {{$table['set_tv']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_radio)
|
||||
<td>@isset($table['set_radio']) {{$table['set_radio']}}@endisset</td>
|
||||
@endif
|
||||
@if($folder->on_subtitle)
|
||||
<td>@isset($table['set_sub']) {{$table['set_sub']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_web)
|
||||
<td>@isset($table['set_web']) {{$table['set_web']}} @endisset</td>
|
||||
@endif
|
||||
@if($folder->on_belet)
|
||||
<td>@isset($table['set_belet']) {{$table['set_belet']}} @endisset</td>
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
@endisset
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@endforeach
|
||||
@endisset
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
@ -157,13 +151,8 @@
|
|||
</div>
|
||||
<div class="for-scroll-box">
|
||||
@foreach($folders as $folder)
|
||||
@if(str_contains($folder->title, $folder->usage_name))
|
||||
@if($folder->property->filter_value ==2)
|
||||
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
|
||||
@if($folder->on_radio != false) on_radio @endif
|
||||
@if($folder->on_subtitle != false) on_subtitle @endif
|
||||
@if($folder->on_web != false) on_web @endif
|
||||
@if($folder->on_belet != false) on_belet @endif">
|
||||
@if($folder->property->filter_value ==2)
|
||||
<div class="bukja-table {{ $folder->usage_name }}">
|
||||
@if(isset($folder->total_price) & $folder->total_price !== '')
|
||||
@php
|
||||
$k=0
|
||||
|
|
@ -231,7 +220,6 @@
|
|||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -244,13 +232,8 @@
|
|||
</div>
|
||||
<div class="for-scroll-box">
|
||||
@foreach($folders as $folder)
|
||||
@if(str_contains($folder->title, $folder->usage_name))
|
||||
@if($folder->property->filter_value == 3)
|
||||
<div class="bukja-table @if($folder->on_tv != false) on_tv @endif
|
||||
@if($folder->on_radio != false) on_radio @endif
|
||||
@if($folder->on_subtitle != false) on_subtitle @endif
|
||||
@if($folder->on_web != false) on_web @endif
|
||||
@if($folder->on_belet != false) on_belet @endif">
|
||||
@if($folder->property->filter_value == 3)
|
||||
<div class="bukja-table {{ $folder->usage_name }}">
|
||||
@if(isset($folder->total_price) & $folder->total_price !== '')
|
||||
@php
|
||||
$k=0
|
||||
|
|
@ -317,7 +300,6 @@
|
|||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue