Set the calendar's daily capacity in the company details
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]>
This commit is contained in:
@@ -101,7 +101,7 @@ it('gives admin and management the management panel', function () {
|
||||
|
||||
$load = collect($overview->workloads)->firstWhere('userId', $this->worker->id);
|
||||
expect($load->thisWeek->bookedMinutes)->toBe(2700)
|
||||
->and($load->thisWeek->capacityMinutes)->toBe(5 * 8 * 60)
|
||||
->and($load->thisWeek->capacityMinutes)->toBe(5 * 450)
|
||||
->and(collect($overview->workloads)->pluck('userId'))->toContain($manager->id);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user