The task calendar's daily maximum moves from the hidden setting jobs.daily_capacity_hours to shared.daily_capacity_hours, edited by the admin on the company details page. An empty field means 7.5 hours. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
32 lines
1.6 KiB
PHP
32 lines
1.6 KiB
PHP
<?php
|
|
|
|
return [
|
|
'title' => 'Company details',
|
|
'intro' => 'The company details are printed on receipts, and the menu name is shown at the left edge of the main menu. The VAT number is formed from the business ID. The daily capacity limits the bookings in the task calendar.',
|
|
'calendar_heading' => 'Task calendar',
|
|
'fields' => [
|
|
'name' => 'Company name',
|
|
'menu_name' => 'Menu name',
|
|
'menu_name_hint' => 'Shown at the left edge of the main menu. If left empty, the name Toiminnanohjaus is used.',
|
|
'business_id' => 'Business ID',
|
|
'business_id_hint' => 'For example 1234567-8.',
|
|
'address' => 'Address',
|
|
'address_hint' => 'Street address, postcode and town on separate lines.',
|
|
'phone' => 'Phone',
|
|
'email' => 'Email',
|
|
'daily_capacity_hours' => 'Daily capacity (h)',
|
|
'daily_capacity_hours_hint' => 'The task calendar books at most this many hours per person per working day, e.g. 7,5. If left empty, the limit is 7,5 h.',
|
|
],
|
|
'save' => 'Save',
|
|
'saved' => 'Company details saved.',
|
|
'errors' => [
|
|
'name' => 'Enter the company name (at most 255 characters).',
|
|
'business_id' => 'Enter a valid business ID, e.g. 1234567-8.',
|
|
'menu_name' => 'The menu name may be at most 100 characters.',
|
|
'address' => 'The address may be at most 500 characters.',
|
|
'phone' => 'The phone number may be at most 50 characters.',
|
|
'email' => 'Enter a valid email address.',
|
|
'daily_capacity_hours' => 'Enter more than 0 and at most 24 hours, e.g. 7,5.',
|
|
],
|
|
];
|