Skip to content

Commit

Permalink
fixed aos related field link in aos list view
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlorimer committed Nov 1, 2013
1 parent 2929787 commit f797048
Show file tree
Hide file tree
Showing 17 changed files with 55 additions and 34 deletions.
Empty file modified custom/include/globalControlLinks.php
100644 → 100755
Empty file.
Empty file modified custom/modules/Calendar/Cal.css
100644 → 100755
Empty file.
Empty file modified custom/modules/Cases/metadata/SearchFields.php
100644 → 100755
Empty file.
Empty file modified custom/modules/Contacts/disablePortalUser.php
100644 → 100755
Empty file.
Empty file modified custom/modules/Contacts/enablePortalUser.php
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions custom/modules/Contacts/views/view.detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
* "Powered by SugarCRM".
********************************************************************************/

require_once('modules/Contacts/views/view.detail.php');

class CustomContactsViewDetail extends ContactsViewDetail{
public function display(){
global $sugar_config;
Expand Down
2 changes: 1 addition & 1 deletion custom/modules/Home/About.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
print( "   " . $custom_version );
}?>
</b>
<p>Sugar<?php echo $mod_strings['LBL_VERSION']." ".$sugar_version." (".$mod_strings['LBL_BUILD']." ".$sugar_build.")";?></p>
<p>Sugar <?php echo $mod_strings['LBL_VERSION']." ".$sugar_version." (".$mod_strings['LBL_BUILD']." ".$sugar_build.")";?></p>
<br>
<h1><?php echo $mod_strings['LBL_CONTRIBUTOR_SUITECRM']; ?></h1>
<table id="about_table" class="contentBox">
Expand Down
Empty file modified custom/modules/Home/AboutSugar.php
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
ini_set('display_errors',1);
if(!defined('sugarEntry'))define('sugarEntry', true);
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
Expand Down
4 changes: 4 additions & 0 deletions modules/AOS_Contracts/metadata/listviewdefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
'module' => 'Accounts',
'id' => 'CONTRACT_ACCOUNT_ID',
'link' => true,
'related_fields' =>
array (
'contract_account_id',
),
),
'TOTAL_CONTRACT_VALUE' =>
array (
Expand Down
8 changes: 8 additions & 0 deletions modules/AOS_Invoices/metadata/listviewdefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
'module' => 'Contacts',
'id' => 'BILLING_CONTACT_ID',
'link' => true,
'related_fields' =>
array (
'billing_contact_id',
),
),
'BILLING_ACCOUNT' =>
array (
Expand All @@ -63,6 +67,10 @@
'module' => 'Accounts',
'id' => 'BILLING_ACCOUNT_ID',
'link' => true,
'related_fields' =>
array (
'billing_account_id',
),
),
'TOTAL_AMOUNT' =>
array (
Expand Down
16 changes: 15 additions & 1 deletion modules/AOS_Products/metadata/listviewdefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
array (
'NAME' =>
array (
'width' => '25%',
'width' => '15%',
'label' => 'LBL_NAME',
'default' => true,
'link' => true,
Expand All @@ -28,6 +28,20 @@
'currency_format' => true,
'default' => true,
),
'AOS_PRODUCT_CATEGORY_NAME' =>
array (
'type' => 'relate',
'studio' => 'visible',
'label' => 'LBL_AOS_PRODUCT_CATEGORYS_NAME',
'id' => 'AOS_PRODUCT_CATEGORY_ID',
'link' => true,
'width' => '10%',
'default' => true,
'related_fields' =>
array (
'aos_product_category_id',
),
),
'CREATED_BY_NAME' =>
array (
'width' => '10%',
Expand Down
23 changes: 16 additions & 7 deletions modules/AOS_Products/vardefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,17 +244,26 @@
'bean_name'=>'AOS_Product_Categories',
'vname' => 'LBL_AOS_PRODUCT_CATEGORIES_AOS_PRODUCTS_FROM_AOS_PRODUCT_CATEGORIES_TITLE',
),
"aos_product_category_name" => array (
'aos_product_category_name' => array (
'required' => false,
'source' => 'non-db',
'name' => 'aos_product_category_name',
'rname' => 'name',
'id_name' => 'aos_product_category_id',
'vname' => 'LBL_AOS_PRODUCT_CATEGORYS_NAME',
'type' => 'relate',
'table' => 'aos_product_categories',
'join_name'=>'aos_product_categories',
'massupdate' => 0,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => 1,
'reportable' => true,
'len' => '255',
'id_name' => 'aos_product_category_id',
'ext2' => 'AOS_Product_Categories',
'module' => 'AOS_Product_Categories',
'link' => 'product_categories',
'source' => 'non-db',
'quicksearch' => 'enabled',
'studio' => 'visible',
),
"aos_product_category_id" => array (
'name' => 'aos_product_category_id',
Expand Down
32 changes: 8 additions & 24 deletions modules/AOS_Quotes/metadata/listviewdefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
'module' => 'Contacts',
'id' => 'BILLING_CONTACT_ID',
'link' => true,
'related_fields' =>
array (
'billing_contact_id',
),
),
'BILLING_ACCOUNT' =>
array (
Expand All @@ -62,6 +66,10 @@
'module' => 'Accounts',
'id' => 'BILLING_ACCOUNT_ID',
'link' => true,
'related_fields' =>
array (
'billing_account_id',
),
),
'TOTAL_AMOUNT' =>
array (
Expand Down Expand Up @@ -91,30 +99,6 @@
'label' => 'LBL_TYPE',
'default' => false,
),
'INDUSTRY' =>
array (
'width' => '10%',
'label' => 'LBL_INDUSTRY',
'default' => false,
),
'ANNUAL_REVENUE' =>
array (
'width' => '10%',
'label' => 'LBL_ANNUAL_REVENUE',
'default' => false,
),
'PHONE_FAX' =>
array (
'width' => '10%',
'label' => 'LBL_PHONE_FAX',
'default' => false,
),
'PHONE_OFFICE' =>
array (
'width' => '10%',
'label' => 'LBL_PHONE',
'default' => false,
),
'BILLING_ADDRESS_STREET' =>
array (
'width' => '15%',
Expand Down
1 change: 0 additions & 1 deletion modules/Contacts/vardefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
'massupdate' => false,
'duplicate_merge'=> 'disabled',
'hideacl'=>true,

),
'opportunity_role_fields' =>
array (
Expand Down
Empty file modified themes/Suite7/tpls/Home.tpl
100644 → 100755
Empty file.
Empty file modified upload/index.html
100644 → 100755
Empty file.

0 comments on commit f797048

Please sign in to comment.