turkmentv/resources/views/web/bukjalar.blade.php

651 lines
58 KiB
PHP
Raw Normal View History

2020-08-11 09:21:44 +00:00
@extends('web.layouts.app')
@section('after_styles')
<link rel="stylesheet" href="https://turkmentv.gov.tm/assets/css/simple-line-icons.css">
<link rel="stylesheet" href="https://turkmentv.gov.tm/assets/libs/owl/owl-carousel/owl.carousel.css">
<link rel="stylesheet" href="https://turkmentv.gov.tm/assets/libs/owl/owl-carousel/owl.theme.css">
<link rel="stylesheet" href="https://turkmentv.gov.tm/assets/css/3dslider-style.css">
<link rel="stylesheet" href="https://turkmentv.gov.tm/assets/css/mahabat_styles.css">
2020-08-11 09:21:44 +00:00
@endsection
@section('content')
<style>
.table {
margin-bottom: 0px;
}
2021-05-21 10:55:02 +00:00
.vertical-tab .nav-tabs li a:after{
background: transparent!important
}
2021-05-21 10:58:30 +00:00
.left-bar ul li a{
background: #fff!important
2021-05-21 10:55:02 +00:00
}
2021-05-21 11:03:33 +00:00
.left-bar ul li a:hover{
background: transparent!important
}
2021-05-21 10:58:30 +00:00
.left-bar ul .active a{
background: transparent!important
2021-05-21 10:55:02 +00:00
}
</style>
2021-05-21 10:55:02 +00:00
<div class="container wrapper" style="padding-top: 10px !important;padding-bottom: 10px !important; margin-bottom: 5em; overflow-x:hidden!important">
2020-08-11 09:21:44 +00:00
<div class="row" style="padding-top: 0; padding-bottom: 0">
@if(isset($folders))
<div class="col-md-3 col-lg-3 col-xs-12" style="padding:0;">
<div class="vertical-tab" role="tabpanel">
<!-- Nav tabs -->
<div class="left-bar " style="position:relative;">
2020-08-15 10:30:51 +00:00
<div>
<ul class="nav nav-tabs prop_ul" role="tablist" style="box-shadow: 0px 0px 5px #aaaaaa;">
@foreach($props as $prop)
2021-05-21 10:55:02 +00:00
<li role="presentation" prop-id="{{$prop->filter_value}}" class="{{ ($prop->filter_value==1) ? 'active' : ''}}" style="background: {{ $prop->color }}"><a href="#Section{{$prop->filter_value}}" id="prop-{{$prop->filter_value}}" aria-controls="home-{{$prop->id}}" role="tab" data-toggle="tab">{{$prop->title}}</a></li>
2020-08-15 10:30:51 +00:00
@endforeach
</ul>
</div>
<div class="contact-info-box mobile-d-none">
2020-08-15 10:30:51 +00:00
<h4><b>MAHABAT MÜDIRLIGI</b></h4>
<ul class="list-unstyled">
<li>Phone: +993 12 493705</li>
<li>Aşgabat şäheri Oguzhan 13</li>
2021-04-06 07:39:14 +00:00
<li>{{ $email }}</li>
2020-08-15 10:30:51 +00:00
</ul>
</div>
2020-08-11 09:21:44 +00:00
</div>
</div>
</div>
2020-08-22 11:50:48 +00:00
<div class="col-md-6 col-lg-6 col-xs-12 m-p-0 mt-1">
2020-08-15 10:30:51 +00:00
<div class="filter-buttons-box">
2020-08-22 11:50:48 +00:00
<button class="btn filter-btn tv-filter-btn active-filter-btn">TV</button>
2020-08-15 10:30:51 +00:00
<button class="btn filter-btn radio-filter-btn">RADIO</button>
<button class="btn filter-btn sub-filter-btn">SUBTITLE</button>
<button class="btn filter-btn web-filter-btn">WEBSITE</button>
2021-07-30 09:03:32 +00:00
<button class="btn filter-btn belet-filter-btn">BELET</button>
2020-08-15 10:30:51 +00:00
</div>
2020-08-11 09:21:44 +00:00
<div class="vertical-tab" role="tabpanel" style="box-shadow: 0px 0px 5px #aaaaaa; border: 0;">
<!-- Tab panes -->
2020-08-15 10:30:51 +00:00
<div class="tab-content tabs folders-tab" style="border: 0;">
2020-08-11 09:21:44 +00:00
@foreach($props as $prop)
@if($prop->filter_value==1)
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
2020-08-15 10:30:51 +00:00
<h3 class="m-t-c">{{$prop->title}}</h3>
2020-08-11 09:21:44 +00:00
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
2020-08-15 10:30:51 +00:00
</div>
2020-08-22 11:50:48 +00:00
<div class="for-scroll-box">
2020-08-11 09:21:44 +00:00
@foreach($folders as $folder)
2021-08-13 08:49:44 +00:00
@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>
</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>
<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>
</div>
@endif
</div>
@endif
@endforeach
</div>
</div>
@endif
@if($prop->filter_value==2)
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
<h3 class="m-t-c">{{$prop->title}}</h3>
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
</div>
<div class="for-scroll-box">
@foreach($folders as $folder)
@if($folder->property->filter_value ==2)
2020-08-22 11:50:48 +00:00
<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
2021-07-30 09:21:23 +00:00
@if($folder->on_web != false) on_web @endif
@if($folder->on_belet != false) on_belet @endif">
2020-08-22 11:50:48 +00:00
@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">
2021-08-13 08:49:44 +00:00
<h4 class="text-center folder_title" style="border-bottom: 1px solid slategray; color:#fff; background-color: {{ $folder->property->color }}; padding: 4px 0px;">
2021-05-21 10:55:02 +00:00
<b>{{$folder->title}}</b>
</h4>
2020-08-22 11:50:48 +00:00
</div>
2020-08-15 10:30:51 +00:00
</div>
2020-08-22 11:50:48 +00:00
<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>
2021-08-13 08:49:44 +00:00
<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>
2020-08-22 11:50:48 +00:00
</thead>
<tbody>
@isset($folder->folder_table)
@foreach($folder->folder_table as $table)
<tr>
2021-07-30 08:55:48 +00:00
<td>@isset($table['time']) {{$table['time']}} @endisset</td>
2021-07-30 09:17:24 +00:00
@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
2021-07-30 09:23:37 +00:00
@if($folder->on_belet)
2021-07-30 09:17:24 +00:00
<td>@isset($table['set_belet']) {{$table['set_belet']}} @endisset</td>
@endif
2020-08-22 11:50:48 +00:00
</tr>
@endforeach
@endisset
</tbody>
</table>
</div>
</div>
@endif
</div>
@endif
@endforeach
</div>
</div>
@endif
2021-04-06 07:39:14 +00:00
@if($prop->filter_value == 3)
2020-08-22 11:50:48 +00:00
<div role="tabpanel" class="tab-pane fade {{ ($prop->filter_value==1) ? 'in active' : ''}}" id="Section{{$prop->filter_value}}">
<h3 class="m-t-c">{{$prop->title}}</h3>
<div class="prop-desc">
<p>{!! $prop->description !!}</p>
</div>
<div class="for-scroll-box">
@foreach($folders as $folder)
2021-08-13 08:49:44 +00:00
@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(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="border-bottom: 1px solid slategray; color:#fff; background-color: {{ $folder->property->color }}; padding: 4px 0px;">
<b>{{$folder->title}}</b>
</h4>
2020-08-22 11:50:48 +00:00
</div>
2021-08-13 08:49:44 +00:00
</div>
<div class="row">
<div class="col-md-12 col-xs-12 for-border-box" style="padding:0">
<div>
<p>{!! $folder->description !!}</p>
2020-08-22 11:50:48 +00:00
</div>
2021-08-13 08:49:44 +00:00
<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>
<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>
2020-08-11 09:21:44 +00:00
</div>
2021-08-13 08:49:44 +00:00
</div>
@endif
</div>
2020-08-22 11:50:48 +00:00
@endif
@endforeach
</div>
2020-08-11 09:21:44 +00:00
</div>
@endif
@endforeach
</div>
</div>
</div>
<div class="col-md-3 col-lg-3 col-xs-12 mt-1">
2020-08-22 11:50:48 +00:00
<div>
2020-08-15 10:30:51 +00:00
<div class="calc_boxx">
<h4 class="fontSemiBold calc_text">CALCULATOR</h4>
<span class="order-text">Sargyt etmek üçin aşakdaky maglumatlary dolduryň</span>
<form id="folder_form">
<div class="form-row for-add-button">
<div class="row add_box">
<div class="calculator-box">
<div class="mb-3" style="margin-top: 1em;">
<label for="validationDefault01">Sekund sany
2020-08-22 11:50:48 +00:00
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Duration of commercial" class="fa fa-info-circle"></i>
2020-08-15 10:30:51 +00:00
</label>
<input type="number" class="form-control" id="calc_second" placeholder="Naçe sekunt?" value="" required>
</div>
<div style="display: none;">
<span id='selected_folder_text' style="display:none;"></span>
</div>
<div class="mb-3" style="margin-top: 1em;">
<label for="folder_select">Bukja
2020-08-22 11:50:48 +00:00
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Choose your package" class="fa fa-info-circle"></i>
2020-08-15 10:30:51 +00:00
</label>
<select id="folder_select" class="form-control" name="folder_select">
<option selected>--</option>
<optgroup id="opt_prop_1" label="Döwlet eýeçiligi">
@foreach($folders as $folder)
@if($folder->property->filter_value == 1)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$folder->id}}" class="sel_sel_time belet_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endif
@endforeach
</optgroup>
<optgroup id="opt_prop_2" label="Hususy eýeçilikdäki ýerli kärhanalar">
@foreach($folders as $folder)
@if($folder->property->filter_value == 2)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$folder->id}}" class="sel_sel_time belet_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endif
@endforeach
</optgroup>
<optgroup id="opt_prop_3" label="Daşary ýurt kärhanalary we ilçihanalar">
@foreach($folders as $folder)
@if($folder->property->filter_value == 3)
@if($folder->on_tv != false)
<option value="{{$folder->id}}" class="sel_sel_time tv_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$folder->id}}" class="sel_sel_time radio_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$folder->id}}" class="sel_sel_time subtitle_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$folder->id}}" class="sel_sel_time web_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$folder->id}}" class="sel_sel_time belet_time" @if(isset($folder->total_price)) price="{{$folder->total_price}}" @endif folder_propId="{{$folder->property->filter_value}}" choiceTime="{{$folder->choice_time}}">{{$folder->title}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endif
@endforeach
</optgroup>
</select>
</div>
<div class="mb-3" id="bukja_1_1_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time1">Wagt aralygy</label>
<select id="select_time1" class="form-control sel_time">
<option selected>--</option>
2020-08-11 09:21:44 +00:00
@foreach($folders as $folder)
@if($folder->property->filter_value == 1)
2020-08-15 10:30:51 +00:00
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time belet_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endforeach
@endif
2020-08-11 09:21:44 +00:00
@endif
@endforeach
2020-08-15 10:30:51 +00:00
</select>
</div>
<div class="mb-3" id="bukja_1_2_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time2">Wagt aralygy</label>
<span id=""></span>
<select id="select_time2" class="form-control sel_time">
<option selected>--</option>
2020-08-11 09:21:44 +00:00
@foreach($folders as $folder)
@if($folder->property->filter_value == 2)
2020-08-15 10:30:51 +00:00
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time belet_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endforeach
@endif
2020-08-11 09:21:44 +00:00
@endif
@endforeach
2020-08-15 10:30:51 +00:00
</select>
</div>
<div class="mb-3" id="bukja_1_3_wagt" style="display: none; width: 100%; margin-top: 1em;">
<label for="select_time3">Wagt aralygy</label>
<span id=""></span>
<select id="select_time3" class="form-control sel_time">
<option selected>--</option>
2020-08-11 09:21:44 +00:00
@foreach($folders as $folder)
@if($folder->property->filter_value == 3)
2020-08-15 10:30:51 +00:00
@if($folder->choice_time == true)
@foreach($folder->folder_table as $ft)
@if($folder->on_tv != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time tv_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_radio != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time radio_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_subtitle != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time subtitle_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
@if($folder->on_web != false)
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time web_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
@endif
2021-07-30 09:02:11 +00:00
@if($folder->on_belet != false)
2021-07-30 09:37:53 +00:00
<option value="{{$ft['price'] ?? '0'}}" class="sel_sel_time belet_time" data-toggle="tooltip" title="{{$ft['price'] ?? '0'}} TMT">{{$ft['time'] ?? ''}}</option>
2021-07-30 09:02:11 +00:00
@endif
2020-08-15 10:30:51 +00:00
@endforeach
@endif
2020-08-11 09:21:44 +00:00
@endif
@endforeach
2020-08-15 10:30:51 +00:00
</select>
</div>
2020-08-11 09:21:44 +00:00
2020-08-15 10:30:51 +00:00
<div class="mb-3 form-group" style="margin-top: 1em;">
<label for="folder_day">Gün
2020-08-22 11:50:48 +00:00
<i style="color:dodgerblue; cursor:pointer;" data-toggle="tooltip" data-placement="top" title="Number of days of air" class="fa fa-info-circle"></i>
2020-08-15 10:30:51 +00:00
</label>
<input type="number" class="form-control" id="folder_day" placeholder="Naçe gün" value="" required>
</div>
<div class=" mb-3 form-group">
<label for="all_price">Jemi baha</label>
<div class="all_total_price" style="color:#187F7E"><span id="all_price" style="color:#187F7E">0</span> TMT</div>
</div>
<div class="text-right mb-3">
<button type="button" class="btn" id="hasapla-btn" style="font-size: 1em; background-color: #187F7E; color: #fff;">Hasapla</button> |
2021-04-06 07:39:14 +00:00
<button type="button" class="btn" id="add_new_calc" style="font-size: 1em; background-color: #187F7E; color: #fff; ">Sargydyma goş +</button>
2020-08-15 10:30:51 +00:00
</div>
<div id="customer_cases" style="margin-top: 1em;"> {{--For orders--}} </div>
2020-08-11 09:21:44 +00:00
2020-08-15 10:30:51 +00:00
</div>
2020-08-11 09:21:44 +00:00
</div>
</div>
2020-08-15 10:30:51 +00:00
<div class="row" id="order_it_box" style="display: none;">
<div style="margin-top:15px; width:100%; text-align: right;">
<button type="button" class="btn btn-danger" id="clear_table">Arassala</button> |
<button type="button" class="btn btn-primary" id="order_it_btn" data-toggle="modal"
data-target="#exampleModalCenter" style="background-color: #187F7E; border:1px solid #187F7E;">Sargyt et</button>
</div>
2020-08-11 09:21:44 +00:00
</div>
2020-08-15 10:30:51 +00:00
</form>
2020-08-11 09:21:44 +00:00
2020-08-15 10:30:51 +00:00
</div>
<div class="yaylym-tertip">
<a href="/mahabat" class="btn yaylym-btn">ÝAÝLYM TERTIBI</a>
<p class="yaylym_text">Sargyt edilen mahabatlaryň ýaýlyma goýberilişi bilen tanyşmak üçin ýaýlym tertibine basyň!</p>
</div>
<div class="contact-info-box desctop-d-none" style="margin-top: 1em;">
<h4><b>MAHABAT MÜDIRLIGI</b></h4>
<ul class="list-unstyled">
<li>Phone: +993 12 493705</li>
<li>Aşgabat şäheri Oguzhan 13</li>
2021-04-06 07:39:14 +00:00
<li>{{ $email }}</li>
</ul>
</div>
2020-08-11 09:21:44 +00:00
</div>
</div>
{{--Udalit-etmeli-dal--}}
<div class="nyrhnama-box">
<div class="calc-box" style="margin-bottom: 25px;">
<div class="ui active centered inline loader"></div>
<form id="folder_form">
<div class="udalit-etmeli-dal-tablitsa">
<div class="row" style="margin-top: 25px;">
<div class="col-md-12">
<h4 class="fontSemiBold">Siziň saýlan bukjalaryňyz</h4>
<h6 id="no-table-message" class="fontSemiBold" style="color: red;">Siz entek bukja saýlaňyzok.</h6>
</div>
</div>
<div id="orders-table-box" style="display: none;">
<div class="row" style="margin-top:15px;">
<div class="customer_table">
<span id="choices_count" style="display: none;"></span>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Saýlanan bukja</th>
<th scope="col">Sekund</th>
<th scope="col">Wagt aralygy</th>
<th scope="col">Gün sany</th>
<th scope="col">Bukja üçin jemi baha</th>
</tr>
</thead>
<tbody id="orders_table">
2021-07-30 08:55:48 +00:00
{{-- zakazy sdes--}}
2020-08-11 09:21:44 +00:00
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{{--Udalit-etmeli-dal-end--}}
@else
<div class="col-md-12 col-xs-12 text-center">
<p><b>Bukja yok</b></p>
</div>
@endif
{{--<!--Sargyt uchin modal-->--}}
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
2020-08-18 12:24:44 +00:00
<h5 class="modal-title" id="exampleModalCenterTitle">Bukjany sargyt etmek üçin aşakdaky maglumatlary dolduryň</h5>
2020-08-11 09:21:44 +00:00
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<form id="send_form" method="POST" action="{{route('bukjalar.store')}}">
<div class="modal-body">
<div class="alert alert-success" role="alert" id="alert_success" style="display: none">
Siziň bukjaňyz üstünlikli kabul edildi. Bizden barjak jaňa garaşmagyňyzy haýyş edýäris.
2020-08-11 09:21:44 +00:00
</div>
<div class="alert alert-danger" role="alert" id="alert_danger" style="display: none">
Ýalňyşlyk ýüze çykdy. Täzeden synanyşyň ýa-da <a href="{{route('cont')}}">Habarlaşmak üçin</a> bölümini saýlaň.
2020-08-11 09:21:44 +00:00
</div>
<div class="form-group">
<label for="customer_name" class="col-form-label">Ady:<span style="color:red;">*</span></label>
<input type="text" class="form-control for-clear" id="customer_name" placeholder="Sargyt edijiniň ady ýa-da familiýasy" required>
</div>
{{csrf_field()}}
<div class="form-group">
<label for="customer_phone" class="col-form-label">Telefon: <span style="color:red;">*</span></label>
<input type="text" class="form-control for-clear" id="customer_phone" placeholder="+993 61234567" required>
</div>
<div class="form-group">
<label for="customer_email" class="col-form-label">E-mail:</label>
<input type="email" class="form-control for-clear" id="customer_email" placeholder="meselem@gmail.com">
</div>
<div class="form-group">
<label for="customer_notes" class="col-form-label" >Goşmaça bellikler:</label>
<textarea class="form-control for-clear" id="customer_notes" placeholder="Mahabat etmek isleäýän zadyňyz barada şu ýerik ýazyň..."></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Yza</button>
<button type="button" class="btn btn-primary" id="customer_send_btn" style="background-color: #187F7E; border:1px solid #187F7E;">Ugrat</button>
</div>
</form>
</div>
</div>
</div>
{{--<!--Sargyt uchin modal end-->--}}
</div>
</div>
@endsection
@section('after_scripts')
<script src="https://turkmentv.gov.tm/assets/libs/owl/owl-carousel/owl.carousel.js"></script>
<script src="https://turkmentv.gov.tm/assets/js/index.js"></script>
<script src="https://turkmentv.gov.tm/assets/js/scripts.js"></script>
2020-08-11 09:21:44 +00:00
@endsection