[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5477] trunk/UI/Contact



Revision: 5477
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5477&view=rev
Author:   einhverfr
Date:     2013-01-04 13:19:48 +0000 (Fri, 04 Jan 2013)
Log Message:
-----------
Initial contact entry screen now passes validation

Modified Paths:
--------------
    trunk/UI/Contact/contact.html
    trunk/UI/Contact/divs/company.html
    trunk/UI/Contact/divs/person.html

Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html	2013-01-04 10:48:44 UTC (rev 5476)
+++ trunk/UI/Contact/contact.html	2013-01-04 13:19:48 UTC (rev 5477)
@@ -43,6 +43,7 @@
           ?></a></li>
         <?lsmb  END ?>
 </ul>
+</div>
 
   <?lsmb FOREACH ITEM IN DIVS; 
       INCLUDEDIV = "divs/" _ ITEM _ ".html";

Modified: trunk/UI/Contact/divs/company.html
===================================================================
--- trunk/UI/Contact/divs/company.html	2013-01-04 10:48:44 UTC (rev 5476)
+++ trunk/UI/Contact/divs/company.html	2013-01-04 13:19:48 UTC (rev 5477)
@@ -4,28 +4,33 @@
 	?><?lsmb CASE 2 ?><?lsmb entity_classname = "Customer" 
 	?><?lsmb END ?>
 	<div class="listtop"><strong><?lsmb text("$operation $entity_classname") ?></strong></div>
-<form name="company" method="post" action="<?lsmb script ?>" method="post">
+<form name="company" method="post" action="<?lsmb script ?>">
 <?lsmb PROCESS input element_data = {
+                  id = 'company-target-div'
 		type = "hidden"
 		name = "target_div"
 		value = 'company_div'
 	} ?>
 	<?lsmb PROCESS input element_data = {
+                  id = 'company-entity-id'
 		type = "hidden"
 		name = "entity_id"
 		value = entity_id
 	} ?>	
 	<?lsmb PROCESS input element_data = {
+                  id = 'company-company-id'
 		type = "hidden"
 		name = "id"
 		value = company.id
 	} ?>	
 <?lsmb PROCESS input element_data = {
+                  id = 'company-form-id'
 		type = "hidden"
 		name = "form_id"
 		value = form_id
 	} ?>
 	<?lsmb PROCESS input element_data = {
+                  id = 'company-account-class'
 		type = "hidden"
 		name = "account_class"
 		value = account_class
@@ -34,7 +39,8 @@
 <div class="input_group1">
 	<?lsmb PROCESS input element_data = {
 		label = text('Control Code') #'
-		type= "text"
+                  id = 'company-control-code' 
+		type = "text"
 		name = "control_code"
 		value = company.control_code
 		size = "20"
@@ -49,6 +55,7 @@
               company_entity_class = request.entity_class;
         END;
         PROCESS select element_data = {
+                id = 'company-entity-class'
 		name = "entity_class"
 		options = entity_classes
 		default_values = [company_entity_class]
@@ -58,12 +65,14 @@
 	} ?>
 	<?lsmb PROCESS button element_data = {
 		text = text('Generate Control Code') #'
+                  id = 'company-generate-control-code'
 		type = "submit"
 		name = "action"
 		value = "generate_control_code"
 		class = "submit"
         } ?>
         <?lsmb PROCESS button element_data = {
+                  id = 'company-action-retireve'
                 text = text('Retrieve')
                 type = 'submit'
                 name = 'action'
@@ -89,6 +98,7 @@
                           company_country_id = default_country_id;
                 END;
 		INCLUDE select element_data = {
+                        id = 'company-country-id'
 			text_attr = "name"
 			value_attr = "id"
 			default_values = [company_country_id]

Modified: trunk/UI/Contact/divs/person.html
===================================================================
--- trunk/UI/Contact/divs/person.html	2013-01-04 10:48:44 UTC (rev 5476)
+++ trunk/UI/Contact/divs/person.html	2013-01-04 13:19:48 UTC (rev 5477)
@@ -6,26 +6,31 @@
 	<div class="listtop"><strong><?lsmb text("$operation $entity_classname") ?></strong></div>
 <form name="customer" method="post" action="<?lsmb script ?>">
 <?lsmb PROCESS input element_data = { # Only for generate_control_code
+                  id = 'person-target-div'
 		type = "hidden"
 		name = "target_div"
 		value = 'person_div'
 	} ?>
 	<?lsmb PROCESS input element_data = {
+                  id = 'person-entity-id'
 		type = "hidden"
 		name = "entity_id"
 		value = entity_id
 	} ?>	
 	<?lsmb PROCESS input element_data = {
+                  id = 'person-id'
 		type = "hidden"
 		name = "id"
 		value = person.id
 	} ?>	
 <?lsmb PROCESS input element_data = {
+                  id = 'person-form-id'
 		type = "hidden"
 		name = "form_id"
 		value = form_id
 	} ?>
 	<?lsmb PROCESS input element_data = {
+                  id = 'person-account-class'
 		type = "hidden"
 		name = "account_class"
 		value = account_class
@@ -33,6 +38,7 @@
 <div class="input_line">
 <div class="input_group1">
 	<?lsmb PROCESS input element_data = {
+                  id = 'person-control-code'
 		label = text('Control Code') #'
 		type= "text"
 		name = "control_code"
@@ -49,6 +55,7 @@
               company_entity_class = request.entity_class;
         END;
         PROCESS select element_data = {
+                id = 'person-entity-class'
 		name = "entity_class"
 		options = entity_classes
 		default_values = [person_entity_class]
@@ -57,6 +64,7 @@
 		label = text('Class')
 	} ?>
 	<?lsmb PROCESS button element_data = {
+                 id = 'person-generate-control-code'
 		text = text('Generate Control Code') #'
 		type = "submit"
 		name = "action"
@@ -64,6 +72,7 @@
 		class = "submit"
         } ?>
         <?lsmb PROCESS button element_data = {
+                  id = 'person-retrieve'
                 text = text('Retrieve')
                 type = 'submit'
                 name = 'action'
@@ -127,6 +136,7 @@
                           person_country_id = default_country_id;
                 END;
 		INCLUDE select element_data = {
+                        id = 'person-country-id'
 			text_attr = "name"
 			value_attr = "id"
 			default_values = [company_country_id]

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.