dropdown and price changes
This commit is contained in:
parent
8155a8390a
commit
3e15cc7cc8
|
|
@ -241,11 +241,11 @@ document.body.onload = function () {
|
|||
}
|
||||
else if(sec>0 && day>0 && bukja_price>=0 && !time_price>=0){
|
||||
if(folder_name.includes('Altyn')){
|
||||
total = ((sec*day*bukja_price)/60)+(day*200);
|
||||
total = ((sec*day*bukja_price)/60)+(day*beletprice);
|
||||
total=total.toFixed(2);
|
||||
}
|
||||
else{
|
||||
total = ((sec*day*bukja_price)/60)+(day*100);
|
||||
total = ((sec*day*bukja_price)/60)+(day*beletprice);
|
||||
total=total.toFixed(2);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -357,19 +357,19 @@
|
|||
<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)
|
||||
@if($folder->usage_name == 'on_tv')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_radio')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_subtitle')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_web')
|
||||
<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
|
||||
@if($folder->on_belet != false)
|
||||
@if($folder->usage_name == 'on_belet')
|
||||
<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>
|
||||
@endif
|
||||
@endif
|
||||
|
|
@ -378,19 +378,19 @@
|
|||
<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)
|
||||
@if($folder->usage_name == 'on_tv')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_radio')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_subtitle')
|
||||
<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)
|
||||
@if($folder->usage_name == 'on_web')
|
||||
<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
|
||||
@if($folder->on_belet != false)
|
||||
@if($folder->usage_name == 'on_belet')
|
||||
<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>
|
||||
@endif
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue