Feature/ospos customizations - #4641
Conversation
Insert any missing work-order/quote/invoice config keys (INSERT IGNORE) and enable work order support so the register offers Receipt/Quote/Work Order/Invoice modes. Safe on fresh and existing databases.
New pivot report showing stock quantity per product per location with a total, wired into the Reports page inventory section.
- OSPOSRules: resolve theme dir from FCPATH - Config postSaveLocale: sanitize payment reference code min/max - locale_helper: safe defaults for missing config values - initial_schema rollback: keep the framework migrations history table - header/login: restore injected CSS/JS resource includes - tabular_details: drop unused init_dialog block
- Refresh cart stock figures and re-point lines at the new source when the source location is changed, so the register always reflects current stock. - Add confirmation dialogs to the Finish and Cancel buttons using the existing confirm_finish_transfer / confirm_cancel_transfer language keys.
- Add RMA (Return Merchandise Authorization) module: rmas/rma_items tables, controller, model, library, register/detail views, per-item issue and serial number fields, and a Detailed RMA report. - Add requisitions workflow: two-step approval (PENDING -> SOURCE_APPROVED -> APPROVED) with stock moved via transfers, reject support, per-location permissions and a Detailed RMA/Requisitions reporting integration. - Add Rmas.php and Requisitions.php language files for all locales. - Add workflow tests for both modules.
- Add brand varchar column via new migration and expose it on the item form (before Item Name), bulk edit, manage table column and CSV import. - Make brand a required field on the item form and add localized brand/brand_required messages to all languages.
- Render remarks/comments in detailed sales/receivings reports (and specific customer/employee/discount reports) as links that open the corresponding receipt in a new tab. - Turn POS/RECV inventory comments in the Inventory Count Details view into clickable receipt links. - Add brand, brand_required, all_branches, open_receipt and RMA/requisition report keys to all language files. - Track all session customizations in CHANGELOG.
- Add RMA and requisitions modules to the reports listing and date input. - Auto-create permissions/grants for new stock locations (requisitions/rmas). - Add RMA/requisition links in the menu header and report data columns.
|
Important Review skippedToo many files! This PR contains 394 files, which is 94 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (394)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
If you want this review to be considered, you need to fill in some information in the PR description. It's also likely far too large for one PR. Unless there's good reason, you should submit one bugfix or feature change per Pull Request. This makes the Pull Requests more manageable and regressions easier to spot. |
No description provided.