Steve Ireland
47f419368b
For #3730 . This replaces FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS.
2023-04-27 21:54:13 -04:00
Steve Ireland
71b68a02fd
For #3698 , this commit gets me to the point where I can add, change and delete items. I'm able to add a payment and delete it, and add a customer to the sale and remove the customer from the sale. There are still issues with the register, but I'm out of time for now.
2023-04-27 21:54:12 -04:00
Steve Ireland
5d9eaa4c2b
This got me to the point where I could add an item to a sale.
2023-04-27 21:54:12 -04:00
Steve Ireland
ddc976919d
It started to seem a little silly and a waste of time to try to keep including "ajax" in function names to identify them as function calls. So I'm backing that out with this commit, and going forward I will be removing ajax from the function names where they were added.
2023-04-27 21:54:12 -04:00
Steve Ireland
b707677789
Bulk Controller changes.
2023-04-27 21:54:12 -04:00
Steve Ireland
c564debc63
This commit renames the get_row ajax call to getAjaxRow in order to line up with the changes made to get customer maintenance working.
2023-04-27 21:54:12 -04:00
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