@version(2) @load('./css/salon.css') @load('./lang') @php $hsv_days = explode(',', (string)$lang->hsl_weekdays); $hsv_today = (int)date('w'); $hsv_address = trim($branch->address . ' ' . $branch->address_detail); $hsv_map = is_numeric($branch->lat) && is_numeric($branch->lng); $hsv_hero = count($images) ? $images[0] : (string)$branch->thumb; $hsv_rest = count($images) > 1 ? array_slice($images, 1) : []; @endphp
@if ($hsv_hero)
@if ($branch->region){{ $branch->region }}@endif

{{ $branch->name }}

@if ($branch->summary)

{{ $branch->summary }}

@endif
@else
SALON

{{ $branch->name }}

@if ($branch->summary)

{{ $branch->summary }}

@endif
@endif
@if ($branch->content)

ABOUT

{!! $branch->content !!}
@endif

HOURS

@foreach ($hsv_days as $wd => $wd_label) @php $h = $hours[$wd] ?? null; $closed = !$h || (string)$h->is_closed === 'Y' || !$h->open_time || !$h->close_time; $has_break = $h && $h->break_start && $h->break_end; @endphp @endforeach
{{ $wd_label }} @if ($closed) {{ $lang->branch_day_closed }} @else {{ $h->open_time }} – {{ $h->close_time }} @if ($has_break){{ $lang->hsl_break }} {{ $h->break_start }} – {{ $h->break_end }}@endif @endif
@if (count($holidays))
    @foreach ($holidays as $hd) @php $hd_once = (string)$hd->repeat_type === 'once'; $hd_date = (string)$hd->holiday_date; $hd_when = $hd_once ? (strlen($hd_date) === 8 ? (zdate($hd_date . '000000', $lang->hsl_date_format)) : $hd_date) : ((int)$hd->nth . ' / ' . ($hsv_days[(int)$hd->weekday] ?? '')); @endphp
  • {{ $hd_when }} {{ $hd->reason }}
  • @endforeach
@endif
@if (count($hsv_rest))

GALLERY

@endif