Fixed table name

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-03-05 00:41:11 +00:00
parent 5ece721b00
commit 75366927f0

View file

@ -40,7 +40,7 @@ class ConsumablesController extends Controller
} }
if ($request->filled('company_id')) { if ($request->filled('company_id')) {
$consumables->where('consumable.company_id', '=', $request->input('company_id')); $consumables->where('consumables.company_id', '=', $request->input('company_id'));
} }
if ($request->filled('category_id')) { if ($request->filled('category_id')) {