Report stock usage and value, add material cost to profitability, document phase 5
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Reports\Application\DTOs;
|
||||
|
||||
/**
|
||||
* The stock usage report: by item, group, machine and job, and in total.
|
||||
*/
|
||||
final readonly class StockUsageReportData
|
||||
{
|
||||
/**
|
||||
* @param list<StockUsageRow> $items
|
||||
* @param list<StockUsageRow> $groups
|
||||
* @param list<StockUsageRow> $machines
|
||||
* @param list<StockUsageRow> $jobs
|
||||
*/
|
||||
public function __construct(
|
||||
public array $items,
|
||||
public array $groups,
|
||||
public array $machines,
|
||||
public array $jobs,
|
||||
public StockUsageRow $total,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user