POST https://travelmanager.online/api/front/documents/preview

Query Metrics

14 Database Queries
10 Different statements
5.69 ms Query time
0 Invalid entities
57 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.86 ms
(15.10%)
1
SELECT s0_.service_type AS service_type_0, s0_.start_date AS start_date_1, s0_.end_date AS end_date_2, s0_.virtual_properties AS virtual_properties_3, s0_.payment_mode AS payment_mode_4, s0_.payment_status AS payment_status_5, s0_.id AS id_6, s0_.version AS version_7, s0_.notes AS notes_8, s1_.bank_account_number AS bank_account_number_9, s1_.currency AS currency_10, s1_.tour_leader_notice AS tour_leader_notice_11, s1_.tin AS tin_12, s1_.website AS website_13, s1_.id AS id_14, s1_.version AS version_15, s1_.notes AS notes_16, s1_.email AS email_17, s1_.phone AS phone_18, s1_.name AS name_19, s1_.address_line AS address_line_20, s1_.address_postal_code AS address_postal_code_21, s1_.address_city AS address_city_22, s1_.address_country_code AS address_country_code_23, s1_.address_google_place AS address_google_place_24, s1_.birth_date AS birth_date_25, s1_.name_2 AS name_2_26, s1_.name_1 AS name_1_27, s1_.name_2 AS name_2_28, s0_.status_id AS status_id_29, s0_.trip_id AS trip_id_30, s0_.supplier_id AS supplier_id_31, s1_.discriminator AS discriminator_32, s1_.operator_id AS operator_id_33 FROM service_deliveries s0_ INNER JOIN suppliers s1_ ON s0_.supplier_id = s1_.id AND s1_.discriminator IN ('TRANSPORT', 'ACCOMMODATION', 'ATTRACTION', 'TOUR_LEADER') WHERE s0_.trip_id = ? ORDER BY s0_.start_date ASC
Parameters:
[
  394
]
0.85 ms
(15.01%)
1
SELECT t0.role AS role_1, t0.email AS email_2, t0.phone AS phone_3, t0.password AS password_4, t0.active AS active_5, t0.id AS id_6, t0.version AS version_7, t0.first_name AS first_name_8, t0.last_name AS last_name_9, t0.operator_id AS operator_id_10 FROM employees t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "aleksandra.salachna@allintravel.pl"
]
0.83 ms
(14.57%)
1
SELECT d0_.quantity AS quantity_0, d0_.price AS price_1, d0_.currency AS currency_2, d0_.id AS id_3, d0_.version AS version_4, d0_.name AS name_5, d0_.delivery_id AS delivery_id_6 FROM delivered_services d0_ INNER JOIN service_deliveries s1_ ON d0_.delivery_id = s1_.id WHERE s1_.trip_id = ? ORDER BY d0_.id ASC
Parameters:
[
  394
]
0.70 ms
(12.28%)
5
SELECT t0.code AS code_1, t0.position AS position_2, t0.id AS id_3, t0.version AS version_4, t0.name AS name_5, t0.text_color AS text_color_6, t0.text_background_color AS text_background_color_7, t0.operator_id AS operator_id_8, t0.discriminator FROM dictionaries t0 WHERE t0.id = ? AND t0.discriminator IN ('accommodation_trip_field_status', 'attraction_trip_field_status', 'client_trip_field_status', 'contract_trip_field_status', 'dates_trip_field_status', 'external_identifier_trip_field_status', 'name_trip_field_status', 'organization_trip_field_status', 'participants_counts_trip_field_status', 'tour_leader_trip_field_status', 'transport_trip_field_status')
Parameters:
[
  205
]
0.64 ms
(11.25%)
1
SELECT t1.original_name AS original_name_2, t1.content_type AS content_type_3, t1.key AS key_4, t1.creation_timestamp AS creation_timestamp_5, t1.size AS size_6, t1.hash AS hash_7, t1.encryption_key AS encryption_key_8, t1.encryption_iv AS encryption_iv_9, t1.id AS id_10, t0.name AS name_11, t0.type AS type_12, t0.version AS version_13, t0.trip_id AS trip_id_14, t1.discriminator FROM trip_files t0 INNER JOIN files t1 ON t0.id = t1.id WHERE t0.trip_id = ?
Parameters:
[
  394
]
0.44 ms
(7.68%)
1
SELECT a0_.field AS field_0, a0_.id AS id_1, a0_.version AS version_2, d1_.code AS code_3, d1_.position AS position_4, d1_.id AS id_5, d1_.version AS version_6, d1_.name AS name_7, d1_.text_color AS text_color_8, d1_.text_background_color AS text_background_color_9, a0_.trip_id AS trip_id_10, a0_.status_id AS status_id_11, d1_.discriminator AS discriminator_12, d1_.operator_id AS operator_id_13 FROM assigned_trip_field_statuses a0_ INNER JOIN dictionaries d1_ ON a0_.status_id = d1_.id AND d1_.discriminator IN ('accommodation_trip_field_status', 'attraction_trip_field_status', 'client_trip_field_status', 'contract_trip_field_status', 'dates_trip_field_status', 'external_identifier_trip_field_status', 'name_trip_field_status', 'organization_trip_field_status', 'participants_counts_trip_field_status', 'tour_leader_trip_field_status', 'transport_trip_field_status') WHERE a0_.trip_id IN (?)
Parameters:
[
  394
]
0.37 ms
(6.41%)
1
SELECT t0.registration_timestamp AS registration_timestamp_1, t0.id AS id_2, t0.version AS version_3, t0.first_name AS first_name_4, t0.last_name AS last_name_5, t0.notes AS notes_6, t0.email AS email_7, t0.phone AS phone_8, t0.organization_id AS organization_id_9, t0.operator_id AS operator_id_10 FROM clients t0 WHERE t0.id = ?
Parameters:
[
  9801
]
0.36 ms
(6.24%)
1
SELECT t0.description AS description_1, t0.config AS config_2, t0.enabled AS enabled_3, t0.type AS type_4, t0.format AS format_5, t0.id AS id_6, t0.version AS version_7, t0.name AS name_8, t0.operator_id AS operator_id_9 FROM document_templates t0 WHERE t0.id = ?
Parameters:
[
  34
]
0.33 ms
(5.82%)
1
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.external_identifier AS external_identifier_2, t0_.start_date AS start_date_3, t0_.end_date AS end_date_4, t0_.paid_participants_count AS paid_participants_count_5, t0_.free_participants_count AS free_participants_count_6, t0_.contract AS contract_7, t0_.supervisor_id AS sclr_8, t0_.client_id AS sclr_9, t0_.organization_id AS sclr_10, t0_.offer_id AS sclr_11, t0_.virtual_properties AS virtual_properties_12, t0_.properties_notes AS properties_notes_13, t0_.version AS version_14, t0_.creation_timestamp AS creation_timestamp_15 FROM trips t0_ WHERE t0_.id = ?
Parameters:
[
  394
]
0.32 ms
(5.64%)
1
SELECT t0.name AS name_1, t0.short_name AS short_name_2, t0.tin AS tin_3, t0.id AS id_4, t0.version AS version_5, t0.notes AS notes_6, t0.email AS email_7, t0.phone AS phone_8, t0.address_line AS address_line_9, t0.address_postal_code AS address_postal_code_10, t0.address_city AS address_city_11, t0.address_country_code AS address_country_code_12, t0.address_google_place AS address_google_place_13, t0.operator_id AS operator_id_14 FROM organizations t0 WHERE t0.id = ?
Parameters:
[
  2335
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
TravelManager\Core\Model\Entity\DeliveredServiceEntity 13
TravelManager\Core\Model\Entity\Base\DictionaryEntryEntity 12
TravelManager\Core\Model\Entity\AssignedTripFieldStatusEntity 10
TravelManager\Core\Model\Entity\ServiceDeliveryEntity 8
TravelManager\Core\Model\Entity\Base\SupplierEntity 8
TravelManager\Admin\Model\Entity\EmployeeEntity 1
TravelManager\Admin\Model\Entity\TourOperatorEntity 1
TravelManager\Core\Model\Entity\DocumentTemplateEntity 1
TravelManager\Core\Model\Entity\TripEntity 1
TravelManager\Core\Model\Entity\ClientEntity 1
TravelManager\Core\Model\Entity\OrganizationEntity 1

Entities Mapping

Class Mapping errors
TravelManager\Admin\Model\Entity\EmployeeEntity No errors.
TravelManager\Admin\Model\Entity\TourOperatorEntity No errors.
TravelManager\Core\Model\Entity\DocumentTemplateEntity No errors.
TravelManager\Core\Model\Entity\TripEntity No errors.
TravelManager\Core\Model\Entity\ClientEntity No errors.
TravelManager\Core\Model\Entity\Base\AddressEmbeddable No errors.
TravelManager\Core\Model\Entity\OrganizationEntity No errors.
TravelManager\Core\Model\Entity\OfferEntity No errors.
TravelManager\Core\Model\Entity\DeliveredServiceEntity No errors.
TravelManager\Core\Model\Entity\ServiceDeliveryEntity No errors.
TravelManager\Core\Model\Entity\Base\SupplierEntity No errors.
TravelManager\Core\Model\Entity\Base\CompanySupplierEntity No errors.
TravelManager\Core\Model\Entity\TransportSupplierEntity No errors.
TravelManager\Core\Model\Entity\AccommodationSupplierEntity No errors.
TravelManager\Core\Model\Entity\AttractionSupplierEntity No errors.
TravelManager\Core\Model\Entity\Base\IndividualSupplierEntity No errors.
TravelManager\Core\Model\Entity\TourLeaderEntity No errors.
TravelManager\Core\Model\Entity\Base\DictionaryEntryEntity No errors.
TravelManager\Core\Model\Entity\Base\TripFieldStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\AccommodationStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\AttractionStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\ClientStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\ContractStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\DatesStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\ExternalIdentifierStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\NameStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\OrganizationStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\ParticipantsCountsStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\TourLeaderStatusEntity No errors.
TravelManager\Core\Model\Entity\DictionaryEntry\TripFieldStatus\TransportStatusEntity No errors.
TravelManager\Core\Model\Entity\AssignedTripFieldStatusEntity No errors.
TravelManager\Core\Model\Entity\Base\FileEntity No errors.
TravelManager\Core\Model\Entity\TripFileEntity No errors.