@extends('layouts.main') @section('content')
@if ($bannerImage) {{ $bannerImage->name }} @endif

{{ $business->name }}

{!! $business->details !!}

Business profile

{!! $business->introduction !!}
@if (count($business->actions))
{{-- This row needs to span all the outputs in the body --}} @foreach ($business->actions as $action) @if($action->pivot->specifics) @else @endif @foreach ($outputs as $output) @if ($action->outputs->contains($output)) @else @endif @endforeach @endforeach
Specific actionsPositive outcomes Inputs
{{ $action->name }}{{ trim(str_replace('Positive', '', $output->name)) }}{{ trim(str_replace('Positive', '', $output->name)) }}{{ $action->pivot->modifier }}
@endif @stop