Route changed to /api/v1/{lot_number}. LotResource now includes
packing details, units_produced, quantity_g and recipe version.
CORS config added for public API access. README documents the
endpoint, example response and subdomain setup instructions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
269570c7d6
commit
e14baca7e0
5 files changed
+110
-6
No files matched your search
@@ -13,6 +13,7 @@ class LotController extends Controller
|
||||
{
|
||||
$batch = Batch::with([
|
||||
'product',
|
||||
'size.packing',
|
||||
'recipe.spices',
|
||||
'origins.spice',
|
||||
'origins.supplier',
|
||||
|
||||
Reference in new issue
Block a user