Commit Graph

18 Commits

Author SHA1 Message Date
Steve Ireland
80b893a332 Corrected model search method naming and added defaults for parameters not provided since the addition of type hints seems to disable the use of default values. 2023-04-27 21:54:12 -04:00
Steve Ireland
512baf7731 Never program while your wife is trying to have a serious discussion with you. 2023-04-27 21:54:11 -04:00
Steve Ireland
f03c75d08b More search corrections 2023-04-27 21:54:11 -04:00
Steve Ireland
7cb4c3eef1 Correct some experimental code. 2023-04-27 21:54:11 -04:00
Steve Ireland
a9e4283b80 I believe this batch of changes resolves numerous CI4 related issues (but not all issues). 2023-04-27 21:54:11 -04:00
objecttothis
63b0068a38 Sales MVC
- Added todo to Stock_location.php
- make library function return nullable
- Added missing model instantiation
- Commented out Sale model instantiation in library because it's causing infinite loop
- Changed function name prepending get and post required by CI4 autorouting
2023-04-27 21:54:11 -04:00
objecttothis
715275b41f Added missing stock_location model reference 2023-04-27 21:54:11 -04:00
objecttothis
32192b90c3 CI4 bugfixes
- Added session variable instantiation where needed.
- Added tabular helper to autoload
- removed tabular helper reference where no longer needed.
- Remove esc() references where it was causing display problems.
- Remove excess whitespace on blank line
- Remove unecessary using reference
- Make parameters for dinner table functions nullable
2023-04-27 21:54:11 -04:00
objecttothis
2dd8a62e34 Replaces calls to config('OSPOS')
- In controllers, models, helpers and libraries
- Reduced down to one call per class
- Update the OSPOS config on update to ospos_app_config table
2023-04-27 21:54:10 -04:00
objecttothis
d408675370 Fixed sale->update() signature 2023-04-27 21:54:10 -04:00
objecttothis
3831503721 Renamed index to getIndex in Controllers 2023-04-27 21:54:09 -04:00
objecttothis
f4902002b9 Bugfixes
- Commenting out non-working portions of migrations
- Fixing company_logo location
2023-04-27 21:53:49 -04:00
objecttothis
f343c6988e Load OSPOS app settings to variable
- refactor class and variable
- Refactor references to OSPOS configuration
- Replaced " with ' in PHP where parser was not needed
2023-04-27 21:53:49 -04:00
objecttothis
53b81f804e CI4 changes
- Corrected capitalization of App in use statements
- Added use statements where missing in Events.php
2023-04-27 21:53:48 -04:00
objecttothis
df6fe58652 Porting over 96c5924 2023-04-27 21:53:02 -04:00
objecttothis
774859ab1a Porting over 6f8b877 2023-04-27 21:53:02 -04:00
objecttothis
63162b97fe Upgrade to CodeIgniter 4.1.3 2023-04-27 21:52:54 -04:00
jekkos
09201ab344 Prepare rebase: move files to new folder structure 2023-04-27 21:52:28 -04:00