SaleController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\Web\SaleController::index" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "app_sale_index" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_firewall_run | "_security_main" |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#306 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#248 …} } ] |
| _stopwatch_token | "2d86cb" |
Request Headers
| Header | Value |
|---|---|
| accept | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| accept-encoding | "gzip, deflate, br, zstd" |
| accept-language | "en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7" |
| connection | "keep-alive" |
| cookie | "main_auth_profile_token=449681; PHPSESSID=6lcagv9r3jongvnv2v6bhur4us" |
| host | "pharma.cassaclock.com" |
| sec-ch-ua | ""Not(A:Brand";v="8", "Chromium";v="144", "Google Chrome";v="144"" |
| sec-ch-ua-mobile | "?0" |
| sec-ch-ua-platform | ""Windows"" |
| sec-fetch-dest | "document" |
| sec-fetch-mode | "navigate" |
| sec-fetch-site | "none" |
| sec-fetch-user | "?1" |
| upgrade-insecure-requests | "1" |
| user-agent | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" |
| x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Mon, 19 Jan 2026 20:22:53 GMT" |
| x-debug-token | "5fca54" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "6lcagv9r3jongvnv2v6bhur4us" |
| main_auth_profile_token | "449681" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 19 Jan 26 19:20:12 +0000" |
| Last used | "Mon, 19 Jan 26 20:02:56 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _security.last_username | "pdwade@cassapharma.sn" |
| _security_main | "O:74:"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken":3:{i:0;N;i:1;s:4:"main";i:2;a:5:{i:0;O:19:"App\Entity\Employee":12:{s:23:"\x00App\Entity\Employee\x00id";i:5;s:29:"\x00App\Entity\Employee\x00fullName";s:9:"Pape wade";s:26:"\x00App\Entity\Employee\x00email";s:21:"pdwade@cassapharma.sn";s:26:"\x00App\Entity\Employee\x00phone";s:13:"+221774271872";s:29:"\x00App\Entity\Employee\x00password";s:60:"$2y$13$qop93Ur5E3lo8jhHv2UwUuCubDY1xXyzzjRSALaxndIqy/XLv/yHW";s:26:"\x00App\Entity\Employee\x00roles";a:2:{i:0;s:9:"ROLE_USER";i:1;s:12:"ROLE_CASHIER";}s:29:"\x00App\Entity\Employee\x00position";s:5:"admin";s:27:"\x00App\Entity\Employee\x00salary";N;s:29:"\x00App\Entity\Employee\x00hireDate";N;s:28:"\x00App\Entity\Employee\x00address";s:10:"Scat urbam";s:29:"\x00App\Entity\Employee\x00isActive";b:1;s:30:"\x00App\Entity\Employee\x00createdAt";O:8:"DateTime":3:{s:4:"date";s:26:"2026-01-18 13:15:57.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Africa/Dakar";}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:8:{i:0;s:9:"ROLE_USER";i:1;s:10:"ROLE_ADMIN";i:2;s:12:"ROLE_MANAGER";i:3;s:12:"ROLE_CASHIER";i:4;s:17:"ROLE_STOCK_KEEPER";i:5;s:10:"ROLE_SALES";i:6;s:15:"ROLE_ACCOUNTANT";i:7;s:13:"ROLE_SECURITY";}}}" |
| csrf-token | 1 |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:39
[
[
"file" => "/var/www/pharma/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 39
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/security-http/Firewall/AccessListener.php"
"line" => 74
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
"line" => 46
"function" => "authenticate"
"class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
"line" => 61
"function" => "authenticate"
"class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
"line" => 91
"function" => "__invoke"
"class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/security-http/Firewall.php"
"line" => 92
"function" => "callListeners"
"class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 115
"function" => "onKernelRequest"
"class" => "Symfony\Component\Security\Http\Firewall"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 122
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 159
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/Kernel.php"
"line" => 182
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/pharma/public/index.php"
"line" => 5
"args" => [
"/var/www/pharma/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Bridge\Twig\AppVariable:181
[
[
"file" => "/var/www/pharma/vendor/symfony/twig-bridge/AppVariable.php"
"line" => 181
"function" => "getFlashBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Extension/CoreExtension.php"
"line" => 1911
"function" => "getFlashes"
"class" => "Symfony\Bridge\Twig\AppVariable"
"type" => "->"
]
[
"file" => "/var/www/pharma/var/cache/dev/twig/c6/c6f71cc7d167d8d30e95abb3cd4f6313.php"
"line" => 578
"function" => "getAttribute"
"class" => "Twig\Extension\CoreExtension"
"type" => "::"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Template.php"
"line" => 402
"function" => "doDisplay"
"class" => "__TwigTemplate_287e8a3eda00d111e3bce40005f2b4cb"
"type" => "->"
]
[
"file" => "/var/www/pharma/var/cache/dev/twig/92/9272cd90749b99797c2d03d2ca02f40c.php"
"line" => 54
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Template.php"
"line" => 402
"function" => "doDisplay"
"class" => "__TwigTemplate_2b9d77391c1137cc0a4ddec580c07f98"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Template.php"
"line" => 358
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Template.php"
"line" => 373
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 51
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/twig/twig/src/Environment.php"
"line" => 333
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 431
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 436
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 250
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/pharma/src/Controller/Web/SaleController.php"
"line" => 98
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "index"
"class" => "App\Controller\Web\SaleController"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/http-kernel/Kernel.php"
"line" => 182
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/pharma/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/pharma/public/index.php"
"line" => 5
"args" => [
"/var/www/pharma/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "e8e3f5a9c7b8d2a1f4e6c8b9a7d5e3f1c9b8a7d6e5f4c3b2a1" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "postgresql://postgres:F@ceb00k@127.0.0.1:5432/pharma_db?serverVersion=15&charset=utf8" |
| DEBUB | "1" |
| DEFAULT_URI | "https://pharma.cassaclock.com" |
| JWT_PASSPHRASE | "your_jwt_passphrase_here" |
| JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
| JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
| JWT_TOKEN_TTL | "3600" |
| SUPERMARCHE_CURRENCY | "FCFA" |
| SUPERMARCHE_LOCALE | "fr_SN" |
| SUPERMARCHE_TIMEZONE | "Africa/Dakar" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/pharma/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/pharma/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br, zstd" |
| HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7" |
| HTTP_CONNECTION | "keep-alive" |
| HTTP_COOKIE | "main_auth_profile_token=449681; PHPSESSID=6lcagv9r3jongvnv2v6bhur4us" |
| HTTP_HOST | "pharma.cassaclock.com" |
| HTTP_SEC_CH_UA | ""Not(A:Brand";v="8", "Chromium";v="144", "Google Chrome";v="144"" |
| HTTP_SEC_CH_UA_MOBILE | "?0" |
| HTTP_SEC_CH_UA_PLATFORM | ""Windows"" |
| HTTP_SEC_FETCH_DEST | "document" |
| HTTP_SEC_FETCH_MODE | "navigate" |
| HTTP_SEC_FETCH_SITE | "none" |
| HTTP_SEC_FETCH_USER | "?1" |
| HTTP_UPGRADE_INSECURE_REQUESTS | "1" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SSL_TLS_SNI | "pharma.cassaclock.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/admin/ventes" |
| REMOTE_ADDR | "41.208.169.125" |
| REMOTE_PORT | "63517" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1768854173 |
| REQUEST_TIME_FLOAT | 1768854173.5659 |
| REQUEST_URI | "/admin/ventes" |
| SCRIPT_FILENAME | "/var/www/pharma/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "78.138.45.206" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "pharma.cassaclock.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.66 (Debian) Server at pharma.cassaclock.com Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.66 (Debian)" |
| SSL_TLS_SNI | "pharma.cassaclock.com" |
| SYMFONY_DOTENV_PATH | "/var/www/pharma/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,DEBUB,APP_SECRET,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TOKEN_TTL,CORS_ALLOW_ORIGIN,DEFAULT_URI,SUPERMARCHE_CURRENCY,SUPERMARCHE_LOCALE,SUPERMARCHE_TIMEZONE" |