Add php files
This commit is contained in:
6
custom/Extension/modules/relationships/language/Accounts.php
Executable file
6
custom/Extension/modules/relationships/language/Accounts.php
Executable file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE'] = 'Zadania';
|
||||
3
custom/Extension/modules/relationships/language/Documents.php
Executable file
3
custom/Extension/modules/relationships/language/Documents.php
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
4
custom/Extension/modules/relationships/language/EcmQuotes.php
Executable file
4
custom/Extension/modules/relationships/language/EcmQuotes.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
3
custom/Extension/modules/relationships/language/Tasks.php
Executable file
3
custom/Extension/modules/relationships/language/Tasks.php
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_documents"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
'get_subpanel_data' => 'accounts_documents',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_ecmquotes_1"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
'get_subpanel_data' => 'accounts_ecmquotes_1',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_ecmquotes"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
'get_subpanel_data' => 'accounts_ecmquotes',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_tasks"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
'get_subpanel_data' => 'accounts_tasks',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["accounts_documents"] = array (
|
||||
'true_relationship_type' => 'one-to-many',
|
||||
'from_studio' => true,
|
||||
'relationships' =>
|
||||
array (
|
||||
'accounts_documents' =>
|
||||
array (
|
||||
'lhs_module' => 'Accounts',
|
||||
'lhs_table' => 'accounts',
|
||||
'lhs_key' => 'id',
|
||||
'rhs_module' => 'Documents',
|
||||
'rhs_table' => 'documents',
|
||||
'rhs_key' => 'id',
|
||||
'relationship_type' => 'many-to-many',
|
||||
'join_table' => 'accounts_documents_c',
|
||||
'join_key_lhs' => 'accounts_d13e2ccounts_ida',
|
||||
'join_key_rhs' => 'accounts_d009acuments_idb',
|
||||
),
|
||||
),
|
||||
'table' => 'accounts_documents_c',
|
||||
'fields' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'id',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'type' => 'datetime',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'deleted',
|
||||
'type' => 'bool',
|
||||
'len' => '1',
|
||||
'default' => '0',
|
||||
'required' => true,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'name' => 'accounts_d13e2ccounts_ida',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'name' => 'accounts_d009acuments_idb',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'name' => 'document_revision_id',
|
||||
'type' => 'varchar',
|
||||
'len' => '36',
|
||||
),
|
||||
),
|
||||
'indices' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'accounts_documentsspk',
|
||||
'type' => 'primary',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'id',
|
||||
),
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'accounts_documents_ida1',
|
||||
'type' => 'index',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_d13e2ccounts_ida',
|
||||
),
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'accounts_documents_alt',
|
||||
'type' => 'alternate_key',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_d009acuments_idb',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["accounts_tasks"] = array (
|
||||
'true_relationship_type' => 'one-to-many',
|
||||
'from_studio' => true,
|
||||
'relationships' =>
|
||||
array (
|
||||
'accounts_tasks' =>
|
||||
array (
|
||||
'lhs_module' => 'Accounts',
|
||||
'lhs_table' => 'accounts',
|
||||
'lhs_key' => 'id',
|
||||
'rhs_module' => 'Tasks',
|
||||
'rhs_table' => 'tasks',
|
||||
'rhs_key' => 'id',
|
||||
'relationship_type' => 'many-to-many',
|
||||
'join_table' => 'accounts_tasks_c',
|
||||
'join_key_lhs' => 'accounts_t0769ccounts_ida',
|
||||
'join_key_rhs' => 'accounts_tabdckstasks_idb',
|
||||
),
|
||||
),
|
||||
'table' => 'accounts_tasks_c',
|
||||
'fields' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'id',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'type' => 'datetime',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'deleted',
|
||||
'type' => 'bool',
|
||||
'len' => '1',
|
||||
'default' => '0',
|
||||
'required' => true,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'name' => 'accounts_t0769ccounts_ida',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'name' => 'accounts_tabdckstasks_idb',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
),
|
||||
'indices' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'accounts_tasksspk',
|
||||
'type' => 'primary',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'id',
|
||||
),
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'accounts_tasks_ida1',
|
||||
'type' => 'index',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_t0769ccounts_ida',
|
||||
),
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'accounts_tasks_alt',
|
||||
'type' => 'alternate_key',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_tabdckstasks_idb',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["Account"]["fields"]["accounts_documents"] = array (
|
||||
'name' => 'accounts_documents',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["Document"]["fields"]["accounts_documents"] = array (
|
||||
'name' => 'accounts_documents',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_documents_name"] = array (
|
||||
'name' => 'accounts_documents_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_d13e2ccounts_ida',
|
||||
'link' => 'accounts_documents',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_d13e2ccounts_ida"] = array (
|
||||
'name' => 'accounts_d13e2ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$dictionary["Account"]["fields"]["accounts_ecmquotes_1"] = array (
|
||||
'name' => 'accounts_ecmquotes_1',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_1"] = array (
|
||||
'name' => 'accounts_ecmquotes_1',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_1_name"] = array (
|
||||
'name' => 'accounts_ecmquotes_1_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_eef45ccounts_ida',
|
||||
'link' => 'accounts_ecmquotes_1',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_eef45ccounts_ida"] = array (
|
||||
'name' => 'accounts_eef45ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$dictionary["Account"]["fields"]["accounts_ecmquotes"] = array (
|
||||
'name' => 'accounts_ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes"] = array (
|
||||
'name' => 'accounts_ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_name"] = array (
|
||||
'name' => 'accounts_ecmquotes_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_e8f57ccounts_ida',
|
||||
'link' => 'accounts_ecmquotes',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_e8f57ccounts_ida"] = array (
|
||||
'name' => 'accounts_e8f57ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
10
custom/Extension/modules/relationships/vardefs/accounts_tasks_Accounts.php
Executable file
10
custom/Extension/modules/relationships/vardefs/accounts_tasks_Accounts.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["Account"]["fields"]["accounts_tasks"] = array (
|
||||
'name' => 'accounts_tasks',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
);
|
||||
30
custom/Extension/modules/relationships/vardefs/accounts_tasks_Tasks.php
Executable file
30
custom/Extension/modules/relationships/vardefs/accounts_tasks_Tasks.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["Task"]["fields"]["accounts_tasks"] = array (
|
||||
'name' => 'accounts_tasks',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_tasks_name"] = array (
|
||||
'name' => 'accounts_tasks_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_t0769ccounts_ida',
|
||||
'link' => 'accounts_tasks',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_t0769ccounts_ida"] = array (
|
||||
'name' => 'accounts_t0769ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
);
|
||||
Reference in New Issue
Block a user