Files
isaaccladandClaude Opus 4.8 e9a0c92308
Deploy Ladill POS / deploy (push) Successful in 47s
Align POS header with other apps: AI assistant, register button, sidebar
- Add the Afia AI assistant to the header (topbar AI button + slide-over),
  matching every other Ladill app. Ports config/afia.php, AfiaService, a POS
  AiController (pos.ai.chat) scoped to register/sales/products, and includes
  the slide-over in the app layout. The afia() Alpine component already existed.
- Hide the header "Open register" button while on the register page.
- Move Settings to a pinned bottom section of the sidebar, like other apps.
- Commit the updated POS logo + launcher icon assets.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 07:08:43 +00:00

12 lines
466 B
PHP

<?php
return [
// Afia — Ladill in-app AI assistant, scoped to POS. Provisioned per app via
// its own key (falls back to OPENAI_API_KEY). See App\Services\Afia\AfiaService.
'product' => env('AFIA_PRODUCT', 'pos'),
'enabled' => (bool) env('AFIA_ENABLED', true),
'provider' => env('AFIA_PROVIDER', 'openai'), // openai | anthropic
'model' => env('AFIA_MODEL', 'gpt-4o-mini'),
'api_key' => env('AFIA_API_KEY', env('OPENAI_API_KEY')),
];