Comments (3)
** Update **
First of all, I am not a coder. I have spent enough years looking at PHP and SQL to be able to sort through (mostly) what data is being looked for and where it's supposed to find it. With that caveat …
I went back and looked at the pledge_plg table, and compared it against the query in the query_qry table.
The query_qry table has the following SQL, in qry_SQL, regarding the "Family Pledge by Fiscal Year" report:
SELECT fam_Name, fam_Envelope, b.fun_Name as Fund_Name, a.plg_amount as Pledge from family_fam left join pledge_plg a on a.plg_famID = fam_ID and a.plg_FYID=fyid and a.plg_PledgeOrPayment='Pledge' and a.plg_amount>0 join donationfund_fun b on b.fun_ID = a.plg_fundID order by fam_Name, a.plg_fundID
The a.plg_FYID=fyid is pulling information from the pledge_plg table, in the plg_FYID field. If I set the "Fiscal Year" in the deposit slip to "2023", it should pull "27" from the gpo_grp_ID field, which it does. The a.plg_PledgeOrPayment field is looking for a value of "Pledge".
I went in and looked at my table information in "pledge_plg". In the deposits, I set the "Fiscal Year" for 2023, which had an option/ID value of "27". Fine so far. However, every entry in the "plg_PledgeOrPayment" field is listed as "Payment", even if the money was credited in the "Fund Split" section under "Pledges".
In looking at DepositSlipEditor.php, there doesn't appear to be a point where a deposit can be credited as "Pledge" versus "Payment", so I'm not sure what's missing. But that would explain why I don't get anything back in the report.
I may have this all wrong, and if so, and I need to make other changes, I'd appreciate getting pointed in the right direction.
from crm.
Well, maybe I'm not so smart after all. I manually changed the information in the "pledge_plg" table to reflect "Pledge" instead of "Payment". No joy on the report.
from crm.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from crm.
Related Issues (20)
- Can't install 5.0.5 HOT 7
- Error running Tax Report 500 HOT 2
- AppIntegrityService.php HOT 10
- Kiosk Manager / Kiosk page HOT 1
- Bug: Editing event should provide a validation error if start date is after the end date
- Bug: Installation issues. HOT 9
- Bug: CSV Import Error
- Bug: Unable to create new group role HOT 6
- Bug: Birthday and Gender Chart for Class not displaying HOT 7
- Replace "mustache/mustache" with a better-maintained templating library, like "twigphp/twig"
- Migrate hardcoded states dropdown (src/Include/StateDropDown.php) to use States object (src/ChurchCRM/data/States.php) HOT 1
- Feature request: Add optional nickname to Person HOT 1
- Feature request: Default state/country for Person should be set to Church's state/country if not configured
- Bug: Editing Family erroneously updates country information
- Feature request: Autocomplete for address fields based on maps api HOT 1
- Bug: Unable to Upgrade HOT 8
- Bug: Unable to delete or move item in HOT 4
- Bug: CSV Import Error HOT 8
- Bug: SQL Backup - 403 error HOT 5
- Bug: Unable to populate group data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crm.