select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 620 - 2025-04-07 12:08:18 [0.14ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 621 - 2025-04-07 12:08:18 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 35799 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 622 - 2025-04-07 12:08:18 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 623 - 2025-04-07 12:08:18 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 624 - 2025-04-07 12:08:18 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 625 - 2025-04-07 12:08:18 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 626 - 2025-04-07 12:08:18 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 85791 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 627 - 2025-04-07 12:08:18 [0.16ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 628 - 2025-04-07 12:08:18 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 629 - 2025-04-07 12:08:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 630 - 2025-04-07 12:08:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 631 - 2025-04-07 12:08:18 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 632 - 2025-04-07 12:08:18 [0.14ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 633 - 2025-04-07 12:08:18 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 31896 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 634 - 2025-04-07 12:08:18 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 635 - 2025-04-07 12:08:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 636 - 2025-04-07 12:08:18 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 637 - 2025-04-07 12:08:18 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 638 - 2025-04-07 12:08:18 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 83022 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 639 - 2025-04-07 12:08:18 [0.16ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 640 - 2025-04-07 12:08:18 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 641 - 2025-04-07 12:08:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 642 - 2025-04-07 12:08:18 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 643 - 2025-04-07 12:08:18 [0.15ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 644 - 2025-04-07 12:08:18 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 645 - 2025-04-07 12:08:18 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 27034 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 646 - 2025-04-07 12:08:18 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 647 - 2025-04-07 12:08:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 648 - 2025-04-07 12:08:18 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 649 - 2025-04-07 12:08:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 650 - 2025-04-07 12:08:19 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 81371 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 651 - 2025-04-07 12:08:19 [0.18ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 652 - 2025-04-07 12:08:19 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 653 - 2025-04-07 12:08:19 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 654 - 2025-04-07 12:08:19 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 655 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 656 - 2025-04-07 12:08:19 [0.16ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 657 - 2025-04-07 12:08:19 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 25181 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 658 - 2025-04-07 12:08:19 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 659 - 2025-04-07 12:08:19 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 660 - 2025-04-07 12:08:19 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 661 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 662 - 2025-04-07 12:08:19 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 86661 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 663 - 2025-04-07 12:08:19 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 664 - 2025-04-07 12:08:19 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 665 - 2025-04-07 12:08:19 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 666 - 2025-04-07 12:08:19 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 667 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 668 - 2025-04-07 12:08:19 [0.18ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 669 - 2025-04-07 12:08:19 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 9084 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 670 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 671 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 672 - 2025-04-07 12:08:19 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 673 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 674 - 2025-04-07 12:08:19 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 86725 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 675 - 2025-04-07 12:08:19 [0.16ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 676 - 2025-04-07 12:08:19 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 677 - 2025-04-07 12:08:19 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 678 - 2025-04-07 12:08:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 679 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 680 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 681 - 2025-04-07 12:08:19 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 9101 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 682 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 683 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 684 - 2025-04-07 12:08:19 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 685 - 2025-04-07 12:08:19 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 686 - 2025-04-07 12:08:19 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 85191 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 687 - 2025-04-07 12:08:19 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 688 - 2025-04-07 12:08:19 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 689 - 2025-04-07 12:08:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 690 - 2025-04-07 12:08:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 691 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 692 - 2025-04-07 12:08:19 [0.14ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 693 - 2025-04-07 12:08:19 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 8839 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 694 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 695 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 696 - 2025-04-07 12:08:19 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 697 - 2025-04-07 12:08:19 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 698 - 2025-04-07 12:08:19 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 85792 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 699 - 2025-04-07 12:08:19 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 700 - 2025-04-07 12:08:19 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 701 - 2025-04-07 12:08:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 702 - 2025-04-07 12:08:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 703 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 704 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 705 - 2025-04-07 12:08:19 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 8943 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 706 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 707 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 708 - 2025-04-07 12:08:19 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 709 - 2025-04-07 12:08:19 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 710 - 2025-04-07 12:08:19 [2.25ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57466) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 711 - 2025-04-07 12:08:19 [2.06ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57466) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 712 - 2025-04-07 12:08:19 [0.8ms] */
select * from `transaction` where `transaction`.`id` in (216003, 216004, 216005, 248760, 461619, 509417, 548889, 548890, 548891, 574253) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 713 - 2025-04-07 12:08:19 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` in (85116, 89114, 93032, 99419) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 714 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 715 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 716 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 717 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 718 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 719 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 720 - 2025-04-07 12:08:19 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 721 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 722 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 723 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 724 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 725 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 726 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 727 - 2025-04-07 12:08:19 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 728 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 729 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 730 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 731 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 732 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 733 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 734 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 735 - 2025-04-07 12:08:19 [0.24ms] */
select * from `party` where `party`.`id` in (57466) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 736 - 2025-04-07 12:08:19 [0.23ms] */
select * from `address` where `address`.`id` in (57466) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 737 - 2025-04-07 12:08:19 [0.18ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 738 - 2025-04-07 12:08:19 [0.17ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 739 - 2025-04-07 12:08:19 [0.18ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 740 - 2025-04-07 12:08:19 [0.16ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 741 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 742 - 2025-04-07 12:08:19 [0.14ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 743 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 744 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 745 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 746 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 747 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 748 - 2025-04-07 12:08:19 [0.14ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 749 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 750 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 751 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 752 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 753 - 2025-04-07 12:08:19 [0.14ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 754 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 755 - 2025-04-07 12:08:19 [0.13ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 756 - 2025-04-07 12:08:19 [0.13ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 757 - 2025-04-07 12:08:19 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 758 - 2025-04-07 12:08:19 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 759 - 2025-04-07 12:08:19 [0.2ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 760 - 2025-04-07 12:08:19 [3.59ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57466 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 761 - 2025-04-07 12:08:19 [1.86ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57466 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 762 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 763 - 2025-04-07 12:08:19 [0.19ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 764 - 2025-04-07 12:08:19 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 765 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 766 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 767 - 2025-04-07 12:08:19 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 93032 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 768 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 769 - 2025-04-07 12:08:19 [0.16ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 770 - 2025-04-07 12:08:19 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 92712 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 771 - 2025-04-07 12:08:19 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 772 - 2025-04-07 12:08:19 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 773 - 2025-04-07 12:08:19 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 774 - 2025-04-07 12:08:19 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 25 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 775 - 2025-04-07 12:08:19 [0.85ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574253 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 776 - 2025-04-07 12:08:19 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 777 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 778 - 2025-04-07 12:08:19 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 779 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 780 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 781 - 2025-04-07 12:08:19 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89114 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 782 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 783 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 784 - 2025-04-07 12:08:19 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88389 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 785 - 2025-04-07 12:08:19 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 786 - 2025-04-07 12:08:19 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 787 - 2025-04-07 12:08:19 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 788 - 2025-04-07 12:08:19 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 548889 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 789 - 2025-04-07 12:08:19 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 790 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 791 - 2025-04-07 12:08:19 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 792 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 793 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 794 - 2025-04-07 12:08:19 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89114 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 795 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 796 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 797 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88389 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 798 - 2025-04-07 12:08:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 799 - 2025-04-07 12:08:19 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 800 - 2025-04-07 12:08:19 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 801 - 2025-04-07 12:08:19 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 548890 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 802 - 2025-04-07 12:08:19 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 803 - 2025-04-07 12:08:19 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 804 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 805 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 806 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 807 - 2025-04-07 12:08:19 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89114 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 808 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 809 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 810 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88389 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 811 - 2025-04-07 12:08:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 812 - 2025-04-07 12:08:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 813 - 2025-04-07 12:08:19 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 814 - 2025-04-07 12:08:19 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 548891 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 815 - 2025-04-07 12:08:19 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 816 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 817 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 818 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 819 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 820 - 2025-04-07 12:08:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 821 - 2025-04-07 12:08:19 [0.33ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 822 - 2025-04-07 12:08:19 [0.23ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 823 - 2025-04-07 12:08:19 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99768 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 824 - 2025-04-07 12:08:19 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 825 - 2025-04-07 12:08:19 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 826 - 2025-04-07 12:08:19 [0.25ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 827 - 2025-04-07 12:08:19 [0.36ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 828 - 2025-04-07 12:08:19 [3.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509417 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 829 - 2025-04-07 12:08:19 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 830 - 2025-04-07 12:08:19 [0.19ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 831 - 2025-04-07 12:08:19 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 832 - 2025-04-07 12:08:19 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 833 - 2025-04-07 12:08:19 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 834 - 2025-04-07 12:08:19 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 835 - 2025-04-07 12:08:19 [0.21ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 836 - 2025-04-07 12:08:19 [0.2ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 837 - 2025-04-07 12:08:19 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99768 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 838 - 2025-04-07 12:08:19 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 839 - 2025-04-07 12:08:19 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 840 - 2025-04-07 12:08:19 [0.16ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 841 - 2025-04-07 12:08:19 [0.45ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509358 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 842 - 2025-04-07 12:08:19 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 843 - 2025-04-07 12:08:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 844 - 2025-04-07 12:08:19 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 845 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 846 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 847 - 2025-04-07 12:08:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 848 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 849 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 850 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99768 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 851 - 2025-04-07 12:08:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 852 - 2025-04-07 12:08:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 853 - 2025-04-07 12:08:19 [0.16ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 854 - 2025-04-07 12:08:19 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509359 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 855 - 2025-04-07 12:08:19 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 856 - 2025-04-07 12:08:19 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 857 - 2025-04-07 12:08:19 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 858 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 859 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 860 - 2025-04-07 12:08:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 861 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 862 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 863 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99768 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 864 - 2025-04-07 12:08:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 865 - 2025-04-07 12:08:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 866 - 2025-04-07 12:08:19 [0.17ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 867 - 2025-04-07 12:08:19 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509360 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 868 - 2025-04-07 12:08:19 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 869 - 2025-04-07 12:08:19 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 870 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 871 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 872 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 873 - 2025-04-07 12:08:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 874 - 2025-04-07 12:08:19 [0.15ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 875 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 876 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99768 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 877 - 2025-04-07 12:08:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 878 - 2025-04-07 12:08:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 879 - 2025-04-07 12:08:19 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 880 - 2025-04-07 12:08:19 [0.42ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509308 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 881 - 2025-04-07 12:08:19 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 882 - 2025-04-07 12:08:19 [0.16ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 883 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 884 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 885 - 2025-04-07 12:08:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 886 - 2025-04-07 12:08:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90341 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 887 - 2025-04-07 12:08:19 [0.15ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 888 - 2025-04-07 12:08:19 [0.17ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 889 - 2025-04-07 12:08:19 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 89807 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 890 - 2025-04-07 12:08:19 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 891 - 2025-04-07 12:08:19 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 892 - 2025-04-07 12:08:19 [0.55ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 893 - 2025-04-07 12:08:19 [0.22ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 7 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 894 - 2025-04-07 12:08:19 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 507991 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 895 - 2025-04-07 12:08:19 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 896 - 2025-04-07 12:08:19 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 897 - 2025-04-07 12:08:19 [1.33ms] */
select count(*) as aggregate from `discount` where `party_id` = 57466 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 898 - 2025-04-07 12:08:19 [0.37ms] */
select * from `discount` where `party_id` = 57466 and `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 899 - 2025-04-07 12:08:19 [0.19ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 900 - 2025-04-07 12:08:19 [0.16ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 901 - 2025-04-07 12:08:19 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 902 - 2025-04-07 12:08:19 [0.17ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 903 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 904 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 905 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 906 - 2025-04-07 12:08:19 [0.16ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 907 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 908 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 909 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 910 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 911 - 2025-04-07 12:08:19 [0.16ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 912 - 2025-04-07 12:08:19 [0.15ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 913 - 2025-04-07 12:08:19 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 914 - 2025-04-07 12:08:19 [0.2ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 915 - 2025-04-07 12:08:19 [0.19ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 916 - 2025-04-07 12:08:19 [0.37ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 57466 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 917 - 2025-04-07 12:08:19 [0.24ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57466
   Query 918 - 2025-04-07 12:08:19 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57466&model=Company
   Query 1 - 2025-04-07 12:08:19 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57466&model=Company
   Query 2 - 2025-04-07 12:08:19 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57466&model=Company
   Query 3 - 2025-04-07 12:08:19 [0.25ms] */
select * from `party` where `id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57466&model=Company
   Query 4 - 2025-04-07 12:08:19 [7.94ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 1753 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 12:08:42 [2.05ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 12:08:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 12:08:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 12:08:42 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-07 12:08:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 12:08:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 12:08:42 [1.1ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RF965' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 12:08:42 [0.28ms] */
select * from `party` where `party`.`id` = 57466 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 12:08:42 [0.28ms] */
select * from `company` where `company`.`id` = 1753 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 12:08:42 [0.26ms] */
select * from `party` where `party`.`id` = 34152 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 11 - 2025-04-07 12:08:42 [0.62ms] */
select * from `party` where `party`.`id` = 34152 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 12 - 2025-04-07 12:08:42 [0.25ms] */
select * from `person` where `person`.`id` = 34152 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 13 - 2025-04-07 12:08:42 [0.4ms] */
select * from `vehicle` where `id` = 99419 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 14 - 2025-04-07 12:08:42 [0.62ms] */
select * from `party_vehicle` where `vehicle_id` = 99419 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 12:08:42 [1.38ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 12:08:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 12:08:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 12:08:42 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-07 12:08:42 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 12:08:42 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 12:08:42 [0.8ms] */
select * from `vehicle` where `vehicle`.`id` = 99419 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 12:08:42 [0.2ms] */
select * from `vehicle` where `id` = 99419 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 12:08:42 [1.15ms] */
select * from `party_vehicle` where `vehicle_id` = 99419 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-07 12:08:42 [1.97ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 99419 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 12:08:43 [17.78ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 12:08:43 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 12:08:43 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 12:08:43 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-07 12:08:43 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 12:08:43 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 12:08:43 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 12:08:43 [1.41ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 12:08:43 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 12:08:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 12:08:43 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-07 12:08:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 12:08:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 12:08:43 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 1 - 2025-04-07 12:09:00 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 2 - 2025-04-07 12:09:00 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 3 - 2025-04-07 12:09:00 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 4 - 2025-04-07 12:09:00 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 5 - 2025-04-07 12:09:00 [0.16ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 6 - 2025-04-07 12:09:00 [34.77ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 10;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 7 - 2025-04-07 12:09:00 [0.21ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 8 - 2025-04-07 12:09:00 [28.57ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58371 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 9 - 2025-04-07 12:09:00 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 60875 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 10 - 2025-04-07 12:09:00 [14.83ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 36772 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 11 - 2025-04-07 12:09:00 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 36772 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 12 - 2025-04-07 12:09:00 [23.31ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56062 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 13 - 2025-04-07 12:09:00 [0.26ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58472 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 14 - 2025-04-07 12:09:00 [31.53ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62322 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 15 - 2025-04-07 12:09:00 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64946 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 16 - 2025-04-07 12:09:00 [8.73ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 21317 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 17 - 2025-04-07 12:09:00 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 21317 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 18 - 2025-04-07 12:09:00 [23.51ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56267 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 19 - 2025-04-07 12:09:00 [0.38ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 20 - 2025-04-07 12:09:00 [27.25ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56493 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 21 - 2025-04-07 12:09:00 [0.42ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58927 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 22 - 2025-04-07 12:09:00 [24.4ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58757 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 23 - 2025-04-07 12:09:00 [0.33ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 61268 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 24 - 2025-04-07 12:09:00 [23.67ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 57216 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 25 - 2025-04-07 12:09:00 [0.38ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59672 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 26 - 2025-04-07 12:09:00 [21.43ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54118 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 27 - 2025-04-07 12:09:00 [0.37ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54118 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 28 - 2025-04-07 12:09:00 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party?page=2
   Query 29 - 2025-04-07 12:09:00 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 1 - 2025-04-07 12:09:03 [1.31ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:09:03 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:09:03 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:09:03 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:09:03 [0.15ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:09:03 [0.16ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:09:03 [0.21ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58371 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 60875 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:09:03 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 36772 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 10 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 36772 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:09:03 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56062 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58472 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 13 - 2025-04-07 12:09:03 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62322 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 14 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64946 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:09:03 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 21317 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 21317 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 17 - 2025-04-07 12:09:03 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56267 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 18 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:09:03 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56493 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58927 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 21 - 2025-04-07 12:09:03 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58757 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 22 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 61268 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:09:03 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 57216 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:09:03 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59672 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 25 - 2025-04-07 12:09:03 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54118 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 26 - 2025-04-07 12:09:03 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54118 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 1 - 2025-04-07 12:09:04 [2.04ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:09:04 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:09:04 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:09:04 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:09:04 [0.15ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:09:04 [0.15ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:09:04 [0.14ms] */
select * from `company_type` where `company_type`.`id` in (1, 2, 3) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:09:04 [0.15ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:09:04 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1904 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 10 - 2025-04-07 12:09:04 [0.15ms] */
select * from `party` where `party`.`id` = 33907 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:09:04 [0.16ms] */
select * from `person` where `person`.`id` = 33907 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:09:04 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57617 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 13 - 2025-04-07 12:09:04 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2622 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 14 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 64929 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 62308 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64930 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 17 - 2025-04-07 12:09:04 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2021 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 18 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 58171 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 55779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 21 - 2025-04-07 12:09:04 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1753 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 22 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 34152 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 34152 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57466 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 25 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2441 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 26 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 59109 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 56669 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:09:04 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59110 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 29 - 2025-04-07 12:09:04 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2621 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 30 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 64807 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 62187 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64808 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 33 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 92 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 34 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:09:04 [0.14ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 55805 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 37 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2589 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 38 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 63619 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 61039 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63828 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 41 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2573 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 42 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 63532 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 60960 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:09:04 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63533 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 45 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2571 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 46 - 2025-04-07 12:09:04 [0.14ms] */
select * from `party` where `party`.`id` = 48182 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:09:04 [0.15ms] */
select * from `person` where `person`.`id` = 48182 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 48 - 2025-04-07 12:09:04 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63200 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 1 - 2025-04-07 12:09:06 [1.31ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:09:06 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:09:06 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:09:06 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:09:06 [0.14ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:09:06 [8.24ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 20;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:09:06 [0.33ms] */
select * from `company_type` where `company_type`.`id` in (1) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:09:06 [199.01ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1021 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:09:06 [0.2ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 10 - 2025-04-07 12:09:06 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:09:06 [0.68ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:09:06 [23.72ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1882 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 13 - 2025-04-07 12:09:06 [0.28ms] */
select * from `party` where `party`.`id` = 37204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 14 - 2025-04-07 12:09:06 [0.7ms] */
select * from `person` where `person`.`id` = 37204 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:09:06 [0.26ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57595 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:09:06 [23.74ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1580 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 17 - 2025-04-07 12:09:06 [0.19ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 18 - 2025-04-07 12:09:06 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:09:06 [0.23ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57293 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:09:06 [29.09ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2620 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 21 - 2025-04-07 12:09:06 [0.41ms] */
select * from `party` where `party`.`id` = 64790 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 22 - 2025-04-07 12:09:06 [0.6ms] */
select * from `person` where `person`.`id` = 62171 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:09:06 [0.37ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64791 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:09:06 [24.02ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1300 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 25 - 2025-04-07 12:09:06 [0.23ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 26 - 2025-04-07 12:09:06 [0.23ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:09:06 [0.26ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57013 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:09:06 [28.31ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1292 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 29 - 2025-04-07 12:09:06 [0.36ms] */
select * from `party` where `party`.`id` = 37391 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 30 - 2025-04-07 12:09:06 [0.25ms] */
select * from `person` where `person`.`id` = 37391 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:09:06 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57005 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:09:06 [42.65ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2493 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 33 - 2025-04-07 12:09:06 [0.34ms] */
select * from `party` where `party`.`id` = 58514 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 34 - 2025-04-07 12:09:06 [0.64ms] */
select * from `person` where `person`.`id` = 56098 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:09:06 [1.04ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 60620 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:09:06 [24.37ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1389 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 37 - 2025-04-07 12:09:06 [0.26ms] */
select * from `party` where `party`.`id` = 64672 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 38 - 2025-04-07 12:09:06 [0.37ms] */
select * from `person` where `person`.`id` = 62055 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:09:06 [0.3ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57102 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:09:06 [30.88ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2619 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 41 - 2025-04-07 12:09:06 [0.29ms] */
select * from `party` where `party`.`id` = 64721 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 42 - 2025-04-07 12:09:06 [0.8ms] */
select * from `person` where `person`.`id` = 62103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:09:06 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64722 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:09:06 [22.88ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 29 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 45 - 2025-04-07 12:09:06 [0.2ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 46 - 2025-04-07 12:09:06 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:09:06 [0.35ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 55742 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 1 - 2025-04-07 12:09:08 [10.08ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:09:08 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:09:08 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:09:08 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:09:08 [0.25ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:09:08 [1.6ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 30;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:09:08 [0.14ms] */
select * from `company_type` where `company_type`.`id` in (1, 2, 3) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:09:08 [64.91ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2440 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:09:08 [0.31ms] */
select * from `party` where `party`.`id` = 59098 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 10 - 2025-04-07 12:09:08 [1.17ms] */
select * from `person` where `person`.`id` = 56659 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:09:08 [2.93ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59099 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:09:08 [31.55ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2618 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 13 - 2025-04-07 12:09:08 [0.28ms] */
select * from `party` where `party`.`id` = 64689 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 14 - 2025-04-07 12:09:08 [0.25ms] */
select * from `person` where `person`.`id` = 62072 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:09:08 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64690 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:09:08 [41.94ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2617 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 17 - 2025-04-07 12:09:08 [0.29ms] */
select * from `party` where `party`.`id` = 64648 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 18 - 2025-04-07 12:09:08 [0.24ms] */
select * from `person` where `person`.`id` = 62032 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:09:08 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64649 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:09:08 [22.9ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 76 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 21 - 2025-04-07 12:09:08 [0.21ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 22 - 2025-04-07 12:09:08 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:09:08 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 55789 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:09:08 [24.61ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2471 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 25 - 2025-04-07 12:09:08 [0.28ms] */
select * from `party` where `party`.`id` = 42670 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 26 - 2025-04-07 12:09:08 [0.26ms] */
select * from `person` where `person`.`id` = 42670 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:09:08 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59984 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:09:08 [23.98ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1171 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 29 - 2025-04-07 12:09:08 [0.2ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 30 - 2025-04-07 12:09:08 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:09:08 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56884 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:09:08 [26.36ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 844 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 33 - 2025-04-07 12:09:08 [0.19ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 34 - 2025-04-07 12:09:08 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:09:08 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56557 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:09:08 [26.66ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2616 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 37 - 2025-04-07 12:09:08 [0.36ms] */
select * from `party` where `party`.`id` = 64583 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 38 - 2025-04-07 12:09:08 [0.36ms] */
select * from `person` where `person`.`id` = 61968 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:09:08 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64584 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:09:08 [26.29ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2606 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 41 - 2025-04-07 12:09:08 [0.24ms] */
select * from `party` where `party`.`id` = 64319 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 42 - 2025-04-07 12:09:08 [0.25ms] */
select * from `person` where `person`.`id` = 61714 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:09:08 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64320 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:09:08 [23.57ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1659 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 45 - 2025-04-07 12:09:08 [0.22ms] */
select * from `party` where `party`.`id` = 64556 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 46 - 2025-04-07 12:09:08 [0.25ms] */
select * from `person` where `person`.`id` = 61941 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:09:08 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57372 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 1 - 2025-04-07 12:09:12 [1.42ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 2 - 2025-04-07 12:09:12 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 3 - 2025-04-07 12:09:12 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 4 - 2025-04-07 12:09:12 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 5 - 2025-04-07 12:09:12 [0.44ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 6 - 2025-04-07 12:09:12 [0.28ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 7 - 2025-04-07 12:09:12 [0.15ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 8 - 2025-04-07 12:09:12 [0.16ms] */
select * from `party` where `party`.`id` = 42670 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 9 - 2025-04-07 12:09:12 [0.16ms] */
select * from `person` where `person`.`id` = 42670 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 10 - 2025-04-07 12:09:12 [0.15ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 11 - 2025-04-07 12:09:12 [0.34ms] */
select * from `address` where `address`.`id` = 59984 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 12 - 2025-04-07 12:09:12 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 13 - 2025-04-07 12:09:12 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 14 - 2025-04-07 12:09:12 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 15 - 2025-04-07 12:09:12 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 16 - 2025-04-07 12:09:12 [0.39ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 59984 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 17 - 2025-04-07 12:09:12 [0.44ms] */
select count(*) as aggregate from `transaction` where `party_id` = 59984 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 18 - 2025-04-07 12:09:12 [0.41ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 59984 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 19 - 2025-04-07 12:09:12 [0.29ms] */
select count(*) as aggregate from `invoice` where `party_id` = 59984 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 20 - 2025-04-07 12:09:12 [0.28ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 21 - 2025-04-07 12:09:12 [0.22ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 22 - 2025-04-07 12:09:12 [10.28ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 59984 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 23 - 2025-04-07 12:09:12 [2.96ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2471 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 24 - 2025-04-07 12:09:12 [0.23ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 25 - 2025-04-07 12:09:12 [0.26ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2471 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 26 - 2025-04-07 12:09:12 [0.23ms] */
select * from `address` where `address`.`id` = 59984 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 27 - 2025-04-07 12:09:12 [0.22ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 28 - 2025-04-07 12:09:12 [0.21ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 29 - 2025-04-07 12:09:12 [0.77ms] */
select * from `party_vehicle` where `party_id` = 59984 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 30 - 2025-04-07 12:09:12 [0.69ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 31 - 2025-04-07 12:09:12 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 32 - 2025-04-07 12:09:12 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 33 - 2025-04-07 12:09:12 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 34 - 2025-04-07 12:09:12 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 35 - 2025-04-07 12:09:12 [0.34ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 36 - 2025-04-07 12:09:12 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 37 - 2025-04-07 12:09:12 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 488534 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 38 - 2025-04-07 12:09:12 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 39 - 2025-04-07 12:09:12 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 40 - 2025-04-07 12:09:12 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 41 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 42 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 43 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 44 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 45 - 2025-04-07 12:09:12 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 285257 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 46 - 2025-04-07 12:09:12 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 47 - 2025-04-07 12:09:12 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 48 - 2025-04-07 12:09:12 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 49 - 2025-04-07 12:09:12 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 50 - 2025-04-07 12:09:12 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 51 - 2025-04-07 12:09:12 [0.26ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 52 - 2025-04-07 12:09:12 [0.25ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 53 - 2025-04-07 12:09:12 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 284682 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 54 - 2025-04-07 12:09:12 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 55 - 2025-04-07 12:09:12 [0.26ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 56 - 2025-04-07 12:09:12 [0.24ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 57 - 2025-04-07 12:09:12 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 58 - 2025-04-07 12:09:12 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 59 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 60 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 61 - 2025-04-07 12:09:12 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 284692 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 62 - 2025-04-07 12:09:12 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 92330 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 63 - 2025-04-07 12:09:12 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 64 - 2025-04-07 12:09:12 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 65 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 66 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 67 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 68 - 2025-04-07 12:09:12 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 69 - 2025-04-07 12:09:12 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 189184 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 70 - 2025-04-07 12:09:12 [0.31ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (59984) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 71 - 2025-04-07 12:09:12 [0.33ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (59984) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 72 - 2025-04-07 12:09:12 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (284682, 284696, 284697, 284698) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 73 - 2025-04-07 12:09:12 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` in (95171) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 74 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 75 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 76 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 77 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 78 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 79 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 80 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 81 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 82 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 83 - 2025-04-07 12:09:12 [0.26ms] */
select * from `party` where `party`.`id` in (59984) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 84 - 2025-04-07 12:09:12 [0.2ms] */
select * from `address` where `address`.`id` in (59984) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 85 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 86 - 2025-04-07 12:09:12 [0.15ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 87 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 88 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 89 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 90 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 91 - 2025-04-07 12:09:12 [0.16ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 92 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 93 - 2025-04-07 12:09:12 [0.27ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 94 - 2025-04-07 12:09:12 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 95 - 2025-04-07 12:09:12 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 96 - 2025-04-07 12:09:12 [0.54ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 59984 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 97 - 2025-04-07 12:09:12 [0.51ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 59984 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 98 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 99 - 2025-04-07 12:09:12 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 100 - 2025-04-07 12:09:12 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 101 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 102 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 103 - 2025-04-07 12:09:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 104 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 105 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 106 - 2025-04-07 12:09:12 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99259 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 107 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 108 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 109 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 110 - 2025-04-07 12:09:12 [3.06ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 488641 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 111 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 112 - 2025-04-07 12:09:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 113 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 114 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 115 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 116 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 117 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 118 - 2025-04-07 12:09:12 [0.15ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 119 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99259 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 120 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 121 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 122 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 123 - 2025-04-07 12:09:12 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 488534 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 124 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 125 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 126 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 127 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 128 - 2025-04-07 12:09:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 129 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 130 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 131 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 132 - 2025-04-07 12:09:12 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95072 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 133 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 134 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 135 - 2025-04-07 12:09:12 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 136 - 2025-04-07 12:09:12 [0.45ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 285263 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 137 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 138 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 139 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 140 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 141 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 142 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 143 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 144 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 145 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95072 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 146 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 147 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 148 - 2025-04-07 12:09:12 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 149 - 2025-04-07 12:09:12 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 285257 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 150 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 151 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 152 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 153 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 154 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 155 - 2025-04-07 12:09:12 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 156 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 157 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 158 - 2025-04-07 12:09:12 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95046 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 159 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 160 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 161 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 162 - 2025-04-07 12:09:12 [0.41ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284709 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 163 - 2025-04-07 12:09:12 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 164 - 2025-04-07 12:09:12 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 165 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 166 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 167 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 168 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 169 - 2025-04-07 12:09:12 [0.15ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 170 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 171 - 2025-04-07 12:09:12 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 172 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 173 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 174 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 175 - 2025-04-07 12:09:12 [0.36ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284696 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 176 - 2025-04-07 12:09:12 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 177 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 178 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 179 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 180 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 181 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 182 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 183 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 184 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 185 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 186 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 187 - 2025-04-07 12:09:12 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 188 - 2025-04-07 12:09:12 [0.38ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284697 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 189 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 190 - 2025-04-07 12:09:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 191 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 192 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 193 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 194 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 195 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 196 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 197 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 198 - 2025-04-07 12:09:12 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 199 - 2025-04-07 12:09:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 200 - 2025-04-07 12:09:12 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 201 - 2025-04-07 12:09:12 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284698 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 202 - 2025-04-07 12:09:12 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 203 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 204 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 205 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 206 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 207 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 208 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 209 - 2025-04-07 12:09:12 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 210 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95046 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 211 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 212 - 2025-04-07 12:09:12 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 213 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 214 - 2025-04-07 12:09:12 [0.44ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284692 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 215 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 216 - 2025-04-07 12:09:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 217 - 2025-04-07 12:09:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 218 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 219 - 2025-04-07 12:09:12 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 220 - 2025-04-07 12:09:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 221 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 222 - 2025-04-07 12:09:12 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 223 - 2025-04-07 12:09:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 224 - 2025-04-07 12:09:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 225 - 2025-04-07 12:09:12 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 226 - 2025-04-07 12:09:12 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 227 - 2025-04-07 12:09:12 [0.44ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284682 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 228 - 2025-04-07 12:09:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 229 - 2025-04-07 12:09:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 230 - 2025-04-07 12:09:12 [0.39ms] */
select count(*) as aggregate from `discount` where `party_id` = 59984 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 231 - 2025-04-07 12:09:12 [0.14ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 232 - 2025-04-07 12:09:12 [0.13ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 233 - 2025-04-07 12:09:12 [0.43ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 59984 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 234 - 2025-04-07 12:09:12 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 235 - 2025-04-07 12:09:12 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 1 - 2025-04-07 12:09:13 [2.22ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 2 - 2025-04-07 12:09:13 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 3 - 2025-04-07 12:09:13 [0.34ms] */
select * from `party` where `id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 4 - 2025-04-07 12:09:13 [1.63ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2471 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 1 - 2025-04-07 12:09:25 [1.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 2 - 2025-04-07 12:09:25 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 3 - 2025-04-07 12:09:25 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 4 - 2025-04-07 12:09:25 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 5 - 2025-04-07 12:09:25 [0.21ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 6 - 2025-04-07 12:09:25 [0.15ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 7 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 8 - 2025-04-07 12:09:25 [0.16ms] */
select * from `party` where `party`.`id` = 42670 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 9 - 2025-04-07 12:09:25 [0.17ms] */
select * from `person` where `person`.`id` = 42670 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 10 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 11 - 2025-04-07 12:09:25 [0.16ms] */
select * from `address` where `address`.`id` = 59984 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 12 - 2025-04-07 12:09:25 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 13 - 2025-04-07 12:09:25 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 14 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 15 - 2025-04-07 12:09:25 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 16 - 2025-04-07 12:09:25 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 59984 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 17 - 2025-04-07 12:09:25 [0.14ms] */
select count(*) as aggregate from `transaction` where `party_id` = 59984 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 18 - 2025-04-07 12:09:25 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 59984 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 19 - 2025-04-07 12:09:25 [0.13ms] */
select count(*) as aggregate from `invoice` where `party_id` = 59984 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 20 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 21 - 2025-04-07 12:09:25 [0.16ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 22 - 2025-04-07 12:09:25 [0.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 59984 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 23 - 2025-04-07 12:09:25 [0.13ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2471 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 24 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 25 - 2025-04-07 12:09:25 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2471 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 26 - 2025-04-07 12:09:25 [0.14ms] */
select * from `address` where `address`.`id` = 59984 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 27 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 28 - 2025-04-07 12:09:25 [0.16ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 29 - 2025-04-07 12:09:25 [0.16ms] */
select * from `party_vehicle` where `party_id` = 59984 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 30 - 2025-04-07 12:09:25 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 31 - 2025-04-07 12:09:25 [0.15ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 32 - 2025-04-07 12:09:25 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 33 - 2025-04-07 12:09:25 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 34 - 2025-04-07 12:09:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 35 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 36 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 37 - 2025-04-07 12:09:25 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 488534 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 38 - 2025-04-07 12:09:25 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 39 - 2025-04-07 12:09:25 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 40 - 2025-04-07 12:09:25 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 41 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 42 - 2025-04-07 12:09:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 43 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 44 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 45 - 2025-04-07 12:09:25 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 285257 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 46 - 2025-04-07 12:09:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 47 - 2025-04-07 12:09:25 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 48 - 2025-04-07 12:09:25 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 49 - 2025-04-07 12:09:25 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 50 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 51 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 52 - 2025-04-07 12:09:25 [0.16ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 53 - 2025-04-07 12:09:25 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 284682 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 54 - 2025-04-07 12:09:25 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 55 - 2025-04-07 12:09:25 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 56 - 2025-04-07 12:09:25 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 57 - 2025-04-07 12:09:25 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 58 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 59 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 60 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 61 - 2025-04-07 12:09:25 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 284692 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 62 - 2025-04-07 12:09:25 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 92330 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 63 - 2025-04-07 12:09:25 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 64 - 2025-04-07 12:09:25 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 65 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 66 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 67 - 2025-04-07 12:09:25 [0.16ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 68 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 69 - 2025-04-07 12:09:25 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 189184 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 70 - 2025-04-07 12:09:25 [0.2ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (59984) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 71 - 2025-04-07 12:09:25 [0.17ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (59984) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 72 - 2025-04-07 12:09:25 [0.17ms] */
select * from `transaction` where `transaction`.`id` in (284682, 284696, 284697, 284698) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 73 - 2025-04-07 12:09:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (95171) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 74 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 75 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 76 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 77 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 78 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 79 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 80 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 81 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 82 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 83 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` in (59984) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 84 - 2025-04-07 12:09:25 [0.14ms] */
select * from `address` where `address`.`id` in (59984) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 85 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 86 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 87 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 88 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 89 - 2025-04-07 12:09:25 [0.18ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 90 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 91 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 92 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 93 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 94 - 2025-04-07 12:09:25 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 95 - 2025-04-07 12:09:25 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 96 - 2025-04-07 12:09:25 [0.17ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 59984 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 97 - 2025-04-07 12:09:25 [0.2ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 59984 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 98 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 99 - 2025-04-07 12:09:25 [0.15ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 100 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 101 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 102 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 103 - 2025-04-07 12:09:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 104 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 105 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 106 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99259 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 107 - 2025-04-07 12:09:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 108 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 109 - 2025-04-07 12:09:25 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 110 - 2025-04-07 12:09:25 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 488641 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 111 - 2025-04-07 12:09:25 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 112 - 2025-04-07 12:09:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 113 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 114 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 115 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 116 - 2025-04-07 12:09:25 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 98980 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 117 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 118 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 119 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99259 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 120 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 121 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 122 - 2025-04-07 12:09:25 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 123 - 2025-04-07 12:09:25 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 488534 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 124 - 2025-04-07 12:09:25 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 125 - 2025-04-07 12:09:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 126 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 127 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 128 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 129 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 130 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 131 - 2025-04-07 12:09:25 [0.14ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 132 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95072 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 133 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 134 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 135 - 2025-04-07 12:09:25 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 136 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 285263 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 137 - 2025-04-07 12:09:25 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 138 - 2025-04-07 12:09:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 139 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 140 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 141 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 142 - 2025-04-07 12:09:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 95197 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 143 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 144 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 145 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95072 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 146 - 2025-04-07 12:09:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 147 - 2025-04-07 12:09:25 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 148 - 2025-04-07 12:09:25 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 149 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 285257 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 150 - 2025-04-07 12:09:25 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 151 - 2025-04-07 12:09:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 152 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 153 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 154 - 2025-04-07 12:09:25 [0.32ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 155 - 2025-04-07 12:09:25 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 156 - 2025-04-07 12:09:25 [0.28ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 157 - 2025-04-07 12:09:25 [0.26ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 158 - 2025-04-07 12:09:25 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95046 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 159 - 2025-04-07 12:09:25 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 160 - 2025-04-07 12:09:25 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 161 - 2025-04-07 12:09:25 [0.23ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 162 - 2025-04-07 12:09:25 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284709 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 163 - 2025-04-07 12:09:25 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 164 - 2025-04-07 12:09:25 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 165 - 2025-04-07 12:09:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 166 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 167 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 168 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 169 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 170 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 171 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 172 - 2025-04-07 12:09:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 173 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 174 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 175 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284696 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 176 - 2025-04-07 12:09:25 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 177 - 2025-04-07 12:09:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 178 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 179 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 180 - 2025-04-07 12:09:25 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 181 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 182 - 2025-04-07 12:09:25 [0.13ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 183 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 184 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 185 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 186 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 187 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 188 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284697 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 189 - 2025-04-07 12:09:25 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 190 - 2025-04-07 12:09:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 191 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 192 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 193 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 194 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 195 - 2025-04-07 12:09:25 [0.13ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 196 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 197 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 198 - 2025-04-07 12:09:25 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 199 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 200 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 201 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284698 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 202 - 2025-04-07 12:09:25 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 203 - 2025-04-07 12:09:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 204 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 205 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 206 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 207 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95172 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 208 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 209 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 210 - 2025-04-07 12:09:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95046 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 211 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 212 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 213 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 214 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284692 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 215 - 2025-04-07 12:09:25 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 216 - 2025-04-07 12:09:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 217 - 2025-04-07 12:09:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 218 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 219 - 2025-04-07 12:09:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 220 - 2025-04-07 12:09:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 95171 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 221 - 2025-04-07 12:09:25 [0.13ms] */
select * from `party` where `party`.`id` = 59984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 222 - 2025-04-07 12:09:25 [0.13ms] */
select * from `company` where `company`.`id` = 2471 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 223 - 2025-04-07 12:09:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95045 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 224 - 2025-04-07 12:09:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 225 - 2025-04-07 12:09:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 226 - 2025-04-07 12:09:25 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 227 - 2025-04-07 12:09:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 284682 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 228 - 2025-04-07 12:09:25 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 229 - 2025-04-07 12:09:25 [0.23ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 230 - 2025-04-07 12:09:25 [0.21ms] */
select count(*) as aggregate from `discount` where `party_id` = 59984 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 231 - 2025-04-07 12:09:25 [0.2ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 232 - 2025-04-07 12:09:25 [0.2ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 233 - 2025-04-07 12:09:25 [0.2ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 59984 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 234 - 2025-04-07 12:09:25 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/59984
   Query 235 - 2025-04-07 12:09:25 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 1 - 2025-04-07 12:09:26 [1.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 2 - 2025-04-07 12:09:26 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 3 - 2025-04-07 12:09:26 [0.28ms] */
select * from `party` where `id` = 59984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=59984&model=Company
   Query 4 - 2025-04-07 12:09:26 [0.19ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2471 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 1 - 2025-04-07 12:09:41 [2.24ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:09:41 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:09:41 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:09:41 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:09:41 [0.14ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:09:41 [1.72ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 40;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:09:41 [0.47ms] */
select * from `company_type` where `company_type`.`id` in (1, 2) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:09:41 [31.01ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2615 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:09:41 [0.27ms] */
select * from `party` where `party`.`id` = 19668 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 10 - 2025-04-07 12:09:41 [0.31ms] */
select * from `person` where `person`.`id` = 19668 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:09:41 [0.29ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64536 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:09:41 [22.79ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1562 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 13 - 2025-04-07 12:09:41 [0.14ms] */
select * from `party` where `party`.`id` = 64556 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 14 - 2025-04-07 12:09:41 [0.14ms] */
select * from `person` where `person`.`id` = 61941 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:09:41 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57275 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:09:41 [23.01ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2089 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 17 - 2025-04-07 12:09:41 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 18 - 2025-04-07 12:09:41 [0.14ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:09:41 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57802 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:09:41 [25.4ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2614 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 21 - 2025-04-07 12:09:41 [0.21ms] */
select * from `party` where `party`.`id` = 41630 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 22 - 2025-04-07 12:09:41 [0.24ms] */
select * from `person` where `person`.`id` = 41630 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:09:41 [0.26ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64501 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:09:41 [22.79ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1899 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 25 - 2025-04-07 12:09:41 [0.17ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 26 - 2025-04-07 12:09:41 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:09:41 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57612 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:09:41 [22.84ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1741 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 29 - 2025-04-07 12:09:41 [0.25ms] */
select * from `party` where `party`.`id` = 34508 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 30 - 2025-04-07 12:09:41 [0.23ms] */
select * from `person` where `person`.`id` = 34508 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:09:41 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57454 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:09:41 [22.76ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1997 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 33 - 2025-04-07 12:09:41 [0.2ms] */
select * from `party` where `party`.`id` = 58150 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 34 - 2025-04-07 12:09:41 [0.24ms] */
select * from `person` where `person`.`id` = 55758 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:09:41 [0.25ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57710 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:09:41 [25.54ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2613 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 37 - 2025-04-07 12:09:41 [0.2ms] */
select * from `party` where `party`.`id` = 64423 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 38 - 2025-04-07 12:09:41 [0.27ms] */
select * from `person` where `person`.`id` = 61811 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:09:41 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64424 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:09:41 [22.8ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2008 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 41 - 2025-04-07 12:09:41 [0.14ms] */
select * from `party` where `party`.`id` = 37204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 42 - 2025-04-07 12:09:41 [0.14ms] */
select * from `person` where `person`.`id` = 37204 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:09:41 [0.34ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57721 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:09:41 [28.32ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 501 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 45 - 2025-04-07 12:09:41 [0.2ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 46 - 2025-04-07 12:09:41 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:09:41 [0.41ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56214 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 1 - 2025-04-07 12:09:48 [1.36ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 2 - 2025-04-07 12:09:48 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 3 - 2025-04-07 12:09:48 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 4 - 2025-04-07 12:09:48 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 5 - 2025-04-07 12:09:48 [0.3ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 6 - 2025-04-07 12:09:48 [0.23ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 7 - 2025-04-07 12:09:48 [0.16ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 8 - 2025-04-07 12:09:48 [0.16ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 9 - 2025-04-07 12:09:48 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 10 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 11 - 2025-04-07 12:09:48 [0.94ms] */
select * from `address` where `address`.`id` = 57802 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 12 - 2025-04-07 12:09:48 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 13 - 2025-04-07 12:09:48 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 14 - 2025-04-07 12:09:48 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 15 - 2025-04-07 12:09:48 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 16 - 2025-04-07 12:09:48 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 57802 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 17 - 2025-04-07 12:09:48 [0.36ms] */
select count(*) as aggregate from `transaction` where `party_id` = 57802 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 18 - 2025-04-07 12:09:48 [0.35ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 57802 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 19 - 2025-04-07 12:09:48 [0.23ms] */
select count(*) as aggregate from `invoice` where `party_id` = 57802 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 20 - 2025-04-07 12:09:48 [0.22ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 21 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 22 - 2025-04-07 12:09:48 [7.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 57802 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 23 - 2025-04-07 12:09:48 [1.99ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2089 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 24 - 2025-04-07 12:09:48 [0.22ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 25 - 2025-04-07 12:09:48 [0.25ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2089 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 26 - 2025-04-07 12:09:48 [0.28ms] */
select * from `address` where `address`.`id` = 57802 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 27 - 2025-04-07 12:09:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 28 - 2025-04-07 12:09:48 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 29 - 2025-04-07 12:09:48 [0.3ms] */
select * from `party_vehicle` where `party_id` = 57802 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 30 - 2025-04-07 12:09:48 [1.23ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 31 - 2025-04-07 12:09:48 [0.21ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 32 - 2025-04-07 12:09:48 [0.21ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 33 - 2025-04-07 12:09:48 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 34 - 2025-04-07 12:09:48 [0.5ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 35 - 2025-04-07 12:09:48 [0.23ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 36 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 37 - 2025-04-07 12:09:48 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 47491 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 38 - 2025-04-07 12:09:48 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 39 - 2025-04-07 12:09:48 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 40 - 2025-04-07 12:09:48 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 41 - 2025-04-07 12:09:48 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 42 - 2025-04-07 12:09:48 [0.29ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57802) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 43 - 2025-04-07 12:09:48 [0.41ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57802) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 44 - 2025-04-07 12:09:48 [0.31ms] */
select * from `transaction` where `transaction`.`id` in (47491, 360087, 360088) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 45 - 2025-04-07 12:09:48 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` in (81278) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 46 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 47 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 48 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 49 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 50 - 2025-04-07 12:09:48 [0.69ms] */
select * from `service_workflow` where `service_workflow`.`id` = 10 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 51 - 2025-04-07 12:09:48 [0.22ms] */
select * from `service` where `service`.`id` = 10 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 52 - 2025-04-07 12:09:48 [0.21ms] */
select * from `service` where `service`.`id` in (1, 2, 10) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 53 - 2025-04-07 12:09:48 [0.21ms] */
select * from `party` where `party`.`id` in (57802) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 54 - 2025-04-07 12:09:48 [0.2ms] */
select * from `address` where `address`.`id` in (57802) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 55 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 56 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 57 - 2025-04-07 12:09:48 [0.16ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 58 - 2025-04-07 12:09:48 [0.13ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 59 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 60 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 61 - 2025-04-07 12:09:48 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 62 - 2025-04-07 12:09:48 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 63 - 2025-04-07 12:09:48 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 64 - 2025-04-07 12:09:48 [0.3ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57802 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 65 - 2025-04-07 12:09:48 [0.34ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57802 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 66 - 2025-04-07 12:09:48 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 67 - 2025-04-07 12:09:48 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 68 - 2025-04-07 12:09:48 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 10 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 69 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 10 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 70 - 2025-04-07 12:09:48 [0.2ms] */
select * from `service` where `service`.`id` = 10 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 71 - 2025-04-07 12:09:48 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 72 - 2025-04-07 12:09:48 [0.15ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 73 - 2025-04-07 12:09:48 [0.14ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 74 - 2025-04-07 12:09:48 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 47491 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 75 - 2025-04-07 12:09:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 76 - 2025-04-07 12:09:48 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 77 - 2025-04-07 12:09:48 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 78 - 2025-04-07 12:09:48 [1.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 360088 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 79 - 2025-04-07 12:09:48 [0.46ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 42 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 80 - 2025-04-07 12:09:48 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 81 - 2025-04-07 12:09:48 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 82 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 83 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 84 - 2025-04-07 12:09:48 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 85 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 86 - 2025-04-07 12:09:48 [0.13ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 87 - 2025-04-07 12:09:48 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 47491 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 88 - 2025-04-07 12:09:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 89 - 2025-04-07 12:09:48 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 90 - 2025-04-07 12:09:48 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 91 - 2025-04-07 12:09:48 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 360087 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 92 - 2025-04-07 12:09:48 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 93 - 2025-04-07 12:09:48 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 94 - 2025-04-07 12:09:48 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 95 - 2025-04-07 12:09:48 [0.19ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 96 - 2025-04-07 12:09:48 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 97 - 2025-04-07 12:09:48 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 98 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 99 - 2025-04-07 12:09:48 [0.13ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 100 - 2025-04-07 12:09:48 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 47491 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 101 - 2025-04-07 12:09:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 102 - 2025-04-07 12:09:48 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 103 - 2025-04-07 12:09:48 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 104 - 2025-04-07 12:09:48 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 360086 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 105 - 2025-04-07 12:09:48 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 31 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 106 - 2025-04-07 12:09:48 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 107 - 2025-04-07 12:09:48 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 108 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 109 - 2025-04-07 12:09:48 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 110 - 2025-04-07 12:09:48 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 111 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 112 - 2025-04-07 12:09:48 [0.13ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 113 - 2025-04-07 12:09:48 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 47491 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 114 - 2025-04-07 12:09:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 115 - 2025-04-07 12:09:48 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 116 - 2025-04-07 12:09:48 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 117 - 2025-04-07 12:09:48 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 118 - 2025-04-07 12:09:48 [3.58ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 47491 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 119 - 2025-04-07 12:09:48 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 120 - 2025-04-07 12:09:48 [0.21ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 121 - 2025-04-07 12:09:48 [0.28ms] */
select count(*) as aggregate from `discount` where `party_id` = 57802 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 122 - 2025-04-07 12:09:48 [0.14ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 123 - 2025-04-07 12:09:48 [0.13ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 124 - 2025-04-07 12:09:48 [0.2ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 57802 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 125 - 2025-04-07 12:09:48 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57802
   Query 126 - 2025-04-07 12:09:48 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57802&model=Company
   Query 1 - 2025-04-07 12:09:48 [2.15ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57802&model=Company
   Query 2 - 2025-04-07 12:09:48 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57802&model=Company
   Query 3 - 2025-04-07 12:09:48 [0.26ms] */
select * from `party` where `id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57802&model=Company
   Query 4 - 2025-04-07 12:09:48 [0.47ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2089 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 12:10:02 [1.86ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 12:10:02 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 12:10:02 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 12:10:02 [0.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-07 12:10:02 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 12:10:02 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 12:10:02 [1.43ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'C232' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 12:10:02 [0.18ms] */
select * from `party` where `party`.`id` = 57802 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 12:10:02 [0.17ms] */
select * from `company` where `company`.`id` = 2089 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 12:10:02 [0.16ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 11 - 2025-04-07 12:10:02 [0.16ms] */
select * from `party` where `party`.`id` = 1 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 12 - 2025-04-07 12:10:02 [0.19ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 13 - 2025-04-07 12:10:02 [0.28ms] */
select * from `vehicle` where `id` = 81278 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 14 - 2025-04-07 12:10:02 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 81278 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 12:10:03 [1.42ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 12:10:03 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 12:10:03 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 12:10:03 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-07 12:10:03 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 12:10:03 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 12:10:03 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 81278 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 12:10:03 [0.34ms] */
select * from `vehicle` where `id` = 81278 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 12:10:03 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 81278 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-07 12:10:03 [3.59ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 81278 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 12:10:03 [1.55ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 12:10:03 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 12:10:03 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 12:10:03 [0.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-07 12:10:03 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 12:10:03 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 12:10:03 [0.17ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 12:10:04 [1.83ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 12:10:04 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 12:10:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 12:10:04 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-07 12:10:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e2763eb7cbeab1e6f1db2316b9d008ce5bdabbb0e1940143ff52dbf432ea23a37d6d289e95369eb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 12:10:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 12:10:04 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 1 - 2025-04-07 12:10:17 [2.31ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 2 - 2025-04-07 12:10:17 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 3 - 2025-04-07 12:10:18 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 4 - 2025-04-07 12:10:18 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 5 - 2025-04-07 12:10:18 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574420 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 6 - 2025-04-07 12:10:18 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 7 - 2025-04-07 12:10:18 [0.16ms] */
select * from `invoice` where `transaction_id` = 574420 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 8 - 2025-04-07 12:10:18 [0.13ms] */
select * from `invoice_payment` where `invoice_id` = 550086;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 9 - 2025-04-07 12:10:18 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 574420;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 10 - 2025-04-07 12:10:18 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574420 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 11 - 2025-04-07 12:10:18 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 12 - 2025-04-07 12:10:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 13 - 2025-04-07 12:10:18 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99875 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 14 - 2025-04-07 12:10:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99875 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 15 - 2025-04-07 12:10:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 16 - 2025-04-07 12:10:18 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 17 - 2025-04-07 12:10:18 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 99514 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 18 - 2025-04-07 12:10:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99514 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 19 - 2025-04-07 12:10:18 [0.14ms] */
select * from `model` where `model`.`id` = 196 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 20 - 2025-04-07 12:10:18 [0.14ms] */
select * from `make` where `make`.`id` = 10 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 21 - 2025-04-07 12:10:18 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 22 - 2025-04-07 12:10:18 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99514 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 23 - 2025-04-07 12:10:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 24 - 2025-04-07 12:10:18 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 32 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 25 - 2025-04-07 12:10:18 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 13 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 26 - 2025-04-07 12:10:18 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 27 - 2025-04-07 12:10:18 [0.17ms] */
