Fix poultry cafel mise en place
This commit is contained in:
parent
d31d2c26e2
commit
97d546effa
3 changed files with 8 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ return [
|
|||
'methods' => [
|
||||
'GET'
|
||||
]
|
||||
],
|
||||
'cafel.ldc.mepvolailles' => [
|
||||
'uri' => 'api/ldc/mepvolailles',
|
||||
'methods' => [
|
||||
'GET'
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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') }} :</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">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue