Scrap ERP v1.12.12 — Profit Taken Total Correction

Back up the ERP folder and database. Replace application files from this complete
scrap-erp folder, retaining storage/config.php and storage/installed.lock.
No database updater is required.
For new installations, use install.php with an empty MySQL database.

Profit Taken now includes cash/bank profit payments, profit transferred to
Investment, profit transferred to Dasti, and earlier Profit Taken entries.
Example: 200 cash + 500 Investment + 300 Dasti = 1000 Profit Taken.
Applied consistently to Partner Ledger list, All Entries and Investment Report.
Investment/Dasti balances and unpaid profit calculations remain unchanged.
No records are rewritten; internal transfers still do not appear as cash flows.
Local balance tests and PHP 8.2 syntax checks passed. Not tested on live hosting.
