http://erp.decopierrenature.com/proforma/ajax?_=1766141782549&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=7&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=8&columns%5B8%5D%5Bname%5D=&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=true&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&finishDate=&length=25&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=desc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0&startDate=&warehouseid=7

Query Metrics

54 Database Queries
6 Different statements
415.58 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 2.11 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.phone AS phone_3, t0.roles AS roles_4, t0.password AS password_5, t0.locale AS locale_6, t0.username AS username_7, t0.fullname AS fullname_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  25
]
2 358.34 ms
SELECT count(DISTINCT s0_.id) AS sclr_0 FROM sales s0_ LEFT JOIN products_sold p1_ ON s0_.id = p1_.sales_id LEFT JOIN user u2_ ON s0_.seller_id = u2_.id LEFT JOIN product p3_ ON p1_.product_id = p3_.id LEFT JOIN warehouse w4_ ON s0_.warehouse_id = w4_.id LEFT JOIN stock_info s5_ ON w4_.id = s5_.warehouse_id LEFT JOIN customer c6_ ON s0_.customer_id = c6_.id WHERE s0_.visible = ? AND w4_.id = ?
Parameters:
[
  1
  "7"
]
3 8.79 ms
SELECT DISTINCT s0_.id AS id_0, s0_.id AS id_1 FROM sales s0_ LEFT JOIN products_sold p1_ ON s0_.id = p1_.sales_id LEFT JOIN user u2_ ON s0_.seller_id = u2_.id LEFT JOIN product p3_ ON p1_.product_id = p3_.id LEFT JOIN warehouse w4_ ON s0_.warehouse_id = w4_.id LEFT JOIN stock_info s5_ ON w4_.id = s5_.warehouse_id LEFT JOIN customer c6_ ON s0_.customer_id = c6_.id WHERE s0_.visible = ? AND w4_.id = ? ORDER BY s0_.id DESC LIMIT 25
Parameters:
[
  1
  "7"
]
4 28.43 ms
SELECT s0_.id AS id_0, s0_.invoice_number AS invoice_number_1, s0_.total_purchase_price AS total_purchase_price_2, s0_.sales_date AS sales_date_3, s0_.delivery_date AS delivery_date_4, s0_.due_date AS due_date_5, s0_.valid_date AS valid_date_6, s0_.description AS description_7, s0_.shipping_notes AS shipping_notes_8, s0_.payment_notes AS payment_notes_9, s0_.status AS status_10, s0_.visible AS visible_11, s0_.created_at AS created_at_12, s0_.updated_at AS updated_at_13, s0_.created_by AS created_by_14, s0_.updated_by AS updated_by_15, s0_.u_date AS u_date_16, s0_.seller_id AS seller_id_17, s0_.warehouse_id AS warehouse_id_18, s0_.customer_id AS customer_id_19, s0_.invoice_id AS invoice_id_20 FROM sales s0_ LEFT JOIN products_sold p1_ ON s0_.id = p1_.sales_id LEFT JOIN user u2_ ON s0_.seller_id = u2_.id LEFT JOIN product p3_ ON p1_.product_id = p3_.id LEFT JOIN warehouse w4_ ON s0_.warehouse_id = w4_.id LEFT JOIN stock_info s5_ ON w4_.id = s5_.warehouse_id LEFT JOIN customer c6_ ON s0_.customer_id = c6_.id WHERE s0_.visible = ? AND w4_.id = ? AND s0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY s0_.id DESC
Parameters:
[
  1
  "7"
  1276
  1275
  1274
  1273
  1272
  1271
  1270
  1269
  1268
  1267
  1266
  1265
  1264
  1263
  1260
  1259
  1258
  1257
  1256
  1255
  1254
  1253
  1252
  1251
  1250
]
5 0.87 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1450
]
6 0.49 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.phone AS phone_3, t0.roles AS roles_4, t0.password AS password_5, t0.locale AS locale_6, t0.username AS username_7, t0.fullname AS fullname_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  24
]
7 0.87 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1276
]
8 0.30 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1436
]
9 0.32 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1275
]
10 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  110
]
11 0.25 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.phone AS phone_3, t0.roles AS roles_4, t0.password AS password_5, t0.locale AS locale_6, t0.username AS username_7, t0.fullname AS fullname_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  26
]
12 0.29 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1274
]
13 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1447
]
14 0.23 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.phone AS phone_3, t0.roles AS roles_4, t0.password AS password_5, t0.locale AS locale_6, t0.username AS username_7, t0.fullname AS fullname_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  22
]
15 0.26 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1273
]
16 0.25 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1015
]
17 0.28 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1272
]
18 0.22 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1446
]
19 0.26 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1271
]
20 0.29 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  73
]
21 0.25 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1270
]
22 0.19 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1445
]
23 0.32 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1269
]
24 0.31 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  17
]
25 0.30 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1268
]
26 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1444
]
27 0.28 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1267
]
28 0.41 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1418
]
29 0.49 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1266
]
30 0.31 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  627
]
31 0.32 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1265
]
32 0.28 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1443
]
33 0.24 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1264
]
34 0.46 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1263
]
35 0.32 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1260
]
36 0.35 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1259
]
37 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1441
]
38 0.91 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1258
]
39 0.85 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1442
]
40 0.60 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1257
]
41 0.28 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1440
]
42 0.28 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1256
]
43 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1439
]
44 0.61 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.phone AS phone_3, t0.roles AS roles_4, t0.password AS password_5, t0.locale AS locale_6, t0.username AS username_7, t0.fullname AS fullname_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  27
]
45 0.39 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1255
]
46 0.33 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1438
]
47 0.31 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1254
]
48 0.32 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  835
]
49 0.32 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1253
]
50 0.26 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  1437
]
51 0.29 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1252
]
52 0.31 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1251
]
53 0.24 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.phone AS phone_3, t0.address AS address_4, t0.email AS email_5, t0.code AS code_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  829
]
54 0.27 ms
SELECT t0.id AS id_1, t0.payment_date AS payment_date_2, t0.amount AS amount_3, t0.payment_status AS payment_status_4, t0.due_date AS due_date_5, t0.description AS description_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.created_by AS created_by_9, t0.updated_by AS updated_by_10, t0.u_date AS u_date_11, t0.customer_id AS customer_id_12, t0.payment_method_id AS payment_method_id_13, t0.sales_id AS sales_id_14, t0.invoice_id AS invoice_id_15, t0.sales_return_id AS sales_return_id_16 FROM payment t0 WHERE t0.sales_id = ?
Parameters:
[
  1250
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\BaseEntity No errors.
App\Entity\Sales No errors.
App\Entity\Invoice
  • The field App\Entity\Invoice#proforma is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Sales#invoice does not contain the required 'inversedBy="proforma"' attribute.
App\Entity\ProductsSold No errors.
App\Entity\Product
  • The mappings App\Entity\Product#buyInTurkeys and App\Entity\BuyInTurkey#product are inconsistent with each other.
  • The association App\Entity\Product#containerProducts refers to the owning side field App\Entity\StockTransferProducts#Product which does not exist.
App\Entity\Warehouse No errors.
App\Entity\StockInfo No errors.
App\Entity\Customer No errors.
App\Entity\Payment No errors.
App\Entity\StockTransaction No errors.
App\Entity\SalesReturn No errors.
App\Entity\EmailMessage No errors.
App\Entity\SalesHistory No errors.
App\Entity\GiftProduct No errors.
App\Entity\PaymentMethod No errors.