|
{{ $f->name }}
|
{{ $f->category }}
|
@if ($f->reduction)
Oui
@else
Non
@endif
|
@if(strlen($f->conditions) > 0)
@php
$conditions = str_replace('>','>',$f->conditions);
$conditions = str_replace('<','<',$conditions);
@endphp
{{ $conditions }}
@else
---
@endif
|
@if(strlen($f->remarks)>0)
@php
$remarks = str_replace('>','>',$f->remarks);
$remarks = str_replace('<','<',$remarks);
@endphp
{!! nl2br($remarks) !!}
@else
---
@endif
|
@if ($f->piece)
@foreach ($f->piece as $key => $p)
@if ($key != 0)
@endif
{{ $p }}
@endforeach
@endif
|
@if ($f->produits)
@foreach ($f->produits as $key => $p)
@if ($key != 0)
@endif
{{ $p }}
@endforeach
@endif
|
>
{{$f->gammes}}
|
@if ($f->added_by == 1)
Admin
@else
@php
$user = \App\Models\Designer::find($f->added_by);
@endphp
{{ $user->prenom }} {{ $user->nom }}
@endif
|
{{ $f->created_at->format('d-m-Y') }}
|
@if ($f->website)
{{$f->website}}
@else
---
@endif
|
@if($f->status == 1)
Affiché
@else
Caché
@endif
|
@endforeach