[Vtigercrm-commits] [vtiger-commits] r7788 - in /vtigercrm/trunk/Smarty/templates: CreateView.tpl salesEditView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 10:38:34 EDT 2006


Author: richie
Date: Tue Jul  4 08:38:30 2006
New Revision: 7788

Log:
changes made to fix the issue 1112

Modified:
    vtigercrm/trunk/Smarty/templates/CreateView.tpl
    vtigercrm/trunk/Smarty/templates/salesEditView.tpl

Modified: vtigercrm/trunk/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateView.tpl Tue Jul  4 08:38:30 2006
@@ -119,8 +119,17 @@
 
 								   {foreach key=header item=data from=$BASBLOCKS}
 								   <tr>
+									{if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+                                                                        <td colspan=2 class="detailedViewHeader">
+                                                                        <b>{$header}</b></td>
+                                                                        <td class="detailedViewHeader">
+                                                                        <input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_RCPY_ADDRESS}</b></td>
+                                                                        <td class="detailedViewHeader">
+                                                                        <input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td>
+                                                                        {else}
 						         		<td colspan=4 class="detailedViewHeader">
                                                 	        		<b>{$header}</b>
+									{/if}
 							 		</td>
 		                                        	   </tr>
 

Modified: vtigercrm/trunk/Smarty/templates/salesEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/salesEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/salesEditView.tpl Tue Jul  4 08:38:30 2006
@@ -142,8 +142,17 @@
 
 
 									      <tr>
+										{if $header== 'Address Information' && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
+                                                                                <td colspan=2 class="detailedViewHeader">
+                                                                                <b>{$header}</b></td>
+                                                                                <td class="detailedViewHeader">
+                                                                                <input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_RCPY_ADDRESS}</b></td>
+                                                                                <td class="detailedViewHeader">
+                                                                                <input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td>
+                                                                                {else}
 										<td colspan=4 class="detailedViewHeader">
 											<b>{$header}</b>
+										{/if}
 										</td>
 									      </tr>
 





More information about the vtigercrm-commits mailing list