<?php
 namespace App\ReportsData\EntityList; class SupplierInvoiceRows extends GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTRd_supplierInvoices, $DBTRd_supplierInvoiceRows; $this->setMainTable($DBTRd_supplierInvoiceRows, 'suppInvRow'); $this->addAllowedTable($DBTRd_supplierInvoices, 'suppInv', 'suppInv.id=suppInvRow.idInvoice', 'INNER'); } public function setDefaultFilters(): void { $this->setFilter("suppInv.deleted", '=', '0'); } } 