@@ -17,6 +17,7 @@ use App\Models\Warehouse;
|
||||
use App\Services\AgreementOrderLimits;
|
||||
use App\Services\ImportDossier;
|
||||
use App\Services\ImportLandedCosts;
|
||||
use App\Services\InventoryConversionRuntime;
|
||||
use App\Services\InventoryReversals;
|
||||
use App\Services\OrganizationAccess;
|
||||
use App\Services\ReceiptWorkflow;
|
||||
@@ -370,7 +371,7 @@ class SupplyPlanningController extends Controller
|
||||
}
|
||||
|
||||
return Inertia::render('supply/coordination', ['kind' => $kind, 'ready' => $ready,
|
||||
'conversionQaEnabled' => app()->environment('testing') && config('inventory_conversion.qa_enabled') === true,
|
||||
'conversionQaEnabled' => app(InventoryConversionRuntime::class)->available(),
|
||||
'recordFilters' => ['record_search' => trim($filters['record_search'] ?? ''), 'record_state' => $filters['record_state'] ?? ''],
|
||||
'recordPagination' => $page === null ? null : ['current_page' => $page->currentPage(), 'last_page' => $page->lastPage(), 'total' => $page->total(),
|
||||
'prev_page_url' => $page->previousPageUrl(), 'next_page_url' => $page->nextPageUrl()],
|
||||
|
||||
Reference in New Issue
Block a user