|
@switch($item->type_id)
@case($types->where('name', 'imagem')->first()->id)
@break
@case($types->where('name', 'texto')->first()->id)
{{ $item->content }}
@break
@case($types->where('name', 'video')->first()->id)
{{-- --}}
@break
@case($types->where('name', 'página web')->first()->id)
@break
@case($types->where('name', 'produto')->first()->id)
@break
@case($types->where('name', 'video web')->first()->id)
@break
@endswitch
|
{{ $item->client->business->user->id == $item->client->user->id ? 'matriz' : $item->client->name }}
|
{{ $item->description }} |
{{ $item->category->name }} |
{{ $item->type->name }} |
|
|
@endforeach