Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Property/resources/views/user/property/nearestlocation.blade.php
Назад
@extends('user.layout') @section('title') <title>{{ __('Property Nearest Location') }}</title> @endsection @section('user-dashboard') <div class="wsus__dashboard_main_content"> <h4 class="heading">{{ __('Nearest Location') }} <a href="{{ route('user.property.edit', ['property' => $property->id, 'code' => allLanguages()->first()->code]) }}" class="btn btn-success custom-create-property"><i class="fa fa-arrow-left"></i>{{ __('Back Property Page') }}</a></h4> <div class="card"> <div class="card-body"> <form method="post" action="{{ route('user.upload-nearest-location', $property->id) }}" enctype="multipart/form-data"> @csrf <div class="row"> <div class="col-md-12"> <div class="wsus__property_input"> <label for="">{{ __('Nearest Location') }} <span class="text-danger">*</span></label> <select name="nearest_place_id" class="form-control select_2" id=""> <option value="">{{ __('Select Location') }}</option> @foreach ($locations as $location) <option value="{{ $location->id }}">{{ $location->title }}</option> @endforeach </select> @error('nearest_place_id') <span class="text-danger">{{ $message }}</span> @enderror </div> <div class="wsus__property_input"> <label for="">{{ __('Distance') }} <span data-toggle="tooltip" data-placement="top" class="fa fa-info-circle text--primary" title="{{ __('KM') }}"> <span class="text-danger">*</span></label> <input type="text" class="form-control" name="distance"> @error('distance') <span class="text-danger">{{ $message }}</span> @enderror </div> <div class="wsus__property_input"> <x-admin.save-button :text="__('Save')"></x-admin.save-button> </div> </div> </div> </form> </div> </div> <div class="wsus__my_property mt-4"> <div class="table-responsive"> <table class="table"> <tr class="d-flex"> <th class="image slider_image"> <p>{{ __('Serial') }}</p> </th> <th class="title slider_image"> <p>{{ __('Location') }}</p> </th> <th class="view slider_image"> <p>{{ __('Distance') }}</p> </th> <th class="actions slider_image"> <p>{{ __('Action') }}</p> </th> </tr> @forelse ($nearest_locations as $item) <tr class="d-flex"> <td class="image slider_image"> {{ $loop->index + 1 }} </td> <td class="title slider_image"> {{ $item->nearestLocation->title }} </td> <td class="view slider_image"> {{ $item->distance }} </td> <td class="actions slider_image"> <a class="text-danger" href="{{ route('user.delete-nearest-location', $item->id) }}" onclick="return confirm('are you sure?')"><i class="far fa-trash-alt "></i></a> </td> </tr> @endforeach </table> </div> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка