{{-- Name: Company.edit.blade Author: JH2 Created: 2015-06-02 --}} @extends('app') @section('_pageTitle', $company['name']) @section('main-left') @include('company.partials.editForm', [ 'content_id' => 'company_4262', 'header_title' => Lang::get('company.settings'), 'data' => $company, 'queue' => $company->mailQueue(), ]) @if(Request::route()->getName() == 'admin.company.edit') @include('company.partials.comments', [ 'content_id' => 'company_4263', 'header_title' => Lang::get('company.comments'), 'data' => $company->comments()->orderBy('sticky', 'desc')->orderBy('created_at', 'desc')->get(), ]) @endif @stop @section('main-right') @include('partials.stats', [ 'content_id' => 'company_summary_343784', 'header_title' => Lang::get('company.sumstats'), 'company' => $company, ]) @if(Request::route()->getName() == 'admin.company.edit') @include('company.partials.props', [ 'content_id' => 'company_props_343784', 'header_title' => Lang::get('company.props.headerTitle'), 'props' => $company->props, ]) @if($company->package->monthly_cost > 0) {{-- Extra services are only available to paying customers --}} @include('company.partials.extraServices', [ 'content_id' => 'company_props_3432222', 'header_title' => Lang::get('company.extraServices.headerTitle'), 'props' => $company->props, ]) @endif @include('company.partials.campaignCodes', [ 'content_id' => 'company_campaign_codes_343784', 'header_title' => Lang::get('company.campaignCodes.headerTitle'), 'campaignCodes' => $company->campaignCodes, ]) @endif @stop @section('footer-script') @include('company.partials.jscript') @stop