[Vtigercrm-commits] [vtiger-commits] r7789 - in /vtigercrm/trunk/Smarty/templates/Inventory: InventoryCreateView.tpl InventoryEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 10:42:18 EDT 2006
Author: richie
Date: Tue Jul 4 08:42:14 2006
New Revision: 7789
Log:
changes made to fix the issue 1112
Modified:
vtigercrm/trunk/Smarty/templates/Inventory/InventoryCreateView.tpl
vtigercrm/trunk/Smarty/templates/Inventory/InventoryEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/Inventory/InventoryCreateView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Inventory/InventoryCreateView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Inventory/InventoryCreateView.tpl Tue Jul 4 08:42:14 2006
@@ -124,8 +124,17 @@
{foreach key=header item=data from=$blockInfo}
<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/Inventory/InventoryEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Inventory/InventoryEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Inventory/InventoryEditView.tpl Tue Jul 4 08:42:14 2006
@@ -115,9 +115,18 @@
<!-- included to handle the edit fields based on ui types -->
{foreach key=header item=data from=$BLOCKS}
- </tr>
+ <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