![]() 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/medad.corals.io/Corals/modules/Medad/resources/views/vehicles/ |
@extends('layouts.crud.show') @section('content_header') @component('components.content_header') @slot('page_title') {{ $title_singular }} @endslot @slot('breadcrumb') {{ Breadcrumbs::render('medad_vehicle_show',$company,$vehicle) }} @endslot @endcomponent @endsection @section('content') <div class="row"> <div class="col-md-4"> @component('components.box') <div class="table-responsive"> <table class="table table-striped"> <tr> <th>@lang('Medad::attributes.vehicle.licence_plate')</th> <td>{!! $vehicle->present('licence_plate')!!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.model_code')</th> <td>{!!$vehicle->present('model_code')!!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.model_year')</th> <td>{!! $vehicle->present('model_year')!!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.make_code')</th> <td>{!! $vehicle->present('make_code') !!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.current_odometer')</th> <td>{!! $vehicle->present('current_odometer')!!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.color')</th> <td>{!! $vehicle->present('color')!!}</td> </tr> <tr> <th>@lang('Medad::attributes.vehicle.current_driver')</th> <td>{!! $vehicle->present('current_driver')!!}</td> </tr> </table> </div> @endcomponent </div> <div class="col-md-8 show-dt-tabs"> @component('components.box') <ul class="nav nav-tabs"> <li class="nav-item"> <a href="#services" class="nav-link" data-content_url="{{ $vehicle->getShowURL().'/services'}}" data-toggle="tab">@lang('Medad::module.vehicle_service.title')</a> </li> <li class="nav-item"> <a href="#driver" class="nav-link" data-content_url="{{ $vehicle->getShowURL().'/drivers'}}" data-toggle="tab">@lang('Medad::module.vehicle_driver.title')</a> </li> </ul> <div class="tab-content"> <div class="tab-pane" id="services"> </div> <div class="tab-pane" id="driver"> </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