Steve Ireland
c70fcdbe60
Refactored the empty object initialization to make it easier to clone to other model functions.
2023-04-27 21:54:12 -04:00
Steve Ireland
34ee5cc752
More pogress on Item Maintenance.
2023-04-27 21:54:12 -04:00
Steve Ireland
9c94964052
This reworks some things in customer and item maintenance to improve the behavior of the checkbox.
2023-04-27 21:54:12 -04:00
Steve Ireland
1863db9ab4
Bulk Model changes.
2023-04-27 21:54:12 -04:00
Steve Ireland
9ee7b8f6d4
This commit appears to fix customer deletes and updates.
2023-04-27 21:54:12 -04:00
Steve Ireland
a207539f4f
Slightly more progress on customer maintenance.
2023-04-27 21:54:12 -04:00
Steve Ireland
0ce73cc249
These minor changes were needed to get to the point where the Item form could be displayed. There are still some issues with the actual form
2023-04-27 21:54:12 -04:00
Steve Ireland
c5180ab614
Primary changes return type from ResultSet to int for those requests that only return a record count. Also corrected a few other minor issues.
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
a9e4283b80
I believe this batch of changes resolves numerous CI4 related issues (but not all issues).
2023-04-27 21:54:11 -04:00
Steve Ireland
750b2afa7a
A touch of "standards compliance" cleanup.
2023-04-27 21:54:11 -04:00
Steve Ireland
c990bb2abb
Tack on the void return type onto the Employee:logout method.
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
Steve Ireland
026ac25106
Restore the logout behavior so that when logout is clicked then the user is returned to the login page.
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
78cfe927b0
Convert encryption to CI4
...
- optimized save function
2023-04-27 21:54:11 -04:00
objecttothis
8a1e4b2083
Convert encryption to CI4
...
- automatic upgrade of encryption key.
- automatic decryption of CI3 data, then re-encryption in CI4 and update of table.
- Fixing save function in app_config model
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
75944399a8
commented out code causing infinite loop.
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
dcf1bbb3b2
CI4 updates
...
- Fixed bug in appconfig->get_value() that never returns a value
- Trying to fix logout
- Turned on session->regenerateDestroy
2023-04-27 21:54:10 -04:00
objecttothis
d408675370
Fixed sale->update() signature
2023-04-27 21:54:10 -04:00
objecttothis
bc8c3fd2c3
Simplified boolean comparisons
2023-04-27 21:54:10 -04:00
objecttothis
cd96e42a93
Fix SQL
2023-04-27 21:54:10 -04:00
objecttothis
f0acd506bb
Match model function signatures to parent
...
- update method
2023-04-27 21:54:10 -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
e1fb285da7
Formatting
...
- Convert indents to tabs
- Remove unnecessary else statement
- Correct PHPDoc formatting
2023-04-27 21:54:10 -04:00
objecttothis
1a0e5b916a
Migrations fixes
...
- Minor formating changes
- Adding migration helper calls where needed
- Adding locale helper calls where needed
- Add use statement to tax_lib for sale_lib
- pass gcaptcha enabled to the login view after checking to see if the key exists so that we don't get code errors before migrations 20170501150000
- Fixed getWhere in Appconfig model
2023-04-27 21:54:10 -04:00
objecttothis
cdb21d3e4c
Migrations fixes
...
- Minor formating changes
- Adding migration helper calls where needed
- Adding locale helper calls where needed
- Add use statement to tax_lib for sale_lib
- pass gcaptcha enabled to the login view after checking to see if the key exists so that we don't get code errors before migrations 20170501150000
- Fixed getWhere in Appconfig model
2023-04-27 21:54:10 -04:00
objecttothis
0fad576550
Correct redirect() calls to CI4 format
2023-04-27 21:54:09 -04:00
objecttothis
8c7f5c15ca
CI4 4.3.1 upgrade
...
- add missing files
- overwrite changed files
- merge code changes
- Matched .htaccess file in /public/ to CI4
- Corrected naming of Error language file to Errors
- Refactored references to Error language file
2023-04-27 21:54:09 -04:00
objecttothis
bdbc86060e
Upgrade to CI 4.2.10
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
3761c75711
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
16f4d6dc9c
Modified Appconfig::delete to match inheritance rules
2023-04-27 21:53:48 -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
jekkos
590b37e745
Porting over f061a83
2023-04-27 21:53:03 -04:00
jekkos
15f9955382
Porting over 8c1977b
2023-04-27 21:53:03 -04:00
jekkos
99024052e8
Porting over ad7ae23
2023-04-27 21:53:03 -04:00
chunter2
fec5c92b15
Porting over e4ca111
2023-04-27 21:53:03 -04:00
objecttothis
c536b9b5fe
Porting over 8c1977b
2023-04-27 21:53:02 -04:00
objecttothis
7db0211f5e
Porting over 96c5924
2023-04-27 21:53:02 -04:00
objecttothis
df6fe58652
Porting over 96c5924
2023-04-27 21:53:02 -04:00
jekkos
ace7c2b131
Apply changes from master
2023-04-27 21:53:02 -04:00
objecttothis
ac8c2295f6
Porting over f1672d9
2023-04-27 21:52:54 -04:00
objecttothis
f402ab8e98
Porting over a33f29b
2023-04-27 21:52:54 -04:00