The problem occurs when an employee is assigned has his own manager. Perhaps this might be true of the head of the organization.
Here's the fix:
Edit the employee__search function by updating the WHERE clause:
WHERE (p.entity_id = mp.entity_id or mp.entity_id is null)
AND ($7 is null or p.entity_id in (select ref_key from entity_note
Thanks.
Brian
Brian WolfPhone: 410.367.2958Email: ..hidden..Try out Activus Secure Payments™, our recurring payments application.Demo at http://demo.activustech.comOn 10/10/2012 08:17 PM, Brian Wolf wrote:
Now one more problem: results of employee search show some employees multiple times.
I wish these types of simple operations were bug-free.
On 10/10/2012 07:45 PM, Brian Wolf wrote:
Thanks.
Brian
Brian WolfPhone: 410.367.2958Email: ..hidden..Try out Activus Secure Payments™, our recurring payments application.Demo at http://demo.activustech.com
It appears there's a bug, fixed by updating edit_user.html and contact.html.
However, now the employee role is not being saved correctly when updating the employee role description. Is that perhaps in employee.pl ?
On 10/10/2012 07:25 PM, Brian Wolf wrote:
Thanks.
Brian
Brian WolfPhone: 410.367.2958Email: ..hidden..Try out Activus Secure Payments™, our recurring payments application.Demo at http://demo.activustech.com
Trying to update an employee record, got this error:
Error!
22P02:ERROR: invalid input syntax for integer: "2--Leder"
LINE 1: ...ve"('86', NULL, NULL, NULL, 'manager', NULL, '1', '2--Leder'... ^
The dropdown listbox is populated with 2--Ledger as the value. Looks like an integer was expected. Any insight into how to fix this would be appreciated.
Thanks.
Brian
Brian WolfPhone: 410.367.2958Email: ..hidden..Try out Activus Secure Payments™, our recurring payments application.Demo at http://demo.activustech.com
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users