Replace the demo home page with a dashboard
Everyone sees their open tasks on an agenda, their open jobs, this week's hours and quick links. Admin and management also get a lazily loaded management panel: things to do, the month so far against the previous month, jobs and late work, and everyone's workload. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Home',
|
||||
'greeting' => 'Hello, :name',
|
||||
|
||||
'links' => [
|
||||
'title' => 'Quick links',
|
||||
'quick_intake' => 'Quick intake',
|
||||
'new_job' => 'New job',
|
||||
'time' => 'Time entry',
|
||||
'quick_sale' => 'Quick sale',
|
||||
'calendar' => 'Calendar',
|
||||
],
|
||||
|
||||
'tasks' => [
|
||||
'title' => 'My tasks',
|
||||
'none' => 'You have no open tasks.',
|
||||
'groups' => [
|
||||
'overdue' => 'Late (:count)',
|
||||
'soon' => 'Today and tomorrow (:count)',
|
||||
'this_week' => 'Later this week (:count)',
|
||||
],
|
||||
'due' => 'due :date',
|
||||
'starts' => 'starts :date',
|
||||
'later' => '{1} One more task later.|[2,*] :count more tasks later.',
|
||||
'to_calendar' => 'Open the calendar',
|
||||
],
|
||||
|
||||
'week' => [
|
||||
'title' => 'Hours this week',
|
||||
'caption' => 'Recorded hours by day in the week starting :from',
|
||||
'total' => 'Total :hours h.',
|
||||
'unapproved' => 'Not approved :hours h.',
|
||||
'open' => 'Open the weekly view',
|
||||
],
|
||||
|
||||
'jobs' => [
|
||||
'title' => 'My customer jobs',
|
||||
'none' => 'You have no open customer jobs.',
|
||||
'due' => 'due :date',
|
||||
'all' => '{0} Customer job list|{1} All my jobs (1 open)|[2,*] All my jobs (:count open)',
|
||||
],
|
||||
|
||||
'management' => [
|
||||
'title' => 'Management panel',
|
||||
'loading' => 'Loading the management panel…',
|
||||
'change' => ':change on the previous month',
|
||||
'no_comparison' => 'Nothing to compare with in the previous month',
|
||||
],
|
||||
|
||||
'todo' => [
|
||||
'title' => 'To do',
|
||||
'approvals' => '{0} No hours waiting for approval|{1} One person has hours waiting for approval|[2,*] :count people have hours waiting for approval',
|
||||
'approval_line' => ':name: :hours h over :weeks weeks',
|
||||
'done_jobs' => '{0} No done jobs waiting for billing|{1} One done job is waiting for billing|[2,*] :count done jobs are waiting for billing',
|
||||
'draft' => 'A billing material draft is in progress',
|
||||
'cash_days' => '{1} Cash day :first is not closed|[2,*] :count cash days are not closed, the oldest :first',
|
||||
'unbilled' => 'Value of unbilled hours :amount',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'title' => 'Month so far',
|
||||
'period' => ':from–:to compared with :previous_from–:previous_to.',
|
||||
'customer_hours' => 'Customer work hours',
|
||||
'internal_hours' => 'Internal work hours',
|
||||
'billed' => 'Billed (VAT 0)',
|
||||
'margin' => 'Margin (VAT 0)',
|
||||
'no_cost' => 'No hourly cost set',
|
||||
'sales' => 'Quick sales (with VAT)',
|
||||
'billing_note' => 'Billing and margin come from the billing materials created for the month.',
|
||||
],
|
||||
|
||||
'stock' => [
|
||||
'title' => 'Jobs',
|
||||
'caption' => 'Customer jobs by status',
|
||||
'status' => 'Status',
|
||||
'count' => 'Jobs',
|
||||
'overdue_jobs' => '{0} No late jobs.|{1} One job is late.|[2,*] :count jobs are late.',
|
||||
'overdue_tasks' => '{0} No late tasks.|{1} One task is late.|[2,*] :count tasks are late.',
|
||||
'oldest_overdue' => 'Tasks late the longest',
|
||||
'no_assignee' => 'no assignee',
|
||||
],
|
||||
|
||||
'load' => [
|
||||
'title' => 'Workload',
|
||||
'none' => 'No active users.',
|
||||
'caption' => 'Task calendar bookings against working time',
|
||||
'person' => 'Person',
|
||||
'week' => 'Week of :from',
|
||||
'value' => ':booked / :capacity h (:ratio)',
|
||||
'overloaded' => 'Overloaded',
|
||||
'note' => 'Bookings are the estimates of open tasks in the task calendar; working time is the daily maximum times the working days.',
|
||||
'to_calendar' => 'Open the calendar',
|
||||
],
|
||||
];
|
||||
@@ -51,10 +51,4 @@ return [
|
||||
'theme_system' => 'System default',
|
||||
'selected' => '(selected)',
|
||||
],
|
||||
'demo' => [
|
||||
'title' => 'Toiminnanohjaus',
|
||||
'intro' => 'Livewire and TallStackUI are working. This is a temporary test page.',
|
||||
'add_click' => 'Add click',
|
||||
'clicked' => 'Clicked :count times',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user