@extends('admins.layouts.main') @section('content') @php //目的事業主管機關 $competent_authority_of_career_department_type = 5; //aed場所 $aed_department_type = 7; @endphp

單位資料


{{ $department->name }}

{{ optional($department->city)->name }}

{{ optional($department->area)->name }}

{{ $department->address }}

@if($department->department_type == $aed_department_type)

{{ empty($department->place->place_type->name) ? null : $department->place->place_type->name }}

{{ empty($department->place->place_sub_type->name) ? null : $department->place->place_sub_type->name }}

@endif

{{ $department->get_department_type->title }}

{{ $department->phone_number }}

@if($department->department_type == $aed_department_type)

{{ optional($department->place)->longitude }}

{{ optional($department->place)->latitude }}

@endif

{!! strip_tags(nl2br($department->memo), '
') !!}

@if($department->department_type == $competent_authority_of_career_department_type)

{{ optional($department->place_type)->name }}

{{ $department->place_sub_type }}

@endif

聯絡人資料


{{ $department->contact_name }}

{{ $department->contact_phone_number }}

{{ $department->contact_email }}

@endsection