0e55e36cea
PHP Tests / php-tests (push) Has been cancelled
New modules/reporting Filament page: filterable bookings table (travel date range, status, route, channel) with CSV/Excel export. Report columns include booking ref, route, passenger name/count, price, best-payment status/amount, and driver info, plus a TOTAL row summing passenger count, price, and payment amount in both export formats. - BookingsRevenueExport backs both CSV and XLSX via maatwebsite/excel ^4.0 (the only version compatible with PHP 8.5; 3.1.x caps phpoffice/phpspreadsheet below 8.5). - CSV export writes a UTF-8 BOM so non-Latin passenger names (Burmese) open correctly in Excel. - New view_reports permission (super_admin/admin/support) gates the page; new indexes on bookings.travel_date/status/created_by_channel and payments.completed_at support the report's filters.
27 lines
571 B
JSON
27 lines
571 B
JSON
{
|
|
"name": "modules/reporting",
|
|
"description": "",
|
|
"type": "library",
|
|
"version": "1.0",
|
|
"license": "proprietary",
|
|
"require": {
|
|
"maatwebsite/excel": "^4.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Modules\\Reporting\\": "src/",
|
|
"Modules\\Reporting\\Tests\\": "tests/",
|
|
"Modules\\Reporting\\Database\\Factories\\": "database/factories/",
|
|
"Modules\\Reporting\\Database\\Seeders\\": "database/seeders/"
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"extra": {
|
|
"laravel": {
|
|
"providers": [
|
|
"Modules\\Reporting\\Providers\\ReportingServiceProvider"
|
|
]
|
|
}
|
|
}
|
|
}
|