ServicesController :: submitSaleReport
Request
GET Parameters
No GET parameters
POST Parameters
Key | Value |
---|---|
data | "{"date": "2024-11-16T08:31:43.0000000Z", "branch": "62dfab5bc9e6c", "total_cost": 6741.00 , "total_vat": 0.00, "total_sale": 7715.00, "staff": 0, "detail": [{"product_id": "6178c3fc49413", "cost": 106.00, "sale_price": 128.00, "vat": 0.00, "qty": 0.74},{"product_id": "6178c3fc4c01b", "cost": 105.00, "sale_price": 126.00, "vat": 0.00, "qty": 1.39},{"product_id": "6178c3fc9349d", "cost": 125.00, "sale_price": 140.00, "vat": 0.00, "qty": 9.23},{"product_id": "6178c3fc85655", "cost": 113.00, "sale_price": 133.00, "vat": 0.00, "qty": 10.76},{"product_id": "6178c3fca451a", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 4.31},{"product_id": "6178c3fc81a19", "cost": 134.00, "sale_price": 151.00, "vat": 0.00, "qty": 14.60},{"product_id": "6178c3fca3248", "cost": 64.00, "sale_price": 79.00, "vat": 0.00, "qty": 0.97},{"product_id": "6178c3fc9aed1", "cost": 95.00, "sale_price": 110.00, "vat": 0.00, "qty": 0.98},{"product_id": "6178c3fc52204", "cost": 220.00, "sale_price": 240.00, "vat": 0.00, "qty": 1.01},{"product_id": "61f2aa459fe8d", "cost": 80.00, "sale_price": 100.00, "vat": 0.00, "qty": 0.68},{"product_id": "6178c3fc83823", "cost": 140.00, "sale_price": 159.00, "vat": 0.00, "qty": 3.90},{"product_id": "6178c3fc87226", "cost": 105.00, "sale_price": 121.00, "vat": 0.00, "qty": 5.97},{"product_id": "6178c3fc7ff9d", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 1.26}]}" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "App\Controller\ServicesController::submitSaleReport" |
_firewall_context | "security.firewall.map.context.main" |
_route | "submit_sale_report" |
_route_params | [] |
_security_firewall_run | "_security_main" |
_stopwatch_token | "fe828b" |
Request Headers
Header | Value |
---|---|
accept | "/" |
connection | "Keep-Alive" |
content-length | "1409" |
content-type | "application/x-www-form-urlencoded" |
expect | "100-continue" |
host | "bio-moosod.com" |
user-agent | "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)" |
x-php-ob-level | "1" |
Request Content
Raw
data={"date": "2024-11-16T08:31:43.0000000Z", "branch": "62dfab5bc9e6c", "total_cost": 6741.00 , "total_vat": 0.00, "total_sale": 7715.00, "staff": 0, "detail": [{"product_id": "6178c3fc49413", "cost": 106.00, "sale_price": 128.00, "vat": 0.00, "qty": 0.74},{"product_id": "6178c3fc4c01b", "cost": 105.00, "sale_price": 126.00, "vat": 0.00, "qty": 1.39},{"product_id": "6178c3fc9349d", "cost": 125.00, "sale_price": 140.00, "vat": 0.00, "qty": 9.23},{"product_id": "6178c3fc85655", "cost": 113.00, "sale_price": 133.00, "vat": 0.00, "qty": 10.76},{"product_id": "6178c3fca451a", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 4.31},{"product_id": "6178c3fc81a19", "cost": 134.00, "sale_price": 151.00, "vat": 0.00, "qty": 14.60},{"product_id": "6178c3fca3248", "cost": 64.00, "sale_price": 79.00, "vat": 0.00, "qty": 0.97},{"product_id": "6178c3fc9aed1", "cost": 95.00, "sale_price": 110.00, "vat": 0.00, "qty": 0.98},{"product_id": "6178c3fc52204", "cost": 220.00, "sale_price": 240.00, "vat": 0.00, "qty": 1.01},{"product_id": "61f2aa459fe8d", "cost": 80.00, "sale_price": 100.00, "vat": 0.00, "qty": 0.68},{"product_id": "6178c3fc83823", "cost": 140.00, "sale_price": 159.00, "vat": 0.00, "qty": 3.90},{"product_id": "6178c3fc87226", "cost": 105.00, "sale_price": 121.00, "vat": 0.00, "qty": 5.97},{"product_id": "6178c3fc7ff9d", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 1.26}]}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Sat, 16 Nov 2024 13:41:25 GMT" |
x-debug-token | "4c6382" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[ [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 44 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-http/Firewall/AccessListener.php" "line" => 69 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php" "line" => 49 "function" => "authenticate" "class" => "Symfony\Component\Security\Http\Firewall\AccessListener" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-http/Firewall/AbstractListener.php" "line" => 26 "function" => "authenticate" "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-bundle/Security/LazyFirewallContext.php" "line" => 60 "function" => "__invoke" "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php" "line" => 59 "function" => "__invoke" "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/security-http/Firewall.php" "line" => 86 "function" => "callListeners" "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 117 "function" => "onKernelRequest" "class" => "Symfony\Component\Security\Http\Firewall" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 230 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 59 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 151 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/http-kernel/HttpKernel.php" "line" => 132 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/http-kernel/HttpKernel.php" "line" => 78 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/http-kernel/Kernel.php" "line" => 199 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 37 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/vendor/autoload_runtime.php" "line" => 35 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/home/biomooso/domains/bio-moosod.com/public_html/index.php" "line" => 5 "args" => [ "/home/biomooso/domains/bio-moosod.com/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 | "c0ce9e4a59cec9e1f4ff13dc3bda1165" |
DATABASE_URL | "mysql://biomooso_root:w,j[vd@localhost:3306/biomooso_ezyshop?serverVersion=mariadb-10.4.20" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "1409" |
CONTENT_TYPE | "application/x-www-form-urlencoded" |
CONTEXT_DOCUMENT_ROOT | "/home/biomooso/domains/bio-moosod.com/private_html" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/home/biomooso/domains/bio-moosod.com/private_html" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "/" |
HTTP_CONNECTION | "Keep-Alive" |
HTTP_EXPECT | "100-continue" |
HTTP_HOST | "bio-moosod.com" |
HTTP_USER_AGENT | "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_HTTPS | "on" |
REDIRECT_SSL_TLS_SNI | "bio-moosod.com" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "ZzihBRIcifN-I3eg_wzjEAAAAB4" |
REDIRECT_URL | "/services/submitSaleReport" |
REMOTE_ADDR | "223.205.217.238" |
REMOTE_PORT | "53602" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1731764485 |
REQUEST_TIME_FLOAT | 1731764485.0894 |
REQUEST_URI | "/services/submitSaleReport" |
SCRIPT_FILENAME | "/home/biomooso/domains/bio-moosod.com/private_html/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "27.254.33.44" |
SERVER_ADMIN | "webmaster@bio-moosod.com" |
SERVER_NAME | "bio-moosod.com" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2" |
SSL_TLS_SNI | "bio-moosod.com" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL" |
UNIQUE_ID | "ZzihBRIcifN-I3eg_wzjEAAAAB4" |