Implemented economic-related classes, endpoints, and routes to support fetching invoice totals, sent invoices, and department data. These changes enhance functionality by exposing APIs for economic statistics and integrating them into the statistics module.
22 lines
550 B
PHP
22 lines
550 B
PHP
<?php
|
|
|
|
namespace endpoints;
|
|
require_once WD . '/modules/economic/endpoints/departments/economic_departments_endpoint.php';
|
|
|
|
use traits\economic_endpoint_t;
|
|
|
|
class economic_departments_endpoint
|
|
{
|
|
use economic_endpoint_t;
|
|
|
|
/**
|
|
* Any endpoints reached by the /invoices/totals endpoint
|
|
* @var departments\economic_departments_endpoint
|
|
*/
|
|
public departments\economic_departments_endpoint $departments;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->departments = new departments\economic_departments_endpoint();
|
|
}
|
|
} |