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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/medad.corals.io/Corals/modules/Medad/resources/views/branches/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_branch_show',$company,$branch) }}
        @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('Medad::attributes.company.name')</th>
                                    <td>{!!$branch->present('name')!!}</td>
                                </tr>
                                <tr>
                                    <th>@lang('Medad::attributes.code')</th>
                                    <td>{!! $branch->present('code')!!}</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="table-responsive">
                            <table class="table table-striped">
                                <tr>
                                    <th>@lang('Medad::attributes.location')</th>
                                    <td>{!! $branch->present('location') !!}</td>
                                </tr>
                                <tr>
                                    <th>@lang('Medad::attributes.company.admins')</th>
                                    <td>{!! $branch->present('admins')!!}</td>
                                </tr>

                            </table>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="table-responsive">
                            <table class="table table-striped">
                                <tr>
                                    <th>@lang('Medad::attributes.company.phone_number')</th>
                                    <td>{!! $branch->present('phone_number')!!}</td>
                                </tr>
                                <tr>
                                    <th>@lang('Medad::attributes.company.email')</th>
                                    <td>{!! $branch->present('email')!!}</td>
                                </tr>
                            </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="#quotation_requests" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/quotation-requests' }}"
                           data-toggle="tab">@lang('Medad::module.quotation_request.title')</a>
                    </li>
                    <li class="nav-item">
                        <a href="#quotations" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/quotations' }}"
                           data-toggle="tab">@lang('Medad::module.quotation.title')</a>
                    </li>
                    <li class="nav-item">
                        <a href="#purchase_orders" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/purchase-orders' }}"
                           data-toggle="tab">@lang('Medad::module.purchase_order.title')</a>
                    </li>
                    <li class="nav-item">
                        <a href="#delivery_notes" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/delivery-notes' }}"
                           data-toggle="tab">@lang('Medad::module.delivery_note.title')</a>
                    </li>
                    <li class="nav-item">
                        <a href="#invoices" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/invoices' }}"
                           data-toggle="tab">@lang('Medad::module.invoice.title')</a>
                    </li>
                    <li class="nav-item">
                        <a href="#transactions" class="nav-link"
                           data-content_url="{{ $branch->getShowURL().'/transactions' }}"
                           data-toggle="tab">@lang('Medad::module.transaction.title')</a>
                    </li>
                    {{--                    <li class="nav-item">--}}
                    {{--                        <a href="#users" class="nav-link"--}}
                    {{--                           data-content_url="{{ $branch->getShowURL().'/users' }}"--}}
                    {{--                           data-toggle="tab">@lang('User::module.user.title')</a>--}}
                    {{--                    </li>--}}
                    @if(\Medad::isCompanyType($company, \Corals\Modules\Medad\Constants\CompanyTypeConstants::CUSTOMER))
                        <li class="nav-item">
                            <a href="#projects" class="nav-link"
                               data-content_url="{{ $branch->getShowURL().'/branch-projects' }}"
                               data-toggle="tab">@lang('Medad::module.project.title')</a>
                        </li>
                    @endif
                </ul>

                <div class="tab-content">
                    <div class="tab-pane" id="quotation_requests">
                    </div>

                    <div class="tab-pane" id="quotations">
                    </div>

                    <div class="tab-pane" id="purchase_orders">
                    </div>

                    <div class="tab-pane" id="delivery_notes">
                    </div>

                    <div class="tab-pane" id="invoices">
                    </div>

                    <div class="tab-pane" id="transactions">
                    </div>

                    {{--                    <div class="tab-pane" id="users">--}}
                    {{--                    </div>--}}
                    @if(\Medad::isCompanyType($company, \Corals\Modules\Medad\Constants\CompanyTypeConstants::CUSTOMER))
                        <div class="tab-pane" id="projects">
                        </div>
                    @endif
                </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