Partner Files
+
Xinvoices: 0.00 Lei
Xpayments: 0.00 Lei
Balance: 0.00 Lei
Xpayments: 0.00 Lei
Balance: 0.00 Lei
No querystring data.
To view Cookies, add CookieComponent to Controller
| Query | Affected | Num. rows | Took (ms) | Actions |
|---|---|---|---|---|
| SELECT COUNT(*) AS `count` FROM `giuvaier_d`.`partners` AS `Partner` WHERE `Partner`.`id` = 8 | 1 | 1 | 0 | |
| SELECT `Partner`.`id`, `Partner`.`name`, `Partner`.`is_active`, `Partner`.`notes`, `Partner`.`created`, `Partner`.`timestamp`, (`Partner`.`name`) AS `Partner__display_field`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_price_wo_vat`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_price_wo_vat`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_vat`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_vat`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_other_charges`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_other_charges`, (IFNULL((SELECT SUM((`Partner_Xinvoices`.`total_price_wo_vat` + `Partner_Xinvoices`.`total_vat` + `Partner_Xinvoices`.`total_other_charges`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_price`, (IFNULL((SELECT SUM(`Partner_Xpayments`.`amount`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`), 0)) AS `Partner__total_xpayments`, ((IFNULL((SELECT SUM((`Partner_Xinvoices`.`total_price_wo_vat` + `Partner_Xinvoices`.`total_vat` + `Partner_Xinvoices`.`total_other_charges`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0) - IFNULL((SELECT SUM(`Partner_Xpayments`.`amount`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`), 0))) AS `Partner__balance`, ((SELECT MAX(`Partner_Xinvoices`.`date`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`)) AS `Partner__last_xinvoice_date`, ((SELECT DATEDIFF(CURDATE(), MAX(`Partner_Xinvoices`.`date`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`)) AS `Partner__last_xinvoice_days`, ((SELECT MAX(`Partner_Xpayments`.`date`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`)) AS `Partner__last_xpayment_date`, ((SELECT DATEDIFF(CURDATE(), MAX(`Partner_Xpayments`.`date`)) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`)) AS `Partner__last_xpayment_days` FROM `giuvaier_d`.`partners` AS `Partner` WHERE `Partner`.`id` = 8 ORDER BY `Partner`.`name` ASC LIMIT 1 | 1 | 1 | 2 | maybe slow |
| SELECT `XinvoiceList`.`id`, `XinvoiceList`.`partner_id`, `XinvoiceList`.`date`, `XinvoiceList`.`reference`, `XinvoiceList`.`total_price_wo_vat`, `XinvoiceList`.`total_vat`, `XinvoiceList`.`total_other_charges`, `XinvoiceList`.`notes`, `XinvoiceList`.`created`, `XinvoiceList`.`timestamp`, (CONCAT(`XinvoiceList`.`date`, " ", `XinvoiceList`.`reference`, " ", (`XinvoiceList`.`total_price_wo_vat` + `XinvoiceList`.`total_vat` + `XinvoiceList`.`total_other_charges`))) AS `XinvoiceList__display_field`, ((`XinvoiceList`.`total_price_wo_vat` + `XinvoiceList`.`total_vat` + `XinvoiceList`.`total_other_charges`)) AS `XinvoiceList__total_price`, ((SELECT SUM((`XinvoiceSQ1`.`total_price_wo_vat` + `XinvoiceSQ1`.`total_vat` + `XinvoiceSQ1`.`total_other_charges`)) FROM xinvoices XinvoiceSQ1 WHERE `XinvoiceSQ1`.`partner_id` = `XinvoiceList`.`partner_id` AND (`XinvoiceSQ1`.`date` < `XinvoiceList`.`date` OR (`XinvoiceSQ1`.`date` = `XinvoiceList`.`date` AND `XinvoiceSQ1`.`id` <= `XinvoiceList`.`id`)))- IFNULL((SELECT SUM(`XpaymentSQ1`.`amount`) FROM xpayments XpaymentSQ1 WHERE `XpaymentSQ1`.`partner_id` = `XinvoiceList`.`partner_id` AND (`XpaymentSQ1`.`date` < `XinvoiceList`.`date`)), 0)) AS `XinvoiceList__balance` FROM `giuvaier_d`.`xinvoices` AS `XinvoiceList` WHERE `XinvoiceList`.`partner_id` = (8) ORDER BY `XinvoiceList`.`date` DESC, `XinvoiceList`.`id` DESC | 0 | 0 | 0 | |
| SELECT `XpaymentList`.`id`, `XpaymentList`.`partner_id`, `XpaymentList`.`date`, `XpaymentList`.`reference`, `XpaymentList`.`amount`, `XpaymentList`.`xpayment_method_id`, `XpaymentList`.`notes`, `XpaymentList`.`created`, `XpaymentList`.`timestamp`, (`XpaymentList`.`id`) AS `XpaymentList__display_field`, (IFNULL((SELECT SUM((`XinvoiceSQ1`.`total_price_wo_vat` + `XinvoiceSQ1`.`total_vat` + `XinvoiceSQ1`.`total_other_charges`)) FROM xinvoices XinvoiceSQ1 WHERE `XinvoiceSQ1`.`partner_id` = `XpaymentList`.`partner_id` AND (`XinvoiceSQ1`.`date` <= `XpaymentList`.`date`)), 0)- (SELECT SUM(`XpaymentSQ1`.`amount`) FROM xpayments XpaymentSQ1 WHERE `XpaymentSQ1`.`partner_id` = `XpaymentList`.`partner_id` AND (`XpaymentSQ1`.`date` < `XpaymentList`.`date` OR (`XpaymentSQ1`.`date` = `XpaymentList`.`date` AND `XpaymentSQ1`.`id` <= `XpaymentList`.`id`)))) AS `XpaymentList__balance` FROM `giuvaier_d`.`xpayments` AS `XpaymentList` WHERE `XpaymentList`.`partner_id` = (8) ORDER BY `XpaymentList`.`date` DESC, `XpaymentList`.`id` DESC | 0 | 0 | 0 | |
| SELECT `XorderList`.`id`, `XorderList`.`partner_id`, `XorderList`.`date`, `XorderList`.`awb`, `XorderList`.`currency`, `XorderList`.`exchange_rate`, `XorderList`.`notes`, `XorderList`.`created`, `XorderList`.`timestamp`, (CONCAT(`XorderList`.`date`, " ", (SELECT `XorderList_Partner`.`name` FROM partners XorderList_Partner WHERE `XorderList`.`partner_id` = `XorderList_Partner`.`id`))) AS `XorderList__display_field`, (IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0)) AS `XorderList__diamonds_cost`, ((IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0) + `XorderList`.`ship_cost`)) AS `XorderList__xpayment_xamount`, (ROUND(`XorderList`.`ship_cost` * `XorderList`.`exchange_rate`, 2)) AS `XorderList__ship_cost`, (ROUND(100 * ROUND(`XorderList`.`ship_cost` * `XorderList`.`exchange_rate`, 2) / IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0), 2)) AS `XorderList__ship_cost_percent` FROM `giuvaier_d`.`xorders` AS `XorderList` WHERE `XorderList`.`partner_id` = (8) ORDER BY `XorderList`.`date` DESC | 1 | 1 | 3 | maybe slow |
| SELECT COUNT(*) AS `count` FROM `giuvaier_d`.`partners` AS `Partner` WHERE `Partner`.`id` = 8 | 1 | 1 | 0 | |
| SELECT `Partner`.`id`, `Partner`.`name`, `Partner`.`is_active`, `Partner`.`notes`, `Partner`.`created`, `Partner`.`timestamp`, (`Partner`.`name`) AS `Partner__display_field`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_price_wo_vat`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_price_wo_vat`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_vat`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_vat`, (IFNULL((SELECT SUM(`Partner_Xinvoices`.`total_other_charges`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_other_charges`, (IFNULL((SELECT SUM((`Partner_Xinvoices`.`total_price_wo_vat` + `Partner_Xinvoices`.`total_vat` + `Partner_Xinvoices`.`total_other_charges`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0)) AS `Partner__total_price`, (IFNULL((SELECT SUM(`Partner_Xpayments`.`amount`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`), 0)) AS `Partner__total_xpayments`, ((IFNULL((SELECT SUM((`Partner_Xinvoices`.`total_price_wo_vat` + `Partner_Xinvoices`.`total_vat` + `Partner_Xinvoices`.`total_other_charges`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`), 0) - IFNULL((SELECT SUM(`Partner_Xpayments`.`amount`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`), 0))) AS `Partner__balance`, ((SELECT MAX(`Partner_Xinvoices`.`date`) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`)) AS `Partner__last_xinvoice_date`, ((SELECT DATEDIFF(CURDATE(), MAX(`Partner_Xinvoices`.`date`)) FROM xinvoices Partner_Xinvoices WHERE `Partner`.`id` = `Partner_Xinvoices`.`partner_id`)) AS `Partner__last_xinvoice_days`, ((SELECT MAX(`Partner_Xpayments`.`date`) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`)) AS `Partner__last_xpayment_date`, ((SELECT DATEDIFF(CURDATE(), MAX(`Partner_Xpayments`.`date`)) FROM xpayments Partner_Xpayments WHERE `Partner`.`id` = `Partner_Xpayments`.`partner_id`)) AS `Partner__last_xpayment_days` FROM `giuvaier_d`.`partners` AS `Partner` WHERE `Partner`.`id` = 8 ORDER BY `Partner`.`name` ASC LIMIT 1 | 1 | 1 | 1 | |
| SELECT `XinvoiceList`.`id`, `XinvoiceList`.`partner_id`, `XinvoiceList`.`date`, `XinvoiceList`.`reference`, `XinvoiceList`.`total_price_wo_vat`, `XinvoiceList`.`total_vat`, `XinvoiceList`.`total_other_charges`, `XinvoiceList`.`notes`, `XinvoiceList`.`created`, `XinvoiceList`.`timestamp`, (CONCAT(`XinvoiceList`.`date`, " ", `XinvoiceList`.`reference`, " ", (`XinvoiceList`.`total_price_wo_vat` + `XinvoiceList`.`total_vat` + `XinvoiceList`.`total_other_charges`))) AS `XinvoiceList__display_field`, ((`XinvoiceList`.`total_price_wo_vat` + `XinvoiceList`.`total_vat` + `XinvoiceList`.`total_other_charges`)) AS `XinvoiceList__total_price`, ((SELECT SUM((`XinvoiceSQ1`.`total_price_wo_vat` + `XinvoiceSQ1`.`total_vat` + `XinvoiceSQ1`.`total_other_charges`)) FROM xinvoices XinvoiceSQ1 WHERE `XinvoiceSQ1`.`partner_id` = `XinvoiceList`.`partner_id` AND (`XinvoiceSQ1`.`date` < `XinvoiceList`.`date` OR (`XinvoiceSQ1`.`date` = `XinvoiceList`.`date` AND `XinvoiceSQ1`.`id` <= `XinvoiceList`.`id`)))- IFNULL((SELECT SUM(`XpaymentSQ1`.`amount`) FROM xpayments XpaymentSQ1 WHERE `XpaymentSQ1`.`partner_id` = `XinvoiceList`.`partner_id` AND (`XpaymentSQ1`.`date` < `XinvoiceList`.`date`)), 0)) AS `XinvoiceList__balance` FROM `giuvaier_d`.`xinvoices` AS `XinvoiceList` WHERE `XinvoiceList`.`partner_id` = (8) ORDER BY `XinvoiceList`.`date` DESC, `XinvoiceList`.`id` DESC | 0 | 0 | 0 | |
| SELECT `XpaymentList`.`id`, `XpaymentList`.`partner_id`, `XpaymentList`.`date`, `XpaymentList`.`reference`, `XpaymentList`.`amount`, `XpaymentList`.`xpayment_method_id`, `XpaymentList`.`notes`, `XpaymentList`.`created`, `XpaymentList`.`timestamp`, (`XpaymentList`.`id`) AS `XpaymentList__display_field`, (IFNULL((SELECT SUM((`XinvoiceSQ1`.`total_price_wo_vat` + `XinvoiceSQ1`.`total_vat` + `XinvoiceSQ1`.`total_other_charges`)) FROM xinvoices XinvoiceSQ1 WHERE `XinvoiceSQ1`.`partner_id` = `XpaymentList`.`partner_id` AND (`XinvoiceSQ1`.`date` <= `XpaymentList`.`date`)), 0)- (SELECT SUM(`XpaymentSQ1`.`amount`) FROM xpayments XpaymentSQ1 WHERE `XpaymentSQ1`.`partner_id` = `XpaymentList`.`partner_id` AND (`XpaymentSQ1`.`date` < `XpaymentList`.`date` OR (`XpaymentSQ1`.`date` = `XpaymentList`.`date` AND `XpaymentSQ1`.`id` <= `XpaymentList`.`id`)))) AS `XpaymentList__balance` FROM `giuvaier_d`.`xpayments` AS `XpaymentList` WHERE `XpaymentList`.`partner_id` = (8) ORDER BY `XpaymentList`.`date` DESC, `XpaymentList`.`id` DESC | 0 | 0 | 0 | |
| SELECT `XorderList`.`id`, `XorderList`.`partner_id`, `XorderList`.`date`, `XorderList`.`awb`, `XorderList`.`currency`, `XorderList`.`exchange_rate`, `XorderList`.`notes`, `XorderList`.`created`, `XorderList`.`timestamp`, (CONCAT(`XorderList`.`date`, " ", (SELECT `XorderList_Partner`.`name` FROM partners XorderList_Partner WHERE `XorderList`.`partner_id` = `XorderList_Partner`.`id`))) AS `XorderList__display_field`, (IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0)) AS `XorderList__diamonds_cost`, ((IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0) + `XorderList`.`ship_cost`)) AS `XorderList__xpayment_xamount`, (ROUND(`XorderList`.`ship_cost` * `XorderList`.`exchange_rate`, 2)) AS `XorderList__ship_cost`, (ROUND(100 * ROUND(`XorderList`.`ship_cost` * `XorderList`.`exchange_rate`, 2) / IFNULL((SELECT SUM(`Xorder_Diamonds`.`cost`) FROM diamonds Xorder_Diamonds WHERE `XorderList`.`id` = `Xorder_Diamonds`.`xorder_id`), 0), 2)) AS `XorderList__ship_cost_percent` FROM `giuvaier_d`.`xorders` AS `XorderList` WHERE `XorderList`.`partner_id` = (8) ORDER BY `XorderList`.`date` DESC | 1 | 1 | 0 | |
| SELECT COUNT(*) open_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 0; | 1 | 1 | 1 | |
| SELECT COUNT(*) peste_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 1; | 1 | 1 | 1 | |
| SELECT COUNT(*) flag_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 2; | 1 | 1 | 1 | |
| SELECT COUNT(*) star_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 3; | 1 | 1 | 1 | |
| SELECT COUNT(*) wedding_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 4; | 1 | 1 | 1 | |
| SELECT COUNT(*) unlock_count FROM orders, tags WHERE orders.tag_id = tags.id AND tags.is_open = 1 AND orders.is_peste = 9; | 1 | 1 | 1 | |
| SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` where `TABLE_SCHEMA` = 'diamag_v9' ORDER BY `TABLE_NAME`; | 0 | 0 | 2 | maybe slow |
Peak Memory Use 3.99 MB
| Message | Memory use |
|---|---|
| Component initialization | 1.37 MB |
| Controller action start | 1.46 MB |
| Controller render start | 2.30 MB |
| View render complete | 2.76 MB |
Total Request Time: 84 (ms)
| Message | Time in ms | Graph |
|---|---|---|
| Core Processing (Derived from $_SERVER["REQUEST_TIME"]) | 6.79 | |
| Event: Controller.initialize | 0.06 | |
| Event: Controller.startup | 0.16 | |
| Controller action | 37.98 | |
| Event: Controller.beforeRender | 7.72 | |
| » Processing toolbar data | 7.60 | |
| Rendering View | 13.30 | |
| » Event: View.beforeRender | 0.04 | |
| » Rendering APP/View/Partners/view.ctp | 3.24 | |
| » Event: View.afterRender | 0.03 | |
| » Event: View.beforeLayout | 0.03 | |
| » Rendering APP/View/Layouts/default.ctp | 9.28 | |
| Event: View.afterLayout | 0.00 |
| Constant | Value |
|---|---|
| DB | giuvaier_d |
| PW | zg5_UCp-tGkt |
| Constant | Value |
|---|---|
| APP | /home2/giuvaier/b/app/ |
| APP_DIR | app |
| APPLIBS | /home2/giuvaier/b/app/Lib/ |
| CACHE | /home2/giuvaier/b/app/tmp/cache/ |
| CAKE | /home2/giuvaier/b/lib/Cake/ |
| CAKE_CORE_INCLUDE_PATH | /home2/giuvaier/b/lib |
| CORE_PATH | /home2/giuvaier/b/lib/ |
| CAKE_VERSION | 2.4.0 |
| CSS | /home2/giuvaier/b/app/webroot/css/ |
| CSS_URL | css/ |
| DS | / |
| FULL_BASE_URL | https://b.giuvaierul.ro |
| IMAGES | /home2/giuvaier/b/app/webroot/img/ |
| IMAGES_URL | img/ |
| JS | /home2/giuvaier/b/app/webroot/js/ |
| JS_URL | js/ |
| LOGS | /home2/giuvaier/b/app/tmp/logs/ |
| ROOT | /home2/giuvaier/b |
| TESTS | /home2/giuvaier/b/app/Test/ |
| TMP | /home2/giuvaier/b/app/tmp/ |
| VENDORS | /home2/giuvaier/b/vendors/ |
| WEBROOT_DIR | webroot |
| WWW_ROOT | /home2/giuvaier/b/app/webroot/ |
| Environment Variable | Value |
|---|---|
| Php Version | 5.6.40 |
| Php Ini Scan Dir | :/home2/giuvaier/ |
| Path | /usr/local/bin:/bin:/usr/bin |
| Document Root | /home2/giuvaier/b |
| Http Accept | */* |
| Http Accept Encoding | gzip, br, zstd, deflate |
| Http Cookie | CAKEPHP=hucgudlb0is6uoj7ebhf4vgv93 |
| Http Host | b.giuvaierul.ro |
| Http User Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| Remote Addr | 216.73.216.39 |
| Remote Port | 52147 |
| Server Addr | 80.96.7.196 |
| Server Name | b.giuvaierul.ro |
| Server Admin | webmaster@b.giuvaierul.ro |
| Server Port | 443 |
| Request Scheme | https |
| Request Uri | /Partners/view/8 |
| Redirect Url | /app/webroot/Partners/view/8 |
| Redirect Request Method | GET |
| Https | on |
| Redirect Status | 200 |
| X Spdy | HTTP2 |
| Ssl Protocol | TLSv1.3 |
| Ssl Cipher | TLS_AES_256_GCM_SHA384 |
| Ssl Cipher Usekeysize | 256 |
| Ssl Cipher Algkeysize | 256 |
| Script Filename | /home2/giuvaier/b/app/webroot/index.php |
| Query String | |
| Script Uri | https://b.giuvaierul.ro/Partners/view/8 |
| Script Url | /Partners/view/8 |
| Script Name | /app/webroot/index.php |
| Server Protocol | HTTP/1.1 |
| Server Software | LiteSpeed |
| Request Method | GET |
| X-lscache | on |
| Php Self | /app/webroot/index.php |
| Request Time Float | 1796552152.9714 |
| Request Time | 1796552152 |
| Argc | 0 |