![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/Corals/modules/RentPix/resources/views/units/ |
@extends('layouts.crud.show') @section('content_header') @component('components.content_header') @slot('page_title') {{ $title_singular }} @endslot @slot('breadcrumb') {{ Breadcrumbs::render('rentPix_unit_show') }} @endslot @endcomponent @endsection @section('content') <div class="row"> <div class="col-md-12"> @component('components.box') <div class="row"> <div class="col-md-4"> <div class="table-responsive"> <table class="table table-striped"> <tr> <th>@lang('RentPix::attributes.code')</th> <td>{!! $unit->present('code_without_link') !!}</td> </tr> <tr> <th>@lang('Corals::attributes.status')</th> <td>{!! $unit->present('status') !!}</td> </tr> <tr> <th>@lang('RentPix::attributes.unit.vin')</th> <td>{!! $unit->present('vin') !!}</td> </tr> </table> </div> </div> <div class="col-md-4"> <div class="table-responsive"> <table class="table table-striped"> <tr> <th>@lang('RentPix::attributes.unit.license')</th> <td>{!! $unit->present('license') !!}</td> </tr> <tr> <th>@lang('RentPix::attributes.unit.engine')</th> <td>{!! $unit->present('engine') !!}</td> </tr> <tr> <th>@lang('RentPix::attributes.unit.make')</th> <td>{!! $unit->present('make') !!}</td> </tr> </table> </div> </div> <div class="col-md-4"> <div class="table-responsive"> <table class="table table-striped"> <tr> <th>@lang('RentPix::attributes.unit.model')</th> <td>{!! $unit->present('model') !!}</td> </tr> <tr> <th>@lang('RentPix::attributes.unit.model_year')</th> <td>{!! $unit->present('model_year') !!}</td> </tr> @if($unit->last_inspection_at) <tr> <th>@lang('RentPix::attributes.unit.last_inspection')</th> <td>{!! $unit->present('last_inspection_at') !!}</td> </tr> @endif </table> </div> </div> </div> @endcomponent </div> </div> <div class="row show-dt-tabs"> <div class="col-md-12"> @component('components.box') <ul class="nav nav-tabs"> <li class="nav-item"> <a href="#inspections" class="nav-link" data-content_url="{{ $unit->getShowURL().'/inspections' }}" data-toggle="tab">@lang('RentPix::module.inspection.title')</a> </li> <li class="nav-item"> <a href="#reservations" class="nav-link" data-content_url="{{ $unit->getShowURL().'/reservations' }}" data-toggle="tab">@lang('RentPix::module.reservation.title')</a> </li> </ul> <div class="tab-content"> <div class="tab-pane" id="inspections"> </div> <div class="tab-pane" id="reservations"> </div> </div> @endcomponent </div> </div> @endsection @section('js') <script> $(document).ready(function () { if (!window.location.hash) { $('.show-dt-tabs .nav-link').first().click(); } }); </script> @endsection