@use('App\Services\Date') @php use Carbon\Carbon; @endphp @extends('companyuser::layouts.master') @section('title', __('inventory::warehouse.show_warehouse')) @section('extra-styles') @endsection @section('breadcrumb') @endsection @section('content')
@include('companyuser::errors.lists') @include('companyuser::errors.all')
{{__('inventory::warehouse.name')}}

{{$warehouse->title_en}}

{{__('inventory::warehouse.is_main')}}

{{ __('inventory::warehouse.is_main_'.$warehouse->is_main) }}

{{__('inventory::warehouse.status')}}

{{ $warehouse->status_label }}

{{__('inventory::warehouse.parent')}}

{{$warehouse->parentWarehouse ? $warehouse->parentWarehouse->title_ar : 'None'}}

{{__('inventory::warehouse.cost_center')}}

{{ $warehouse->costCenter ? $warehouse->costCenter->name_en : __('products::cost_center.main center') }}

{{__('inventory::warehouse.created_by')}}

@if($warehouse->created_by == null) @lang('accounting::assets.System') @elseif($warehouse->created_by == auth()->user()->id) @lang('accounting::assets.You') @else {{$warehouse->createdBy->uname}} @endif
{{__('inventory::warehouse.created_at')}}

{{Date::format($warehouse->created_at, 'date')}}

@endsection @section('extra_scripts') @endsection