Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
$layout_defs['Contacts']['subpanel_setup']['ecmquotes'] = array(
'order' => 29,
'module' => 'EcmQuotes',
'subpanel_name' => 'default',
'get_subpanel_data' => 'ecmquotes',
'add_subpanel_data' => 'ecmquote_id',
'title_key' => 'LBL_ECMQUOTES_SUBPANEL_TITLE',
'top_buttons' => array(
array('widget_class' => 'SubPanelTopCreateButton'),
),
);
?>

View File

@@ -0,0 +1,13 @@
<?php
$dictionary['Contact']['fields']['ecmquotes'] = array (
'name' => 'ecmquotes',
'type' => 'link',
'relationship' => 'ecmquotes_contact',
'source' =>'non-db',
);
$dictionary['Contact']['relationships']['ecmquotes_contact'] = array (
'lhs_module' => 'Contacts', 'lhs_table' => 'contacts', 'lhs_key' => 'id',
'rhs_module' => 'EcmQuotes', 'rhs_table' => 'ecmquotes', 'rhs_key' => 'contact_id',
'relationship_type' => 'one-to-many'
);
?>