[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3280] trunk
- Subject: SF.net SVN: ledger-smb:[3280] trunk
- From: ..hidden..
- Date: Sat, 18 Jun 2011 15:14:53 +0000
Revision: 3280
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3280&view=rev
Author: einhverfr
Date: 2011-06-18 15:14:53 +0000 (Sat, 18 Jun 2011)
Log Message:
-----------
Correcting employee__save function regarding existing employees
'
'
Modified Paths:
--------------
trunk/UI/Contact/contact.html
trunk/sql/modules/Employee.sql
Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html 2011-06-18 06:33:31 UTC (rev 3279)
+++ trunk/UI/Contact/contact.html 2011-06-18 15:14:53 UTC (rev 3280)
@@ -626,7 +626,7 @@
</div>
<?lsmb END ?>
<?lsmb END ?>
-<?lsmb IF entity_id && credit_id ?>
+<?lsmb IF entity_id && (credit_id || account_class == 3) ?>
<div id="location_div" class="container">
<div class="listtop"><?lsmb text('Locations') ?></div>
<!-- This entire form should probably be optionaly automated with AJAX
Modified: trunk/sql/modules/Employee.sql
===================================================================
--- trunk/sql/modules/Employee.sql 2011-06-18 06:33:31 UTC (rev 3279)
+++ trunk/sql/modules/Employee.sql 2011-06-18 15:14:53 UTC (rev 3280)
@@ -31,6 +31,7 @@
in_entity_id);
RETURN in_entity_id;
END IF;
+ RETURN out_id;
END;
$$ LANGUAGE PLPGSQL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.