Spamworldpro Mini Shell
Spamworldpro


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/companies/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/medad.corals.io/Corals/modules/Medad/resources/views/companies/show.blade.php
@extends('layouts.crud.show')

@section('content_header')
    @component('components.content_header')
        @slot('page_title')
            {{ $title_singular }}
        @endslot

        @slot('breadcrumb')
            {{ Breadcrumbs::render('medad_company_show',$company) }}
        @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.company.name')</th>
                            <td>{!!$company->present('name')!!}</td>
                        </tr>

                        <tr>
                            <th>@lang('Medad::attributes.company.code')</th>
                            <td>{!! $company->present('code')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.location')</th>
                            <td>{!! $company->present('location') !!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.type')</th>
                            <td>{!! $company->present('type') !!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.admins')</th>
                            <td>{!! $company->present('admins')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.tin')</th>
                            <td>{!! $company->present('tin')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.phone_number')</th>
                            <td>{!! $company->present('phone_number')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.email')</th>
                            <td>{!! $company->present('email')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Medad::attributes.company.website')</th>
                            <td>{!! $company->present('website')!!}</td>
                        </tr>
                        <tr>
                            <th>@lang('Corals::attributes.status')</th>
                            <td>{!! $company->present('status')!!}</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="#branches" class="nav-link"
                           data-content_url="{{ $company->getShowURL().'/company-branches'}}"
                           data-toggle="tab">@lang('Medad::module.branch.title')</a>
                    </li>

                    @if(\Medad::isCompanyType($company, \Corals\Modules\Medad\Constants\CompanyTypeConstants::SUPPLIER))
                        <li class="nav-item">
                            <a href="#vehicles" class="nav-link"
                               data-content_url="{{ $company->getShowURL().'/company-vehicles'}}"
                               data-toggle="tab">@lang('Medad::module.vehicle.title')</a>
                        </li>
                    @endif
                    <li class="nav-item">
                        <a href="#companyrelations" class="nav-link"
                           data-content_url="{{ $company->getShowURL().'/company-relations' }}"
                           data-toggle="tab">@lang('Medad::module.company_relation.title')</a>
                    </li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane" id="branches">
                    </div>
                    @if(\Medad::isCompanyType($company, \Corals\Modules\Medad\Constants\CompanyTypeConstants::SUPPLIER))
                        <div class="tab-pane" id="vehicles">
                        </div>
                    @endif
                    <div class="tab-pane" id="companyrelations">
                    </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


Spamworldpro Mini