invoicelog-accounts_vardefs.php
来自「开源的CRM,功能全面,国内最优秀的源码」· PHP 代码 · 共 25 行
PHP
25 行
<?php //WARNING: The contents of this file are auto-generated
/*********************************************************************************
* New field for Module
* pointing to associated SimpleObj
********************************************************************************/
$dictionary['Account']['fields']['invoicelogs'] = array (
'name' => 'invoicelogs',
'type' => 'link',
'relationship' => 'account_invoicelogs',
'ignore_role' => true,
'source' => 'non-db',
'vname' => 'LBL_INVOICELOGS',
);
$dictionary['Account']['relationships']['account_invoicelogs'] = array (
'lhs_module'=> 'Accounts',
'lhs_table'=> 'accounts',
'lhs_key' => 'id',
'rhs_module'=> 'Invoicelogs',
'rhs_table'=> 'invoicelogs',
'rhs_key' => 'account_id',
'relationship_type'=>'one-to-many'
);
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?