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,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Dashboard\Application\DTOs;
|
||||
|
||||
/**
|
||||
* Key figures of a period: hours on customers' and internal jobs (quarter
|
||||
* hours), billed by the created billing materials of its months (work and
|
||||
* expenses, VAT 0), the margin (null without an internal hourly cost) and
|
||||
* quick sales (with VAT). Cents.
|
||||
*/
|
||||
final readonly class PeriodFigures
|
||||
{
|
||||
public function __construct(
|
||||
public int $customerQuarters,
|
||||
public int $internalQuarters,
|
||||
public int $billedCents,
|
||||
public ?int $marginCents,
|
||||
public int $salesCents,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user