Add missing exp_date usage on poultry front
This commit is contained in:
parent
649c7b08c1
commit
a43a840d4b
2 changed files with 3 additions and 2 deletions
|
|
@ -51,7 +51,7 @@
|
|||
<span class="h5 fw-bold text-light">{{ __('Date') }}</span>
|
||||
</div>
|
||||
<div class="text-center mt-1">
|
||||
<span class="fw-bold textDistriResult text-uppercase">{{ now()->format('d/m/Y') }}</span>
|
||||
<span class="fw-bold textDistriResult text-uppercase">{{ $date }}</span>
|
||||
</div>
|
||||
@if($distributionPicture)
|
||||
<div class="text-center mt-3">
|
||||
|
|
|
|||
|
|
@ -153,7 +153,8 @@ nous avions dit que nous fonctionnions comme cela lors d'une réunion en décemb
|
|||
<div class="container-fluid g-2 poultryShow subpart">
|
||||
@include('front.poultry.parts.distribution', [
|
||||
'distributionPicture' => $distributionPicture,
|
||||
'sign' => $traceaPoultry->sign
|
||||
'sign' => $traceaPoultry->sign,
|
||||
'date' => sprintf('%s %s', $traceaPoultry->exp_date->formatLocalized('%A'), $traceaPoultry->exp_date->format('d/m/Y'))
|
||||
])
|
||||
</div>
|
||||
<div class="container-fluid g-2 poultryShow subpart">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue