Add Reports module with the hours by person report
Management's reports (spec 13) get their own module that reads the other modules through ports. The first report sums hours by person in a period, narrowed by service unit or customer, with breakdowns, a chart and CSV. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -26,7 +26,13 @@ return [
|
||||
'group_own' => 'My entries',
|
||||
'group_sales' => 'Customers and sales',
|
||||
'group_admin' => 'Administration',
|
||||
'group_reports' => 'Reports',
|
||||
'group_maintenance' => 'Maintenance',
|
||||
'report_hours' => 'Hours by person',
|
||||
'report_unbilled' => 'Unbilled hours',
|
||||
'report_profitability' => 'Profitability',
|
||||
'report_sales' => 'Quick sales',
|
||||
'report_reimbursements' => 'Expense reimbursements',
|
||||
'new_job' => 'New job',
|
||||
'sales_list' => 'Quick sales and cash days',
|
||||
'workflow_templates' => 'Workflow templates',
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'total' => 'Total',
|
||||
'yes' => 'yes',
|
||||
'no' => 'no',
|
||||
'download_csv' => 'Download CSV',
|
||||
'csv_file' => ':report-:from-:to.csv',
|
||||
'chart_note' => 'The same figures are in the table.',
|
||||
'chart_empty' => 'There is nothing to show in the chart.',
|
||||
|
||||
'period' => [
|
||||
'legend' => 'Period',
|
||||
'from' => 'From',
|
||||
'to' => 'To',
|
||||
'presets' => 'Quick choices',
|
||||
'this_month' => 'This month',
|
||||
'previous_month' => 'Previous month',
|
||||
'this_year' => 'This year',
|
||||
'previous_year' => 'Previous year',
|
||||
'invalid' => 'Check the period: give two dates, the first one not after the second.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
'service_unit' => 'Service unit',
|
||||
'all_service_units' => 'All service units',
|
||||
'customer' => 'Customer',
|
||||
'all_customers' => 'All customers',
|
||||
],
|
||||
|
||||
'hours' => [
|
||||
'title' => 'Hours by person',
|
||||
'file' => 'hours',
|
||||
'none' => 'No hours were recorded in the period.',
|
||||
'table' => 'Hours by person :period',
|
||||
'person' => 'Person',
|
||||
'total' => 'Total hours',
|
||||
'customer' => 'Customer work',
|
||||
'internal' => 'Internal work',
|
||||
'unapproved' => 'Not approved',
|
||||
'billed' => 'Billed',
|
||||
'chart' => 'Hours by person',
|
||||
'breakdown' => 'Breakdown by person',
|
||||
'person_summary' => ':name, :hours h',
|
||||
'by_work_type' => 'By work type',
|
||||
'by_job' => 'By customer job',
|
||||
'work_type' => 'Work type',
|
||||
'job' => 'Customer job',
|
||||
'hours' => 'Hours',
|
||||
'csv' => [
|
||||
'person' => 'Person',
|
||||
'job_number' => 'Job number',
|
||||
'job' => 'Customer job',
|
||||
'customer' => 'Customer',
|
||||
'internal' => 'Internal',
|
||||
'service_unit' => 'Service unit',
|
||||
'work_type' => 'Work type',
|
||||
'hours' => 'Hours',
|
||||
'unapproved' => 'Not approved',
|
||||
'billed' => 'Billed',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user