Add HL3D branding, Etsy Live/Draft paging and Projects lifecycle
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 23s
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 23s
Replace the old touchmark/PNG identity with the supplied lockup and monogram, segmented role-aware navigation, Live/Draft listing filters with generation-based cache invalidation, and admin Projects covering immutable file revisions, listing live pointers, and exact-decimal filament/packaging/shipping costing. Additive schema only; no Etsy publication. Isolated clone tests: 301 tests, 1162 assertions.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\ProjectCostLine;
|
||||
use App\Models\ProjectCostSnapshot;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<ProjectCostLine>
|
||||
*/
|
||||
class ProjectCostLineFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'cost_snapshot_id' => ProjectCostSnapshot::factory(),
|
||||
'category' => ProjectCostLine::CATEGORY_FILAMENT,
|
||||
'description' => 'PLA black',
|
||||
'quantity' => '100.000',
|
||||
'quantity_unit' => 'g',
|
||||
'unit_rate' => '20.000000',
|
||||
'waste_quantity' => '0.000',
|
||||
'line_total' => '2.0000',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user