@foreach ($item->patient->pulses as $item_p)
@if ($item_p->type == 0)
@php
$text_color = 'active-color-btn';
$msg = __('patientappo.session');
@endphp
@elseif ($item_p->type == 1)
@php
$text_color = 'done-color-btn';
$msg = __('basic.money per pulse');
@endphp
@elseif ($item_p->type == 2)
@php
$text_color = 'prog-color-btn';
$msg = __('basic.session package');
@endphp
@elseif ($item_p->type == 3)
@php
$text_color = 'not_accepted-color-btn';
$msg = __('basic.pulses package');
@endphp
@elseif ($item_p->type == 4)
@php
$text_color = 'pend-color-btn';
$msg = __('basic.free session');
@endphp
@endif
@if ($item_p->service_item)
{{ $item_p->service_item->name }}
@else
{{ $item_p->pulse_area->name }}
@endif | {{ $msg
}}
@error('fluence_update')
{{ $message }}
@enderror
@error('spot_size_update')
{{ $message }}
@enderror
@error('used_pulses_update')
{{ $message }}
@enderror
@endforeach