feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-01 17:26:30 +02:00
@ extends ( 'bo.layouts.layout' )
2026-10-02 19:28:47 +02:00
@ section ( 'title' , sprintf ( '%s - %s' , Str :: ucfirst ( __ ( 'crud.actions.edit' )), __ ( 'Employee sites' )))
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-01 17:26:30 +02:00
@ section ( 'breadcrumb' , request () -> route () -> getName ())
@ section ( 'content' )
< div class = " card " >
< div class = " card-header " >
< div class = " row " >
< div class = " col " >
< h1 class = " h3 " >
2026-10-02 19:28:47 +02:00
{{ __ ( 'Employee sites' ) }} & nbsp ;{{ Str :: ucfirst ( __ ( 'crud.actions.edit' )) }}
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-01 17:26:30 +02:00
</ h1 >
</ div >
</ div >
</ div >
< div class = " card-body " >
< form action = " { { route('bo.settings.update') }} " method = " POST " >
@ csrf
@ method ( 'PUT' )
< div class = " mb-4 " >
2026-10-02 19:28:47 +02:00
< label class = " form-label fw-bold " for = " employee_sites " > {{ __ ( 'Employee site codes (Arcadia)' ) }} </ label >
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-01 17:26:30 +02:00
< div class = " form-text mb-3 " >
2026-10-02 19:28:47 +02:00
{{ __ ( 'Define one code per employee site (at least 2 uppercase letters, e.g. PA, NA, LY). These codes are used to query the Arcadia HR IS and synchronize employees in the employee store.' ) }}
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-01 17:26:30 +02:00
</ div >
< div
id = " employee-sites-input "
data - json = '@json(old(' employee_sites ', $setting->employeeSites))'
>
@ foreach ( old ( 'employee_sites' , $setting -> employeeSites ) as $site )
< div class = " input-group mb-2 " >
< span class = " input-group-text " >< i class = " fa-solid fa-location-dot " ></ i ></ span >
< input
type = " text "
name = " employee_sites[] "
class = " form-control text-uppercase font-monospace "
value = " { { $site }} "
placeholder = " ex: PA "
maxlength = " 20 "
>
</ div >
@ endforeach
</ div >
@ error ( 'employee_sites' )
< div class = " invalid-feedback d-block mt-2 " > {{ $message }} </ div >
@ enderror
@ error ( 'employee_sites.*' )
< div class = " invalid-feedback d-block mt-1 " > {{ $message }} </ div >
@ enderror
</ div >
< div class = " text-center " >
< button class = " btn btn-primary " type = " submit " >
< i class = " fa fa-floppy-disk " ></ i >
< span class = " d-none d-sm-inline " data - bs - toggle = " tooltip "
title = " { { Str::ucfirst(__('crud.actions.save')) }} " > {{ Str :: ucfirst ( __ ( 'crud.actions.save' )) }} </ span >
</ button >
</ div >
</ form >
</ div >
</ div >
@ endsection