<?php
 namespace App\ReportsData\EntityList; class Services extends GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTRd_services, $DBTRd_orders, $DBTRd_customers, $DBTRd_offers, $DBTRd_clientInvoices, $DBTRd_users; $this->setMainTable($DBTRd_services, 'serv'); $this->addAllowedTable($DBTRd_orders, 'ord', 'serv.idOrder=ord.id', 'INNER'); $this->addAllowedTable($DBTRd_customers, 'cust', 'serv.idFirstCustomer=cust.id', 'INNER'); $this->addAllowedTable($DBTRd_offers, 'off', 'serv.idOffer=off.id', 'INNER'); $this->addAllowedTable($DBTRd_clientInvoices, 'relevantInv', 'serv.idRelevantInvoice=relevantInv.id', 'INNER'); $this->addAllowedTable($DBTRd_users, 'user', 'serv.idUser=user.id', 'INNER'); } public function setDefaultFilters(): void { } } 