ServicesController :: submitSaleReport
Request
GET Parameters
No GET parameters
POST Parameters
Key | Value |
---|---|
data | "{"date": "2024-11-18T13:09:24.8116991Z", "branch": "614960ef588b0", "total_cost": 10280.00 , "total_vat": 0.00, "total_sale": 11826.00, "staff": 0, "detail": [{"product_id": "6178c3fcc0495", "cost": 127.00, "sale_price": 162.00, "vat": 0.00, "qty": 3.00},{"product_id": "6178c3fc5b238", "cost": 80.00, "sale_price": 100.00, "vat": 0.00, "qty": 0.39},{"product_id": "6178c3fc5c3c4", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 1.25},{"product_id": "6178c3fc5610a", "cost": 125.00, "sale_price": 145.00, "vat": 0.00, "qty": 0.56},{"product_id": "6178c3fc49413", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 2.89},{"product_id": "6178c3fca451a", "cost": 106.00, "sale_price": 118.00, "vat": 0.00, "qty": 18.00},{"product_id": "6178c3fc471a0", "cost": 145.00, "sale_price": 165.00, "vat": 0.00, "qty": 1.19},{"product_id": "6178c3fc81a19", "cost": 134.00, "sale_price": 146.00, "vat": 0.00, "qty": 5.46},{"product_id": "6178c3fc8d222", "cost": 245.00, "sale_price": 260.00, "vat": 0.00, "qty": 1.11},{"product_id": "6178c3fc9349d", "cost": 125.00, "sale_price": 140.00, "vat": 0.00, "qty": 2.19},{"product_id": "6178c3fc8f42f", "cost": 80.00, "sale_price": 95.00, "vat": 0.00, "qty": 2.08},{"product_id": "6178c3fc88d80", "cost": 64.00, "sale_price": 79.00, "vat": 0.00, "qty": 8.02},{"product_id": "6178c3fc85655", "cost": 113.00, "sale_price": 128.00, "vat": 0.00, "qty": 6.79},{"product_id": "6178c3fc4a34c", "cost": 134.00, "sale_price": 151.00, "vat": 0.00, "qty": 1.05},{"product_id": "6178c3fc512e8", "cost": 42.00, "sale_price": 62.00, "vat": 0.00, "qty": 1.77},{"product_id": "6178c3fc4d35b", "cost": 140.00, "sale_price": 159.00, "vat": 0.00, "qty": 0.84},{"product_id": "6178c3fc66003", "cost": 60.00, "sale_price": 80.00, "vat": 0.00, "qty": 1.14},{"product_id": "6178c3fc4b226", "cost": 109.00, "sale_price": 126.00, "vat": 0.00, "qty": 1.26},{"product_id": "6178c3fc83823", "cost": 140.00, "sale_price": 154.00, "vat": 0.00, "qty": 16.13},{"product_id": "6178c3fc55184", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 0.52},{"product_id": "6178c3fc87226", "cost": 105.00, "sale_price": 116.00, "vat": 0.00, "qty": 7.54},{"product_id": "6178c3fc4851f", "cost": 113.00, "sale_price": 133.00, "vat": 0.00, "qty": 0.53},{"product_id": "6178c3fc5fa8e", "cost": 8.00, "sale_price": 28.00, "vat": 0.00, "qty": 1.14},{"product_id": "6178c3fcbea6b", "cost": 127.00, "sale_price": 167.00, "vat": 0.00, "qty": 0.50},{"product_id": "61a2cf761f8f4", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 5.00},{"product_id": "6178c3fcd95e8", "cost": 54.00, "sale_price": 69.00, "vat": 0.00, "qty": 11.00}]}" |
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 | "c8910c" |
Request Headers
Header | Value |
---|---|
accept | "/" |
connection | "close" |
content-length | "2644" |
content-type | "application/x-www-form-urlencoded" |
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" |
x-real-ip | "223.205.232.51" |
Request Content
Raw
data={"date": "2024-11-18T13:09:24.8116991Z", "branch": "614960ef588b0", "total_cost": 10280.00 , "total_vat": 0.00, "total_sale": 11826.00, "staff": 0, "detail": [{"product_id": "6178c3fcc0495", "cost": 127.00, "sale_price": 162.00, "vat": 0.00, "qty": 3.00},{"product_id": "6178c3fc5b238", "cost": 80.00, "sale_price": 100.00, "vat": 0.00, "qty": 0.39},{"product_id": "6178c3fc5c3c4", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 1.25},{"product_id": "6178c3fc5610a", "cost": 125.00, "sale_price": 145.00, "vat": 0.00, "qty": 0.56},{"product_id": "6178c3fc49413", "cost": 106.00, "sale_price": 123.00, "vat": 0.00, "qty": 2.89},{"product_id": "6178c3fca451a", "cost": 106.00, "sale_price": 118.00, "vat": 0.00, "qty": 18.00},{"product_id": "6178c3fc471a0", "cost": 145.00, "sale_price": 165.00, "vat": 0.00, "qty": 1.19},{"product_id": "6178c3fc81a19", "cost": 134.00, "sale_price": 146.00, "vat": 0.00, "qty": 5.46},{"product_id": "6178c3fc8d222", "cost": 245.00, "sale_price": 260.00, "vat": 0.00, "qty": 1.11},{"product_id": "6178c3fc9349d", "cost": 125.00, "sale_price": 140.00, "vat": 0.00, "qty": 2.19},{"product_id": "6178c3fc8f42f", "cost": 80.00, "sale_price": 95.00, "vat": 0.00, "qty": 2.08},{"product_id": "6178c3fc88d80", "cost": 64.00, "sale_price": 79.00, "vat": 0.00, "qty": 8.02},{"product_id": "6178c3fc85655", "cost": 113.00, "sale_price": 128.00, "vat": 0.00, "qty": 6.79},{"product_id": "6178c3fc4a34c", "cost": 134.00, "sale_price": 151.00, "vat": 0.00, "qty": 1.05},{"product_id": "6178c3fc512e8", "cost": 42.00, "sale_price": 62.00, "vat": 0.00, "qty": 1.77},{"product_id": "6178c3fc4d35b", "cost": 140.00, "sale_price": 159.00, "vat": 0.00, "qty": 0.84},{"product_id": "6178c3fc66003", "cost": 60.00, "sale_price": 80.00, "vat": 0.00, "qty": 1.14},{"product_id": "6178c3fc4b226", "cost": 109.00, "sale_price": 126.00, "vat": 0.00, "qty": 1.26},{"product_id": "6178c3fc83823", "cost": 140.00, "sale_price": 154.00, "vat": 0.00, "qty": 16.13},{"product_id": "6178c3fc55184", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 0.52},{"product_id": "6178c3fc87226", "cost": 105.00, "sale_price": 116.00, "vat": 0.00, "qty": 7.54},{"product_id": "6178c3fc4851f", "cost": 113.00, "sale_price": 133.00, "vat": 0.00, "qty": 0.53},{"product_id": "6178c3fc5fa8e", "cost": 8.00, "sale_price": 28.00, "vat": 0.00, "qty": 1.14},{"product_id": "6178c3fcbea6b", "cost": 127.00, "sale_price": 167.00, "vat": 0.00, "qty": 0.50},{"product_id": "61a2cf761f8f4", "cost": 55.00, "sale_price": 75.00, "vat": 0.00, "qty": 5.00},{"product_id": "6178c3fcd95e8", "cost": 54.00, "sale_price": 69.00, "vat": 0.00, "qty": 11.00}]}
Response
Response Headers
Header | Value |
---|---|
cache-control | "private, must-revalidate" |
content-type | "application/json" |
date | "Mon, 18 Nov 2024 15:11:16 GMT" |
expires | -1 |
pragma | "no-cache" |
x-debug-token | "8784d8" |
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 | "2644" |
CONTENT_TYPE | "application/x-www-form-urlencoded" |
CONTEXT_DOCUMENT_ROOT | "/home/biomooso/domains/bio-moosod.com/public_html" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/home/biomooso/domains/bio-moosod.com/public_html" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTP_ACCEPT | "/" |
HTTP_CONNECTION | "close" |
HTTP_HOST | "bio-moosod.com" |
HTTP_USER_AGENT | "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)" |
HTTP_X_REAL_IP | "223.205.232.51" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "ZztZFIsIbgPtNbyXdYJxHgAAAD8" |
REDIRECT_URL | "/services/submitSaleReport" |
REMOTE_ADDR | "223.205.232.51" |
REMOTE_PORT | "43933" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1731942676 |
REQUEST_TIME_FLOAT | 1731942676.0276 |
REQUEST_URI | "/services/submitSaleReport" |
SCRIPT_FILENAME | "/home/biomooso/domains/bio-moosod.com/public_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 | "80" |
SERVER_PROTOCOL | "HTTP/1.0" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL" |
UNIQUE_ID | "ZztZFIsIbgPtNbyXdYJxHgAAAD8" |