@extends('companyuser::layouts.master') @section('title', __('companyuser::sidebar.Warehouse')) @section('extra-styles') @endsection {{-- didnt read --}} @push('extra-styles') @endpush @push('extra_scripts') @endpush @if (app()->getlocale() == 'en') @endif @section('breadcrumb') @endsection @section('content') @if (checkAddonAvailability(request()->get('tenant_current_subscription')->id, \Modules\Tenant\Enums\SystemAddonEnum::INVENTORY_MODULE))
@can('inventory.warehouse.create') {{-- --}} @endcan
@can('inventory.warehouse.export') @endcan
@error('warehouse_name')

{{ $message }}

@enderror
@error('date_from') @enderror
@error('date_to') @enderror
@include('companyuser::errors.all') @include('companyuser::errors.lists')
@lang('inventory::warehouse.name') @lang('inventory::warehouse.is_main') @lang('inventory::warehouse.parent') @lang('inventory::warehouse.cost_center') @lang('inventory::warehouse.accounts') @lang('inventory::warehouse.status') @lang('inventory::warehouse.created_by') @lang('inventory::warehouse.created_at') @lang('Actions')
{{-- -------------- popup for warehouse deletion ----------------------------- --}} {{-- -------------- Warehouse can't be deleted if it has items popup ----------------------------- --}}
@else
@include('companyuser::components.addon-not-available', ['addon' => __('companyuser::addons.inventory_module')])
@endif @endsection @section('extra_scripts') @endsection