-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form_validation: remove empty rules in products & tasks models same other models #1195
base: next-1.7
Are you sure you want to change the base?
Form_validation: remove empty rules in products & tasks models same other models #1195
Conversation
Now Custom Fields ip_invoice_custom is present in settings page + Remove hard fix in view template-tags-invoices + Indents of settings view partial_settings general
Inspired by `module/clients/view/partial_client_table.php`
Improve InvoicePlane#1185 Scope: + Clients + DashBoard + Invoices + Quotes + Payments + Products + Tasks Note: .amount.last apply padding in last element like Quotes list
`$(document).on('click', '.ajax-loader', function () {` Is duplicated inside same function.
Like other models
CI (3.3.0) say after save product (Message in dev mode)
Compare CI's to see why |
@sudwebdesign Thank you for the PR. I've done 2 things:
|
I need to keep |
Just in case: this change no affect (maybe accelerate) the product/task save with CI3.1.13 (It's ok for IP v1.6.3, i checked)
IMO On Original CI 3 when if rule is set to
Thanks for your big work and this report of other forks.
Same thing (KISS principle) 💯 Note:Theses *With CodeIgniter-3.1.13 release do not have this but CI by @pocketarc these errors are being reported. |
Description
Same as numerous Models (Good practice?)
See modules/clients/models/Mdl_clients.php line 40
in
validation_rules
:client_title
,client_surname
, ...have no
rule
Same in modules/invoices/models/Mdl_items.php line 66 and others...
Related Issue
Maybe #1180
Motivation and Context
Completion to simplify transition for php.8.4 & maintained CI
Compatibility with CodeIgniter 3.1.13 & 3.3.0 by @pocketarc
In relation with PR #1161 + Issue #1180
Exception find when use CodeIgniter 3.3.0 by @pocketarc
and when edit + save product go to blank page (prod mode)
See this message for backtrace.
Pull Request Checklist
Issue Type (Please check one or more)