{{-- {{$statusID}} --}} {{-- {{$sample?->id}} --}} @if($sample?->status == "approved")
Approved {{empty($sample->approved_date) ? "" : date_format(date_create($sample->approved_date), "d-M")}}
@if(!empty($sample?->colourway_id) && $colourwayId != $sample?->colourway_id)
({{Illuminate\Support\Str::title($sample?->colourway ?? "")}})
@endif @if(Gate::check('style:update') && $add && !$season_locked) @endif @if($comments) {{$sample->comment ?? ""}} @endif
@elseif($sample?->status == "rejected")
Rejected
@if(!empty($sample?->colourway_id) && $colourwayId != $sample?->colourway_id)
({{Illuminate\Support\Str::title($sample?->colourway ?? "")}})
@endif @can('style:update' && !$season_locked) @endcan
@elseif(!empty($sample?->date_sent))
Sent
{{date_format(date_create($sample?->date_sent), "d-M")}}
@if(!empty($sample?->colourway_id) && $colourwayId != $sample?->colourway_id)
({{Illuminate\Support\Str::title($sample?->colourway ?? "")}})
@endif @if(Gate::check('style:update') && $add && !$season_locked) @endif @if($comments) {{$sample->comment ?? ""}} @endif
@elseif(!empty($sample?->date_expected))
Expected
{{date_format(date_create($sample?->date_expected), "d-M")}}
@if(!empty($sample?->colourway_id) && $colourwayId != $sample?->colourway_id)
({{Illuminate\Support\Str::title($sample?->colourway ?? "")}})
@endif @if(Gate::check('style:update') && $add && !$season_locked) @endif @if($comments) {{$sample->comment ?? ""}} @endif
@elseif(!empty($sample))
TBC
@if(!empty($sample?->colourway_id) && $colourwayId != $sample?->colourway_id)
({{Illuminate\Support\Str::title($sample?->colourway ?? "")}})
@endif
@elseif($sample_required && empty($sample))
Not Ordered
@if(Gate::check('style:update') && $add && !$season_locked) @endif @if($comments) {{$sample->comment ?? ""}} @endif
@else
Not Required
@if(Gate::check('style:update') && $add && !$season_locked) @endif @if($comments) {{$sample->comment ?? ""}} @endif
@endif