Files
opensourcepos/app/Models/Reports/Report.php
objecttothis e90b5b87da Replace tabs with spaces (#4196)
Signed-off-by: objecttothis <objecttothis@gmail.com>
2025-03-28 21:24:21 +04:00

36 lines
667 B
PHP

<?php
namespace App\Models\Reports;
use CodeIgniter\HTTP\Response;
use CodeIgniter\Model;
/**
*
*
* @property response response
*
*/
abstract class Report extends Model
{
public function __construct()
{
parent::__construct();
}
/**
* Returns the column names used for the report
*/
public abstract function getDataColumns(): array;
/**
* Returns all the data to be populated into the report
*/
public abstract function getData(array $inputs): array;
/**
* Returns key=>value pairing of summary data for the report
*/
public abstract function getSummaryData(array $inputs): array;
}