Fix poultry cafel mise en place

This commit is contained in:
Jérémy Munsch 2022-10-21 10:10:38 +02:00
parent d31d2c26e2
commit 97d546effa
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
3 changed files with 8 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class CafelMepPoultryJob extends CafelJobs
$dateDebut = now()->subDays(config('cafel.mises_en_places_retain', 370));
$this->syncWithCafelApi(
CafelMepPoultry::class,
'cafel.ldc.mepoeufs',
'cafel.ldc.mepvolailles',
[
'dateDebut' => $dateDebut->format('Y-m-d'),
'dateFin' => now()->format('Y-m-d')

View file

@ -51,6 +51,12 @@ return [
'methods' => [
'GET'
]
],
'cafel.ldc.mepvolailles' => [
'uri' => 'api/ldc/mepvolailles',
'methods' => [
'GET'
]
]
]
];

View file

@ -15,7 +15,7 @@
<div class="row">
<div class="col text-center">
<span class="d-block h5 fw-bold text-loue-blue mb-3">{{ __('Les poussins sont arrivés dans le poulailler le') }}&nbsp;:</span>
<span class="d-inline-block badge-loue-green">{{ $mep->transfer_date->formatLocalized('%A') }} {{ $mep->transfer_date->format('d/m/Y') }}</span>
<span class="d-inline-block badge-loue-green">{{ $mep->transfert_date->formatLocalized('%A') }} {{ $mep->transfert_date->format('d/m/Y') }}</span>
</div>
</div>
<div class="row mt-5">