{{ __('Company Management') }}

{{ __('Manage the companies that participate in projects') }}

@if(session('message'))
{{ session('message') }}
@endif

{{ $editingCompanyId ? __('Edit Company') : __('New Company') }}

{{ __('Complete the company information. Fields marked with * are required.') }}

@if($errors->any())
{{ __('Validation errors') }}:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if($logo)
{{ __('Logo preview') }}
@endif

{{ __('Company list') }} ({{ $companies->count() }})

@if($companies->isEmpty())

{{ __('No companies registered. Create your first company using the button above.') }}

@else
@foreach($companies as $company)
@if($company->logo_path && Storage::disk('public')->exists($company->logo_path)) {{ __('Logo of') }} {{ $company->name }} @else
@endif

{{ $company->name }}

@if($company->tax_id) {{ $company->tax_id }} @else {{ __('No tax ID') }} @endif

@if($company->type) {{ ucfirst($company->type) }} @endif
@if($company->address)
{{ $company->address }}
@endif @if($company->phone)
{{ $company->phone }}
@endif @if($company->email)
{{ $company->email }}
@endif
@if(!$loop->last)
@endif @endforeach
@endif