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,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Reports\Application\DTOs;
|
||||
|
||||
use App\Modules\Inventory\Application\DTOs\StockValueEntry;
|
||||
|
||||
/**
|
||||
* The stock value report of a day: the items, their total value in cents
|
||||
* and those to order.
|
||||
*/
|
||||
final readonly class StockValueReportData
|
||||
{
|
||||
/**
|
||||
* @param list<StockValueEntry> $items
|
||||
* @param list<StockValueEntry> $toOrder
|
||||
*/
|
||||
public function __construct(
|
||||
public array $items,
|
||||
public int $totalCents,
|
||||
public array $toOrder,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user