Server IP : 66.29.132.124 / Your IP : 3.148.145.219 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/Flight/Views/admin/settings/ |
Upload File : |
<div class="row"> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Page Search")}}</h3> <p class="form-group-desc">{{__('Config page search of your website')}}</p> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-title"><strong>{{__("General Options")}}</strong></div> <div class="panel-body"> <div class="form-group"> <label class="" >{{__("Title Page")}}</label> <div class="form-controls"> <input type="text" name="flight_page_search_title" value="{{setting_item_with_lang('flight_page_search_title',request()->query('lang'))}}" class="form-control"> </div> </div> @if(is_default_lang()) <div class="form-group"> <label class="" >{{__("Banner Page")}}</label> <div class="form-controls form-group-image"> {!! \Modules\Media\Helpers\FileHelper::fieldUpload('flight_page_search_banner',$settings['flight_page_search_banner'] ?? "") !!} </div> </div> {{--<div class="form-group"> <label class="" >{{__("Layout Search")}}</label> <div class="form-controls"> <select name="flight_layout_search" class="form-control" > <option value="normal" {{ ($settings['flight_layout_search'] ?? '') == 'normal' ? 'selected' : '' }}>{{__("Normal Layout")}}</option> <option value="map" {{($settings['flight_layout_search'] ?? '') == 'map' ? 'selected' : '' }}>{{__('Map Layout')}}</option> </select> </div> </div>--}} @endif {{--<div class="form-group"> <label class="" >{{__("Layout Map Option")}}</label> <div class="form-controls"> <select name="flight_layout_map_option" class="form-control"> <option {{ (setting_item_with_lang('flight_layout_map_option',request()->query('lang')) ?? '') == 'map_left' ? 'selected' : '' }} value="map_left">{{__('Map Left')}}</option> <option {{ (setting_item_with_lang('flight_layout_map_option',request()->query('lang')) ?? '') == 'map_right' ? 'selected' : '' }} value="map_right">{{__("Map Right")}}</option> </select> </div> </div>--}} @if(is_default_lang()) <div class="form-group"> <label class="" >{{__("Limit item per Page")}}</label> <div class="form-controls"> <input type="number" min="1" name="flight_page_limit_item" placeholder="{{ __("Default: 9") }}" value="{{setting_item_with_lang('flight_page_limit_item',request()->query('lang'), 9)}}" class="form-control"> </div> </div> {{--<div class="form-group"> <label class="" >{{__("Location Search Style")}}</label> <div class="form-controls"> <select name="flight_location_search_style" class="form-control"> <option {{ ($settings['flight_location_search_style'] ?? '') == 'normal' ? 'selected' : '' }} value="normal">{{__("Normal")}}</option> <option {{ ($settings['flight_location_search_style'] ?? '') == 'autocomplete' ? 'selected' : '' }} value="autocomplete">{{__('Autocomplete from locations')}}</option> </select> </div> </div> <div class="form-group"> <label class="" >{{__("Icon Marker in Map")}}</label> <div class="form-controls form-group-image"> {!! \Modules\Media\Helpers\FileHelper::fieldUpload('flight_icon_marker_map',$settings['flight_icon_marker_map'] ?? "") !!} </div> </div>--}} @endif </div> </div> @include('Flight::admin.settings.form-search') {{--@include('Flight::admin.settings.map-search')--}} <div class="panel"> <div class="panel-title"><strong>{{__("SEO Options")}}</strong></div> <div class="panel-body"> <div class="form-group"> <ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link active" data-toggle="tab" href="#seo_1">{{__("General Options")}}</a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#seo_2">{{__("Share Facebook")}}</a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#seo_3">{{__("Share Twitter")}}</a> </li> </ul> <div class="tab-content" > <div class="tab-pane active" id="seo_1"> <div class="form-group" > <label class="control-label">{{__("Seo Title")}}</label> <input type="text" name="flight_page_list_seo_title" class="form-control" placeholder="{{__("Enter title...")}}" value="{{ setting_item_with_lang('flight_page_list_seo_title',request()->query('lang'))}}"> </div> <div class="form-group"> <label class="control-label">{{__("Seo Description")}}</label> <input type="text" name="flight_page_list_seo_desc" class="form-control" placeholder="{{__("Enter description...")}}" value="{{setting_item_with_lang('flight_page_list_seo_desc',request()->query('lang'))}}"> </div> @if(is_default_lang()) <div class="form-group form-group-image"> <label class="control-label">{{__("Featured Image")}}</label> {!! \Modules\Media\Helpers\FileHelper::fieldUpload('flight_page_list_seo_image', $settings['flight_page_list_seo_image'] ?? "" ) !!} </div> @endif </div> @php $seo_share = json_decode(setting_item_with_lang('flight_page_list_seo_desc',request()->query('lang'),'[]'),true); @endphp <div class="tab-pane" id="seo_2"> <div class="form-group"> <label class="control-label">{{__("Facebook Title")}}</label> <input type="text" name="flight_page_list_seo_share[facebook][title]" class="form-control" placeholder="{{__("Enter title...")}}" value="{{$seo_share['facebook']['title'] ?? "" }}"> </div> <div class="form-group"> <label class="control-label">{{__("Facebook Description")}}</label> <input type="text" name="flight_page_list_seo_share[facebook][desc]" class="form-control" placeholder="{{__("Enter description...")}}" value="{{$seo_share['facebook']['desc'] ?? "" }}"> </div> @if(is_default_lang()) <div class="form-group form-group-image"> <label class="control-label">{{__("Facebook Image")}}</label> {!! \Modules\Media\Helpers\FileHelper::fieldUpload('flight_page_list_seo_share[facebook][image]',$seo_share['facebook']['image'] ?? "" ) !!} </div> @endif </div> <div class="tab-pane" id="seo_3"> <div class="form-group"> <label class="control-label">{{__("Twitter Title")}}</label> <input type="text" name="flight_page_list_seo_share[twitter][title]" class="form-control" placeholder="{{__("Enter title...")}}" value="{{$seo_share['twitter']['title'] ?? "" }}"> </div> <div class="form-group"> <label class="control-label">{{__("Twitter Description")}}</label> <input type="text" name="flight_page_list_seo_share[twitter][desc]" class="form-control" placeholder="{{__("Enter description...")}}" value="{{$seo_share['twitter']['title'] ?? "" }}"> </div> @if(is_default_lang()) <div class="form-group form-group-image"> <label class="control-label">{{__("Twitter Image")}}</label> {!! \Modules\Media\Helpers\FileHelper::fieldUpload('flight_page_list_seo_share[twitter][image]', $seo_share['twitter']['image'] ?? "" ) !!} </div> @endif </div> </div> </div> </div> </div> </div> </div> @if(is_default_lang()) <div class="row d-none"> <hr> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Review Options")}}</h3> <p class="form-group-desc">{{__('Config review for flight')}}</p> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-body"> <div class="form-group"> <label class="" >{{__("Enable review system for Flight?")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_enable_review" value="1" @if(!empty($settings['flight_enable_review'])) checked @endif /> {{__("Yes, please enable it")}} </label> <br> <small class="form-text text-muted">{{__("Turn on the mode for reviewing flight")}}</small> </div> </div> <div class="form-group" data-condition="flight_enable_review:is(1)"> <label class="" >{{__("Customer must book a flight before writing a review?")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_enable_review_after_booking" value="1" @if(!empty($settings['flight_enable_review_after_booking'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: Only post a review after booking - Off: Post review without booking")}}</small> </div> </div> <div class="form-group" data-condition="flight_enable_review:is(1),flight_enable_review_after_booking:is(1)"> <label>{{__("Allow review after making Completed Booking?")}}</label> <div class="form-controls"> @php $status = config('booking.statuses'); $settings_status = !empty($settings['flight_allow_review_after_making_completed_booking']) ? json_decode($settings['flight_allow_review_after_making_completed_booking']) : []; @endphp <div class="row"> @foreach($status as $item) <div class="col-md-4"> <label><input type="checkbox" name="flight_allow_review_after_making_completed_booking[]" @if(in_array($item,$settings_status)) checked @endif value="{{$item}}" /> {{booking_status_to_text($item)}} </label> </div> @endforeach </div> <small class="form-text text-muted">{{__("Pick to the Booking Status, that allows reviews after booking")}}</small> <small class="form-text text-muted">{{__("Leave blank if you allow writing the review with all booking status")}}</small> </div> </div> <div class="form-group" data-condition="flight_enable_review:is(1)"> <label class="" >{{__("Review must be approval by admin")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_review_approved" value="1" @if(!empty($settings['flight_review_approved'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: Review must be approved by admin - OFF: Review is automatically approved")}}</small> </div> </div> <div class="form-group" data-condition="flight_enable_review:is(1)"> <label class="" >{{__("Review number per page")}}</label> <div class="form-controls"> <input type="number" class="form-control" name="flight_review_number_per_page" value="{{ $settings['flight_review_number_per_page'] ?? 5 }}" /> <small class="form-text text-muted">{{__("Break comments into pages")}}</small> </div> </div> <div class="form-group" data-condition="flight_enable_review:is(1)"> <label class="" >{{__("Review criteria")}}</label> <div class="form-controls"> <div class="form-group-item"> <div class="g-items-header"> <div class="row"> <div class="col-md-5">{{__("Title")}}</div> <div class="col-md-1"></div> </div> </div> <div class="g-items"> <?php if(!empty($settings['flight_review_stats'])){ $social_share = json_decode($settings['flight_review_stats']); ?> @foreach($social_share as $key=>$item) <div class="item" data-number="{{$key}}"> <div class="row"> <div class="col-md-11"> <input type="text" name="flight_review_stats[{{$key}}][title]" class="form-control" value="{{$item->title}}" placeholder="{{__('Eg: Service')}}"> </div> <div class="col-md-1"> <span class="btn btn-danger btn-sm btn-remove-item"><i class="fa fa-trash"></i></span> </div> </div> </div> @endforeach <?php } ?> </div> <div class="text-right"> <span class="btn btn-info btn-sm btn-add-item"><i class="icon ion-ios-add-circle-outline"></i> {{__('Add item')}}</span> </div> <div class="g-more hide"> <div class="item" data-number="__number__"> <div class="row"> <div class="col-md-11"> <input type="text" __name__="flight_review_stats[__number__][title]" class="form-control" value="" placeholder="{{__('Eg: Service')}}"> </div> <div class="col-md-1"> <span class="btn btn-danger btn-sm btn-remove-item"><i class="fa fa-trash"></i></span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> @endif @if(is_default_lang()) <div class="row d-none"> <hr> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Booking Options")}}</h3> <p class="form-group-desc">{{__('Config Booking for flight')}}</p> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-title"><strong>{{__("Booking Type")}}</strong></div> <div class="panel-body"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <select name="flight_booking_type" class="form-control"> <option value="by_day" {{($settings['flight_booking_type'] ?? '') == 'by_day' ? 'selected' : '' }}> {{__("Flight by day")}}</option> <option value="by_night" {{($settings['flight_booking_type'] ?? '') == 'by_night' ? 'selected' : '' }}> {{__("Flight by night")}}</option> </select> </div> </div> </div> </div> </div> <div class="panel "> <div class="panel-body"> <div class="form-group-item"> <label class="control-label">{{__('Buyer Fees')}}</label> <div class="g-items-header"> <div class="row"> <div class="col-md-5">{{__("Name")}}</div> <div class="col-md-3">{{__('Price')}}</div> <div class="col-md-3">{{__('Type')}}</div> <div class="col-md-1"></div> </div> </div> <div class="g-items"> <?php $languages = \Modules\Language\Models\Language::getActive(); ?> @if(!empty($settings['flight_booking_buyer_fees'])) <?php $flight_booking_buyer_fees = json_decode($settings['flight_booking_buyer_fees'],true); ?> @foreach($flight_booking_buyer_fees as $key=>$buyer_fee) <div class="item" data-number="{{$key}}"> <div class="row"> <div class="col-md-5"> @if(!empty($languages) && setting_item('site_enable_multi_lang') && setting_item('site_locale')) @foreach($languages as $language) <?php $key_lang = setting_item('site_locale') != $language->locale ? "_".$language->locale : "" ?> <div class="g-lang"> <div class="title-lang">{{$language->name}}</div> <input type="text" name="flight_booking_buyer_fees[{{$key}}][name{{$key_lang}}]" class="form-control" value="{{$buyer_fee['name'.$key_lang] ?? ''}}" placeholder="{{__('Fee name')}}"> <input type="text" name="flight_booking_buyer_fees[{{$key}}][desc{{$key_lang}}]" class="form-control" value="{{$buyer_fee['desc'.$key_lang] ?? ''}}" placeholder="{{__('Fee desc')}}"> </div> @endforeach @else <input type="text" name="flight_booking_buyer_fees[{{$key}}][name]" class="form-control" value="{{$buyer_fee['name'] ?? ''}}" placeholder="{{__('Fee name')}}"> <input type="text" name="flight_booking_buyer_fees[{{$key}}][desc]" class="form-control" value="{{$buyer_fee['desc'] ?? ''}}" placeholder="{{__('Fee desc')}}"> @endif </div> <div class="col-md-3"> <input type="number" min="0" step="0.1" name="flight_booking_buyer_fees[{{$key}}][price]" class="form-control" value="{{$buyer_fee['price']}}"> <select name="flight_booking_buyer_fees[{{$key}}][unit]" class="form-control"> <option @if(($buyer_fee['unit'] ?? "") == 'fixed') selected @endif value="fixed">{{ __("Fixed") }}</option> <option @if(($buyer_fee['unit'] ?? "") == 'percent') selected @endif value="percent">{{ __("Percent") }}</option> </select> </div> <div class="col-md-3"> <select name="flight_booking_buyer_fees[{{$key}}][type]" class="form-control d-none"> <option @if($buyer_fee['type'] == 'one_time') selected @endif value="one_time">{{__("One-time")}}</option> </select> <label> <input type="checkbox" min="0" name="flight_booking_buyer_fees[{{$key}}][per_person]" value="on" @if($buyer_fee['per_person'] ?? '') checked @endif > {{__("Price per person")}} </label> </div> <div class="col-md-1"> <span class="btn btn-danger btn-sm btn-remove-item"><i class="fa fa-trash"></i></span> </div> </div> </div> @endforeach @endif </div> <div class="text-right"> <span class="btn btn-info btn-sm btn-add-item"><i class="icon ion-ios-add-circle-outline"></i> {{__('Add item')}}</span> </div> <div class="g-more hide"> <div class="item" data-number="__number__"> <div class="row"> <div class="col-md-5"> @if(!empty($languages) && setting_item('site_enable_multi_lang') && setting_item('site_locale')) @foreach($languages as $language) <?php $key = setting_item('site_locale') != $language->locale ? "_".$language->locale : "" ?> <div class="g-lang"> <div class="title-lang">{{$language->name}}</div> <input type="text" __name__="flight_booking_buyer_fees[__number__][name{{$key}}]" class="form-control" value="" placeholder="{{__('Fee name')}}"> <input type="text" __name__="flight_booking_buyer_fees[__number__][desc{{$key}}]" class="form-control" value="" placeholder="{{__('Fee desc')}}"> </div> @endforeach @else <input type="text" __name__="flight_booking_buyer_fees[__number__][name]" class="form-control" value="" placeholder="{{__('Fee name')}}"> <input type="text" __name__="flight_booking_buyer_fees[__number__][desc]" class="form-control" value="" placeholder="{{__('Fee desc')}}"> @endif </div> <div class="col-md-3"> <input type="number" min="0" step="0.1" __name__="flight_booking_buyer_fees[__number__][price]" class="form-control" value=""> <select __name__="flight_booking_buyer_fees[__number__][unit]" class="form-control"> <option value="fixed">{{ __("Fixed") }}</option> <option value="percent">{{ __("Percent") }}</option> </select> </div> <div class="col-md-3"> <select __name__="flight_booking_buyer_fees[__number__][type]" class="form-control d-none"> <option value="one_time">{{__("One-time")}}</option> </select> <label> <input type="checkbox" min="0" __name__="flight_booking_buyer_fees[__number__][per_person]" value="on"> {{__("Price per person")}} </label> </div> <div class="col-md-1"> <span class="btn btn-danger btn-sm btn-remove-item"><i class="fa fa-trash"></i></span> </div> </div> </div> </div> </div> </div> </div> </div> </div> @endif @if(is_default_lang()) <hr> <div class="row"> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Vendor Options")}}</h3> <p class="form-group-desc">{{__('Vendor config for flight')}}</p> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-body"> <div class="form-group"> <label class="" >{{__("Flight created by vendor must be approved by admin")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_vendor_create_service_must_approved_by_admin" value="1" @if(!empty($settings['flight_vendor_create_service_must_approved_by_admin'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: When vendor posts a service, it needs to be approved by administrator")}}</small> </div> </div> <div class="form-group"> <label class="" >{{__("Allow vendor can change their booking status")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_allow_vendor_can_change_their_booking_status" value="1" @if(!empty($settings['flight_allow_vendor_can_change_their_booking_status'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: Vendor can change their booking status")}}</small> </div> </div> <div class="form-group"> <label class="" >{{__("Allow vendor can change their booking paid amount")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_allow_vendor_can_change_paid_amount" value="1" @if(!empty($settings['flight_allow_vendor_can_change_paid_amount'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: Vendor can change their booking paid amount")}}</small> </div> </div> <div class="form-group"> <label class="" >{{__("Allow vendor can add service fee")}}</label> <div class="form-controls"> <label><input type="checkbox" name="flight_allow_vendor_can_add_service_fee" value="1" @if(!empty($settings['flight_allow_vendor_can_add_service_fee'])) checked @endif /> {{__("Yes please")}} </label> <br> <small class="form-text text-muted">{{__("ON: Vendor can add service fee")}}</small> </div> </div> </div> </div> </div> </div> @endif @if(is_default_lang()) <div class="row d-none"> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Booking Deposit")}}</h3> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-title"><strong>{{__("Booking Deposit Options")}}</strong></div> <div class="panel-body"> <div class="form-group"> <div class="form-controls"> <label><input type="checkbox" name="flight_deposit_enable" value="1" @if(setting_item('flight_deposit_enable')) checked @endif > {{__('Yes, please enable it')}}</label> </div> </div> <div class="form-group" data-condition="flight_deposit_enable:is(1)"> <label >{{__('Deposit Amount')}}</label> <div class="form-controls"> <div class="row"> <div class="col-md-6"> <div class="input-group mb-3"> <input type="number" name="flight_deposit_amount" class="form-control" step="0.1" value="{{old('flight_deposit_amount',setting_item('flight_deposit_amount'))}}" > <select name="flight_deposit_type" class="form-control"> <option value="fixed">{{__("Fixed")}}</option> <option @if(old('flight_deposit_type',setting_item('flight_deposit_type')) == 'percent') selected @endif value="percent">{{__("Percent")}}</option> </select> </div> </div> </div> </div> </div> <div class="form-group" data-condition="flight_deposit_enable:is(1)"> <label class="" >{{__("Deposit Fomular")}}</label> <div class="form-controls"> <div class="row"> <div class="col-md-6"> <select name="flight_deposit_fomular" class="form-control" > <option value="default" {{($settings['flight_deposit_fomular'] ?? '') == 'default' ? 'selected' : '' }}>{{__('Default')}}</option> <option value="deposit_and_fee" {{ ($settings['flight_deposit_fomular'] ?? '') == 'deposit_and_fee' ? 'selected' : '' }}>{{__("Deposit amount + Buyer free")}}</option> </select> </div> </div> </div> </div> </div> </div> </div> </div> <hr> <div class="row"> <div class="col-sm-4"> <h3 class="form-group-title">{{__("Disable flight module?")}}</h3> </div> <div class="col-sm-8"> <div class="panel"> <div class="panel-title"><strong>{{__("Disable flight module")}}</strong></div> <div class="panel-body"> <div class="form-group"> <div class="form-controls"> <label><input type="checkbox" name="flight_disable" value="1" @if(setting_item('flight_disable')) checked @endif > {{__('Yes, please disable it')}}</label> </div> </div> </div> </div> </div> </div> @endif