]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
projecthelpglobal.com
/
resources
/
views
/
admin
/
service
/
Upload FileeE
HOME
@extends("layouts.admin_app") @section("pageTitle",' Service Details') @section('MainContent') <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800"><b>{{strtoupper($service->title)}}</b> </h1> <a href="{{route('services.index')}}" class="d-none d-sm-inline-block btn btn-sm btn-info shadow-sm"> <i class="fas fa-arrow-left fa-sm text-white-50"></i> All Services </a> </div> <div class="row"> <div class="card shadow mb-4" style="width: 100%;"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary"><b>{{strtoupper($service->title ?? '')}}</b> Service Details</h6> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered" width="100%" cellspacing="0"> <tbody> <td colspan="2"><h3 style="text-align: center;">Service Details</h3></td> <tr> <td>Service Name</td> <td>{{$service->title ?? ''}}</td> </tr> <tr> <td>Service Type</td> <td>{{$service->serviceType ?? ''}}</td> </tr> <tr> <td>Service Status </td> <td> @if($service->status ==1) <strong class="text-success">Active</strong> @else <strong class="text-danger">De - Active</strong> @endif <label class="switch" onclick="ChangeStatus({{$service->status}},{{$service->id}},'status')"> <input type="checkbox" @if(isset($service->status)) @if($service->status == 1) checked @endif @endif> <span class="slider round"></span> </label> </td> </tr> <tr> <td>Show On Menu</td> <td> @if($service->showmenu ==1) <strong class="text-success">Show</strong> @else <strong class="text-danger">Hide</strong> @endif <label class="switch" onclick="ChangeStatus({{$service->showmenu}},{{$service->id}},'menu')"> <input type="checkbox" @if(isset($service->showmenu)) @if($service->showmenu == 1) checked @endif @endif> <span class="slider round"></span> </label> </td> </tr> <tr> <td>Sequence Number </td> <td><b>{{$service->sr_no ?? ''}}</b></td> </tr> <tr> <td>Service Image</td> <td>@if(isset($service->image)) <img id="imagesrc" src="{{asset('image/service/'.$service->image)}}" style="height:60px;width:60px;border-radius:50px"> @else <a href="{{asset('image/dymmy.jpg')}}" id="ahref" target="_blank"> <img id="imagesrc" src="{{asset('image/dymmy.jpg')}}" style="height:60px;width:60px;border-radius:50px"></a> @endif </td> </tr> <tr> <td>Banner Heading </td> <td><b>{{$service->heading ?? ''}}</b></td> </tr> <tr> <td>Banner Description</td> <td><b>{{$service->text ?? ''}}</b></td> </tr> <tr> <td>Service Banner </td> <td>@if(isset($service->banner) && (!is_null($service->banner))) <img id="imagesrc" src="{{asset('image/service/'.$service->banner)}}" style="height:100px;width:200px;"> @else <a href="{{asset('image/dymmy.jpeg')}}" id="ahref" target="_blank"> <img id="imagesrc" src="{{asset('image/dymmy.jpeg')}}" style="height:60px;width:60px;border-radius:50px"></a> @endif </td> </tr> <tr> <td colspan="2"><h3 style="text-align: center;">SERVICE PAGE CONTENT & IMAGE</h3></td> </tr> <tr> <td>2nd Section Title</td> <td>{!! $service->maintitle !!}</td> </tr> <tr> <td>2nd Section Description</td> <td>{!! $service->top_details !!}</td> </tr> <tr> <td>2nd Section Image </td> <td>@if(isset($service->top_image) && (!is_null($service->top_image))) <img id="imagesrc" src="{{asset('image/service/'.$service->top_image)}}" style="height:100px;width:200px;"> @else <a href="{{asset('image/dymmy.jpeg')}}" id="ahref" target="_blank"> <img id="imagesrc" src="{{asset('image/dymmy.jpeg')}}" style="height:60px;width:60px;border-radius:50px"></a> @endif </td> </tr> <tr> <td>4th Section Title</td> <td>{!! $service->buttomtitle !!}</td> </tr> <tr> <td>4th Section Description</td> <td>{!! $service->buttom_details !!}</td> </tr> <tr> <td>4th Section Image </td> <td>@if(isset($service->buttom_image) && (!is_null($service->buttom_image))) <img id="imagesrc" src="{{asset('image/service/'.$service->buttom_image)}}" style="height:100px;width:200px;"> @else <a href="{{asset('image/dymmy.jpeg')}}" id="ahref" target="_blank"> <img id="imagesrc" src="{{asset('image/dymmy.jpeg')}}" style="height:60px;width:60px;border-radius:50px"></a> @endif </td> </tr> <tr> <td colspan="2"><h3 style="text-align: center;">SERVICE FAQ</h3></td> </tr> <tr> <td>Package review</td> <td>@php $otherDetails = json_decode($service->faq,true); @endphp @if(is_array($otherDetails) && count($otherDetails) > 0) @foreach($otherDetails as $key=>$value) <h6>{{ $key+1}}. {!! $value['title'] !!}</h6> <b>{!! $value['details'] !!}<b> @endforeach @endif </td> </tr> <tr> <td colspan="2"><h3 style="text-align: center;">Order Page Content</h3></td> </tr> <tr> <td>Service Instruction ( PowerPoint Presentation Refrence )</td> <td>{!! $service->Assignment_instruction !!}</td> </tr> <tr> <td>Service Type Field Title ( PowerPoint Presentation Refrence )</td> <td>{!! $service->work_typ_title !!}</td> </tr> <tr> <td>Service Type Field Instruction ( PowerPoint Presentation Refrence )</td> <td>{!! $service->work_type_instruction !!}</td> </tr> <tr> <td>Service Guarantee Details</td> <td>{!! $service->Assignment_GUARANTEE !!}</td> </tr> <tr> <td colspan="2"><h3 style="text-align: center;">SERVICE PRICING ( $ )</h3></td> </tr> <tr> <td>In 1 Day Delivery/complete</td> <td>$ {!! $service->price_1 !!}</td> </tr> <tr> <td>In 2 Day Delivery/complete</td> <td>$ {!! $service->price_2 !!}</td> </tr> <tr> <td>In 3 Day Delivery/complete</td> <td>$ {!! $service->price_3 !!}</td> </tr> <tr> <td>In 4 Day Delivery/complete</td> <td>$ {!! $service->price_4 !!}</td> </tr> <tr> <td>In 5 Day Delivery/complete</td> <td>$ {!! $service->price_5 !!}</td> </tr> <tr> <td>In 6 Day Delivery/complete</td> <td>$ {!! $service->price_6 !!}</td> </tr> <tr> <td>In 7 Day Delivery/complete</td> <td>$ {!! $service->price_7 !!}</td> </tr> <tr> <td>In 7+ Day Delivery/complete</td> <td>$ {!! $service->price_7_max !!}</td> </tr> <tr> <td colspan="2"><h3 style="text-align: center;">SEO DATA</h3></td> </tr> <tr> <td>Meta Title</td> <td>{{$service->metaTitle ?? ''}}</td> </tr> <tr> <td>Meta Description</td> <td>{{$service->metaDesc ?? ''}}</td> </tr> <tr> <td>Meta Keyword</td> <td>{{$service->metaKeyword ?? ''}}</td> </tr> <tr> <td>Meta Script</td> <td>{!! $service->metaScript ?? '' !!}</td> </tr> <tr> <td>Action</td> <td> <a data-toggle="tooltip" data-placement="top" title="Edit Package Details" href="{{route('services.edit',$service->id)}}" class="btn btn-sm btn-outline-primary btn-icon"><i class="fa fa-edit"></i></a> <a data-toggle="tooltip" data-placement="top" title="Delete Package" href="javascript:void('0')" class="btn btn-sm btn-outline-danger btn-icon"><i class="fa fa-trash" onclick="ChangeStatus({{$service->status}},{{$service->id}},'trash')"></i></a> </td> </tr> </tbody> </table> </div> </div> </div> </div> @endsection @section('MainCss') <style type="text/css"> th, td { width: 1%; } </style> @endsection @section('MainJS') <script> $(document).ready(function() { $('#dataTable').DataTable(); }); </script> <script type="text/javascript"> function ChangeStatus(currentStatus,SubCatId,statusType){ if(statusType == 'trash'){ if (confirm("Are You Sure To Delete This Service!!") == true) { var url = "{{ route('services.show', ':id') }}?update="+statusType+"¤tStatus="+currentStatus; url = url.replace(':id', SubCatId); window.location.href=url; } }else{ var url = "{{ route('services.show', ':id') }}?update="+statusType+"¤tStatus="+currentStatus; url = url.replace(':id', SubCatId); window.location.href=url; } } </script> @endsection