Warenwirtschaft: Review-Fix — Indizes + schlanke API-Bestellungen-Seite

Indizes auf shopping_orders.shipped/shipped_at/created_at (Board-Filter,
Tages-Kacheln) und products.wp_number (SKU-Auflösung). Die
API-Bestellungen-Seite lud das komplette JSON-payload für alle 500 Zeilen
und serialisierte es in Inline-Attribute; jetzt persistierte
positions_count, Liste ohne payload, Inhalt on-demand über show-Endpoint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-07-20 13:02:47 +00:00
parent f4256bfc89
commit 50243a07b4
8 changed files with 172 additions and 20 deletions

View file

@ -331,6 +331,7 @@ Route::domain(config('app.domain'))->group(function () {
Route::get('productions/{production}/copy', [InventoryProductionController::class, 'copy'])->name('productions.copy');
Route::get('product-development', [InventoryProductDevelopmentController::class, 'index'])->name('product-development');
Route::get('api-orders', [InventoryApiOrderLogController::class, 'index'])->name('api-orders.index');
Route::get('api-orders/{apiOrderLog}', [InventoryApiOrderLogController::class, 'show'])->name('api-orders.show');
Route::get('orders', [InventoryOrderFulfillmentController::class, 'index'])->name('orders.index');
Route::post('orders/documents/batch', [InventoryOrderFulfillmentController::class, 'batchDocuments'])->name('orders.documents.batch');
Route::post('orders/{id}/status', [InventoryOrderFulfillmentController::class, 'updateStatus'])->name('orders.status');