@extends('layouts.app') @push('head-script') @endpush @section('content')

@lang('modules.company.registeredOn') {{ $company->created_at->format('d M, Y') }}
@if($company->isFeatured()) @endif

{{ $company->company_name }}

{{ $company->company_email }}


{{ $company->company_phone }}

{{ $company->website }}


{!! $company->address !!}

@if($company->status == 'active') @else @endif

@lang('modules.company.currentPackage')

@if($company->package_type == 'monthly') @else @endif
@lang('app.package'): {{ $company->package->name }}
@lang('app.package') @lang('app.type'): {{ (!is_null($company->package_type)) ? __('app.'.$company->package_type) : "--" }}
@lang('app.price'):{{ $global->currency->currency_symbol.$company->package->monthly_price }}{{ $global->currency->currency_symbol.$company->package->annual_price }}
@lang('modules.subscription.expiresOn'): licence_expire_on) && $company->licence_expire_on->isPast() ) class="text-danger" @else class="text-info" @endif > @if(!is_null($company->licence_expire_on)) {!! $company->licence_expire_on->format('d M, Y').'
'.$company->licence_expire_on->diffForHumans().'' !!} @endif @if(!is_null($companyPackage)) @php $date = \Carbon\Carbon::parse($companyPackage->end_date); $now = \Carbon\Carbon::today(); echo $diff = $date->diffInDays($now); @endphp @lang('modules.dashboard.daysLeft') @endif

@lang('menu.packages')

@foreach ($company->packages as $key=>$item) @endforeach
# @lang('app.package') @lang('app.type') @lang('app.startDate') @lang('app.endDate') @lang('app.status')
{{ $key+1 }} {{ ucfirst($item->package->name) }} {{ $item->package_type }} {{ $item->start_date->format('d M, Y') }} {{ (!is_null($item->end_date)) ? $item->end_date->format('d M, Y') : "" }} @if ($item->status == 'active') @else @endif
@endsection @push('footer-script') @endpush