@php
$beerFacts_fieldNumberOfBiers = checkFieldIsVisible(PromoterType::FIELD_NUMBER_OF_BEERS, $timeline, Timeline::TYPE_PROMOTER);
$beerFacts_fieldDraughtBeers = checkFieldIsVisible(PromoterType::FIELD_DRAUGHT_BEERS, $timeline, Timeline::TYPE_PROMOTER);
$beerFacts_fieldHasBeerPacks = checkFieldIsVisible(PromoterType::FIELD_HAS_BEER_PACKS, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldHasBeerPacks = checkFieldIsVisible(PromoterType::FIELD_HAS_BEER_PACKS, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldPaymentMethods = checkFieldIsVisible(PromoterType::FIELD_PAYMENT_METHODS, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldCanTastingOnSpot = checkFieldIsVisible(PromoterType::FIELD_CAN_TASTING_ON_SPOT, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldCanPickUpOnSpot = checkFieldIsVisible(PromoterType::FIELD_CAN_PICK_UP_ON_SPOT, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldHasDriveIn = checkFieldIsVisible(PromoterType::FIELD_HAS_DRIVE_IN, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldMenuWithBeerCooking = checkFieldIsVisible(PromoterType::FIELD_MENU_WITH_BEER_COOKING, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldCompleteMenuWithBeer = checkFieldIsVisible(PromoterType::FIELD_COMPLETE_MENU_WITH_BEER, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldBeerDishTypes = checkFieldIsVisible(PromoterType::FIELD_BEER_DISH_TYPES, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldHasHomemadeRecipes = checkFieldIsVisible(PromoterType::FIELD_HAS_HOMEMADE_RECIPES, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldStars = checkFieldIsVisible(PromoterType::FIELD_STARS, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldEventType = checkFieldIsVisible(PromoterType::FIELD_EVENT_TYPE, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldPrice = checkFieldIsVisible(PromoterType::FIELD_PRICE, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldBeerActivityTypes = checkFieldIsVisible(PromoterType::FIELD_BEER_ACTIVITY_TYPES, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldCreationDate = checkFieldIsVisible(PromoterType::FIELD_CREATION_DATE, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldNumberOfBeers = checkFieldIsVisible(PromoterType::FIELD_NUMBER_OF_BREWERIES, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldNumberOfMicrobreweries = checkFieldIsVisible(PromoterType::FIELD_NUMBER_OF_MICROBREWERIES, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldHasLogo = checkFieldIsVisible(PromoterType::FIELD_HAS_LOGO, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldNumberOfEventsPerYear = checkFieldIsVisible(PromoterType::FIELD_NUMBER_OF_EVENTS_PER_YEAR, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldNumberOfDrinkingEstablishments = checkFieldIsVisible(PromoterType::FIELD_NUMBER_OF_DRINKING_ESTABLISHMENTS, $timeline, Timeline::TYPE_PROMOTER);
$beerBarSpecifics_fieldOtherPromoterTypes = checkFieldIsVisible(PromoterType::FIELD_OTHER_PROMOTER_TYPES, $timeline, Timeline::TYPE_PROMOTER);
$linkedBeers_fieldLinkedBeers = checkFieldIsVisible(PromoterType::FIELD_LINKED_BEERS, $timeline, Timeline::TYPE_PROMOTER);
@endphp
@if($beerFacts_fieldNumberOfBiers || $beerFacts_fieldDraughtBeers || $beerFacts_fieldHasBeerPacks)
@if($beerFacts_fieldNumberOfBiers)
-
-
{{ trans('promoters.number_of_beers') }}
-
{{$promoter->number_of_beers ? trans(Promoter::NUMBER_OF_BEERS_TRANSLATIONS[$promoter->number_of_beers]) : "/"}}
@endif
@if($beerFacts_fieldDraughtBeers)
-
-
{{ trans('promoters.serves_draught_beers') }}
-
{{$promoter->serves_draught_beers ? trans('promoters.serves_draught_beers_values.'.$promoter->serves_draught_beers) : "/"}}
@endif
@if($beerFacts_fieldHasBeerPacks)
-
-
{{ trans('promoters.beer_packs') }}
-
{{ trans($promoter->details->has_beer_pack ? 'common.yes' : 'common.no') }}
@endif
@endif
@if($beerBarSpecifics_fieldHasBeerPacks || $beerBarSpecifics_fieldPaymentMethods || $beerBarSpecifics_fieldCanTastingOnSpot
|| $beerBarSpecifics_fieldCanPickUpOnSpot || $beerBarSpecifics_fieldHasDriveIn || $beerBarSpecifics_fieldMenuWithBeerCooking
|| $beerBarSpecifics_fieldCompleteMenuWithBeer || $beerBarSpecifics_fieldBeerDishTypes || $beerBarSpecifics_fieldHasHomemadeRecipes
|| $beerBarSpecifics_fieldStars || $beerBarSpecifics_fieldEventType || $beerBarSpecifics_fieldPrice || $beerBarSpecifics_fieldBeerActivityTypes
|| $beerBarSpecifics_fieldCreationDate || $beerBarSpecifics_fieldCreationDate || $beerBarSpecifics_fieldNumberOfBeers
|| $beerBarSpecifics_fieldNumberOfMicrobreweries || $beerBarSpecifics_fieldHasLogo || $beerBarSpecifics_fieldNumberOfEventsPerYear
|| $beerBarSpecifics_fieldNumberOfDrinkingEstablishments || $beerBarSpecifics_fieldOtherPromoterTypes)
@if($beerBarSpecifics_fieldHasBeerPacks)
-
-
{{ trans('promoters.beer_packs') }}
-
{{ trans($promoter->details->has_beer_pack ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldPaymentMethods)
-
-
{{ trans('promoters.paiement_methods') }}
-
@foreach($promoter->paymentMethods()->get() as $paimentMethod)
{{ trans($paimentMethod->translation_code)}}
@endforeach
@endif
@if($beerBarSpecifics_fieldCanTastingOnSpot)
-
-
{{ trans('promoters.e_shops.can_tasting_on_spot') }}
-
{{ $promoter->details->can_tasting_on_spot ? trans('common.yes') : trans('common.no') }}
@endif
@if($beerBarSpecifics_fieldCanPickUpOnSpot)
-
-
{{ trans('promoters.e_shops.can_pick_up_on_spot') }}
-
{{ $promoter->details->can_pick_up_on_spot ? trans('common.yes') : trans('common.no') }}
@endif
@if($beerBarSpecifics_fieldHasDriveIn)
-
-
{{ trans('promoters.drink_centers.has_drive_in') }}
-
{{ trans($promoter->details->has_drive_in ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldMenuWithBeerCooking)
-
-
{{ trans('promoters.restaurants.menu_with_beer_cooking') }}
-
@if($promoter->details->menu_with_beer_cooking)
{{ trans('promoters.restaurants.menu_with_beer_cooking_values.'.$promoter->details->menu_with_beer_cooking) }}
@else
/
@endif
@endif
@if($beerBarSpecifics_fieldCompleteMenuWithBeer)
-
-
{{ trans('promoters.complete_menu_with_beer') }}
-
{{ trans($promoter->details->complete_menu_with_beer ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldBeerDishTypes)
-
-
{{ trans('promoters.beer_dishes') }}
-
@foreach($promoter->beerDishTypes()->get() as $beerDishes)
{{ trans($beerDishes->translation_code)}}
@endforeach
@endif
@if($beerBarSpecifics_fieldHasHomemadeRecipes)
-
-
{{ trans('promoters.has_homemade_recipes') }}
-
{{ trans($promoter->details->has_homemade_recipes ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldStars)
-
-
{{ trans('promoters.stars') }}
-
{{ trans($promoter->details->stars ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldEventType)
-
-
{{ trans('promoters.events_planners.event_type') }}
-
{{ $promoter->details->event_type ? trans('promoters.events_planners.event_type_values.'.$promoter->details->event_type) : "/" }}
@endif
@if($beerBarSpecifics_fieldPrice)
-
-
{{ trans('promoters.events_planners.price') }}
-
{{ $promoter->details->price ? $promoter->details->price : "/"}}
@endif
@if($beerBarSpecifics_fieldBeerActivityTypes)
-
-
{{ trans('promoters.associations.beer_activity_types') }}
-
@if(!$promoter->beerActivityTypes->isEmpty())
@foreach($promoter->beerActivityTypes as $activityTypes)
{{ trans($activityTypes->translation_code)}}
@endforeach
@else
/
@endif
@endif
@if($beerBarSpecifics_fieldCreationDate)
-
-
{{ trans('promoters.associations.creation_date') }}
-
{{ $promoter->details->creation_date ? $promoter->details->creation_date->format('d/m/Y') : "/"}}
@endif
@if($beerBarSpecifics_fieldNumberOfBeers)
-
-
{{ trans('promoters.cities.number_of_breweries') }}
-
{{ $promoter->details->number_of_breweries? $promoter->details->number_of_breweries : "/"}}
@endif
@if($beerBarSpecifics_fieldNumberOfMicrobreweries)
-
-
{{ trans('promoters.cities.number_of_microbreweries') }}
-
{{ $promoter->details->number_of_microbreweries ? $promoter->details->number_of_microbreweries : "/"}}
@endif
@if($beerBarSpecifics_fieldHasLogo)
-
-
{{ trans('promoters.cities.has_logo') }}
-
{{ trans($promoter->details->has_logo ? 'common.yes' : 'common.no') }}
@endif
@if($beerBarSpecifics_fieldNumberOfEventsPerYear)
-
-
{{ trans('promoters.cities.number_of_events_per_year') }}
-
{{ $promoter->details->number_of_events_per_year ? trans($promoter->details->number_of_events_per_year) : "/"}}
@endif
@if($beerBarSpecifics_fieldNumberOfDrinkingEstablishments)
-
-
{{ trans('promoters.cities.number_of_drinking_establishments') }}
-
{{ $promoter->details->number_of_drinking_establishments ? trans($promoter->details->number_of_drinking_establishments) : "/"}}
@endif
@if($beerBarSpecifics_fieldOtherPromoterTypes)
-
-
{{ trans('promoters.cities.promoter_types') }}
-
@if(!$promoter->details->promoterTypes->isEmpty())
@foreach($promoter->details->promoterTypes()->get() as $promotorTypes)
{{ trans($promotorTypes->translation_code)}}
@if(!$loop->last)
,
@endif
@endforeach
@else
/
@endif
@endif
@endif
@if(!$promoter->likes->isEmpty())
@if(!$promoter->likes->isEmpty())
@foreach($promoter->likes->take(3) as $liker)
-
@endforeach
@else
{{ trans('promoters.no_likes') }}
@endif
@endif
@if($linkedBeers_fieldLinkedBeers)
@if(checkFieldIsVisible(PromoterType::FIELD_LINKED_BEERS, $timeline, Timeline::TYPE_PROMOTER))
@if(!$promoter->linkedBeers->isEmpty())
@foreach($promoter->linkedBeers as $beer)
-
@endforeach
@else
{{ trans('promoters.no_linked_beers') }}
@endif
@endif
@endif