Add stock items, groups and movements at a moving average cost

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:18:59 +02:00
co-authored by Claude Sonnet 5.5
parent 361a2974cf
commit 30132deb0e
81 changed files with 4968 additions and 115 deletions
@@ -77,7 +77,7 @@ it('stores a downscaled image and a thumbnail without metadata and shows them on
});
it('turns a sideways phone photo upright and leaves out its EXIF data', function () {
$stored = (new GdTaskImageFiles)->store(sidewaysJpeg(40, 20), $this->task->id);
$stored = app(GdTaskImageFiles::class)->store(sidewaysJpeg(40, 20), $this->task->id);
$bytes = Storage::disk('local')->get($stored->path);
expect(getimagesizefromstring($bytes)[0])->toBe(20)