Revision: 6573
http://care2002.svn.sourceforge.net/care2002/?rev=6573&view=rev
Author: robertmeggle
Date: 2010-07-20 14:27:14 +0000 (Tue, 20 Jul 2010)
Log Message:
-----------
see #74 (not closed... inherit error found, see ticket)
Modified Paths:
--------------
care2x/branches/gettext/modules/registration_admission/model/class_gui_input_person.php
Modified:
care2x/branches/gettext/modules/registration_admission/model/class_gui_input_person.php
===================================================================
---
care2x/branches/gettext/modules/registration_admission/model/class_gui_input_person.php
2010-07-20 14:08:23 UTC (rev 6572)
+++
care2x/branches/gettext/modules/registration_admission/model/class_gui_input_person.php
2010-07-20 14:27:14 UTC (rev 6573)
@@ -165,12 +165,16 @@
if (trim($addr_str_nr)=='') { $errorstreetnr=1;
$error++;}
if
($addr_citytown_nr&&(trim($addr_citytown_name)=='')) { $errortown=1; $error++;}
if ($sex=='') { $errorsex=1; $error++;}
+ //TODO: Check out if there is really insurance
as mandatory field needed (comment by Robert)
+ /*
if($insurance_show) {
if(trim($insurance_nr) &&
(trim($insurance_firm_name)=='')) { $errorinsurancecoid=1; $error++;}
}
+ */
}
+ //echo "amount of errors: $error";
+ //echo "errornamelast: $errornamelast <br>
errornamefirst:$errornamefirst <br> errordatebirth: $errordatebirth
<br>errorstreet: $errorstreet <br> errorstreetnr: $errorstreetnr
<br>errortown: $errortown <br> errorsex: $errorsex";
-
# If the validation produced no error, save the data
if(!$error) {
# Save the old filename for testing
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers