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',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -26,7 +26,13 @@ return [
|
||||
'group_own' => 'Oma kirjaus',
|
||||
'group_sales' => 'Asiakkaat ja myynti',
|
||||
'group_admin' => 'Hallinto',
|
||||
'group_reports' => 'Raportit',
|
||||
'group_maintenance' => 'Ylläpito',
|
||||
'report_hours' => 'Tunnit henkilöittäin',
|
||||
'report_unbilled' => 'Laskuttamattomat tunnit',
|
||||
'report_profitability' => 'Kannattavuus',
|
||||
'report_sales' => 'Pikamyynnit',
|
||||
'report_reimbursements' => 'Kulukorvaukset',
|
||||
'new_job' => 'Uusi työ',
|
||||
'sales_list' => 'Pikamyynnit ja kassapäivät',
|
||||
'workflow_templates' => 'Työnkulkupohjat',
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'total' => 'Yhteensä',
|
||||
'yes' => 'kyllä',
|
||||
'no' => 'ei',
|
||||
'download_csv' => 'Lataa CSV',
|
||||
'csv_file' => ':report-:from-:to.csv',
|
||||
'chart_note' => 'Samat luvut ovat taulukossa.',
|
||||
'chart_empty' => 'Kaaviossa ei ole näytettävää.',
|
||||
|
||||
'period' => [
|
||||
'legend' => 'Aikaväli',
|
||||
'from' => 'Alkaen',
|
||||
'to' => 'Päättyen',
|
||||
'presets' => 'Pikavalinnat',
|
||||
'this_month' => 'Tämä kuukausi',
|
||||
'previous_month' => 'Edellinen kuukausi',
|
||||
'this_year' => 'Tämä vuosi',
|
||||
'previous_year' => 'Edellinen vuosi',
|
||||
'invalid' => 'Tarkista aikaväli: anna kaksi päivämäärää, joista ensimmäinen ei ole jälkimmäisen jälkeen.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
'service_unit' => 'Palveluyksikkö',
|
||||
'all_service_units' => 'Kaikki palveluyksiköt',
|
||||
'customer' => 'Asiakas',
|
||||
'all_customers' => 'Kaikki asiakkaat',
|
||||
],
|
||||
|
||||
'hours' => [
|
||||
'title' => 'Tunnit henkilöittäin',
|
||||
'file' => 'tunnit',
|
||||
'none' => 'Aikavälillä ei ole kirjattuja tunteja.',
|
||||
'table' => 'Tunnit henkilöittäin :period',
|
||||
'person' => 'Henkilö',
|
||||
'total' => 'Tunnit yhteensä',
|
||||
'customer' => 'Asiakastyö',
|
||||
'internal' => 'Sisäinen työ',
|
||||
'unapproved' => 'Hyväksymättä',
|
||||
'billed' => 'Laskutettu',
|
||||
'chart' => 'Tunnit henkilöittäin',
|
||||
'breakdown' => 'Erittely henkilöittäin',
|
||||
'person_summary' => ':name, :hours h',
|
||||
'by_work_type' => 'Työtehtävittäin',
|
||||
'by_job' => 'Asiakastöittäin',
|
||||
'work_type' => 'Työtehtävä',
|
||||
'job' => 'Asiakastyö',
|
||||
'hours' => 'Tunnit',
|
||||
'csv' => [
|
||||
'person' => 'Henkilö',
|
||||
'job_number' => 'Työn numero',
|
||||
'job' => 'Asiakastyö',
|
||||
'customer' => 'Asiakas',
|
||||
'internal' => 'Sisäinen',
|
||||
'service_unit' => 'Palveluyksikkö',
|
||||
'work_type' => 'Työtehtävä',
|
||||
'hours' => 'Tunnit',
|
||||
'unapproved' => 'Hyväksymättä',
|
||||
'billed' => 'Laskutettu',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user