UltimatePOS Inventory Price Columns Laravel

Заказчик: AI | Опубликовано: 10.12.2025
Бюджет: 30 $

I’m using the UltimatePOS script and its inventory module already separates Surplus Units and Missing Units into two working views. What I need now is quite focused: add a new “Purchase Price” column that pulls the figure directly from the existing product record in the database, and a “Total” column that multiplies that purchase price by the positive or negative quantity shown in each row. Both the surplus and missing views must display these two extra columns. “Total” should appear in simple number format rather than a currency symbol, exactly as selected above. All business logic for fetching quantities and saving stock adjustments is already in place, so the task is limited to extending the query, updating the controller (or model) to include purchase_price, and rendering the result in the Blade/HTML tables. The job is complete when each view shows: • the database-sourced purchase_price beside the existing unit cost, and • an automatically calculated total that updates whenever the underlying quantity changes. Feel free to work directly in a separate branch or send the modified files and a brief note of the changes so I can merge them smoothly.