Steve Ireland
1863db9ab4
Bulk Model changes.
2023-04-27 21:54:12 -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
00955b0c94
Model fixes
...
- Removed unused imports
- Simplified boolean expression
- Added missing return type
- Fixed incorrect call to lang()
- Fixed missing type declaration
2023-04-27 21:54:11 -04:00
objecttothis
dd3b7330d3
Added protected fields for CI4 models
...
- primary table
- primary key
- useAutoIncrement
- useSoftDeletes
2023-04-27 21:54:11 -04:00
objecttothis
6126483586
Added allowedFields to models
...
- Without this save(), insert() and update() fail
2023-04-27 21:54:11 -04:00
objecttothis
b5c36f9c4d
Match model function signatures to parent
...
- delete method
- insert method
- update method
2023-04-27 21:54:10 -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