@extends('layouts.master') @section('page_title', 'Dashboard') @section('content')
{{ Form::page_header("Business Profile", "business") }}
@if($is_admin) @include('shared._message_all') @endif
{{ Form::label_title("General Business Info") }}
@if($is_admin) {{ Form::row_label_inline('Org', $fuse_org_data->x_org, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Org ID', $fuse_org_data->id, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Business Package', $business->business_package_label, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @if($business->is_wom())
{{ Form::button_link('Marketing Services', action('SuperAdminBusinessController@business_marketing_services', compact('business')), 'marketing_services_btn', \App\Helpers\FormComponentHelper::SIZE_TINY) }}
@endif {{-- // DISABLED PIPEDRIVE 4/20/20 --}} {{--{{ Form::row_label_inline('Pipedrive ID', $business->pipedrive_id, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}--}} {{ Form::row_label_inline('Deal ID', $business->deal_id, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Phase', $business->phase ? \App\Models\Business::$business_phase_map[$business->phase] : null, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endif {{ Form::row_label_inline('Business Name', $business->company, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Main Business Phone 1', $main_location->phone_1, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Main Business Phone 2', $main_location->phone_2, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_label_inline('Business Email', $business->email, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_ex("Business Website", \App\Helpers\FormComponentHelper::SIZE_MEDIUM, null, 3) }} {{ Form::label_link($business->website, $business->website, \App\Helpers\FormComponentHelper::SIZE_SMALL, 'link-label bizz_website_link') }}
@include('business._business_contacts', compact('recurly_account', 'business_contact_column_set'))
{{ Form::label_title("Business Locations") }}
@foreach($locations as $location)
@if($location->main)
@if(!empty($location->address_1))
@endif @if(!empty($location->address_2))
@endif
@if(!empty($location->city) || !empty($location->state) || !empty($location->postal)) @endif
{{ Form::row_label_inline('Phone', $location->phone_1, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @if(!empty($location->phone_2)) {{ Form::row_label_inline(' ', $location->phone_2, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endif {{ Form::row_label_inline('Time Zone', $location->timezone, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @if(!empty($location->location_text) ) {{ Form::row_label_inline('Type', $location->location_text, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endif @else
@if(!empty($location->address_1))
@endif @if(!empty($location->address_2))
@endif
@if(!empty($location->city) || !empty($location->state) || !empty($location->postal)) @endif
{{ Form::row_label_inline('Phone', $location->phone_1, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @if(!empty($location->phone_2)) {{ Form::row_label_inline(' ', $location->phone_2, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endif {{ Form::row_label_inline('Time Zone', $location->timezone, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @if(!empty($location->location_text) ) {{ Form::row_label_inline('Type', $location->location_text, null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endif @endif
@endforeach
@if($is_admin)
{{ Form::label_title("Team") }}
{{ Form::row_label_inline('Fulfillment Team', $business->team_label ,null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @foreach(\App\Helpers\FormDataHelper::get_fulfillment_business_roles() as $role) {{ Form::row_label_inline($role['name'], $selected_team[$role['role']],null, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} @endforeach {{ Form::label_styled('Team Assignment Notes', 'team-assignment-notes-label', \App\Helpers\FormComponentHelper::SIZE_MEDIUM, 3) }} {{ Form::textarea_styled('team_assignment_notes', $business->team_assignment_notes, 'team-assignment-notes', true, 6) }}
@include('shared.forms._driver_component' )
{{--@if($is_convert && \App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::SUPER_PLUS_PLUS_ADMIN))--}} {{--{{ Form::button_ex('Convert campaign data', null, 'convert_btn') }}--}} {{--@endif--}} {{ Form::button_link("Edit", action('SuperAdminBusinessController@business_edit',compact('business')), 'edit_btn') }}
@endif
@endsection @section('page_script') @endsection @section('page_style') @endsection