|
iTx Technologies offre gratuitement
|
||
[Vue sommaire] [Imprimer] [Vue textuelle]
1 <?php 2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 3 /********************************************************************************* 4 * SugarCRM is a customer relationship management program developed by 5 * SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify it under 8 * the terms of the GNU General Public License version 3 as published by the 9 * Free Software Foundation with the addition of the following permission added 10 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK 11 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY 12 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. 13 * 14 * This program is distributed in the hope that it will be useful, but WITHOUT 15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 16 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 17 * details. 18 * 19 * You should have received a copy of the GNU General Public License along with 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 23 * 24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, 25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. 26 * 27 * The interactive user interfaces in modified source and object code versions 28 * of this program must display Appropriate Legal Notices, as required under 29 * Section 5 of the GNU General Public License version 3. 30 * 31 * In accordance with Section 7(b) of the GNU General Public License version 3, 32 * these Appropriate Legal Notices must retain the display of the "Powered by 33 * SugarCRM" logo. If the display of the logo is not reasonably feasible for 34 * technical reasons, the Appropriate Legal Notices must display the words 35 * "Powered by SugarCRM". 36 ********************************************************************************/ 37 38 39 40 //users demodata 41 //VP 42 global $sugar_demodata; 43 $sugar_demodata['users'][0] = array( 44 'id' => 'seed_jim_id', 45 'last_name' => '金', 46 'first_name' => '丽', 47 'user_name' => 'jim', 48 'title' => '销售副总', 49 'is_admin' => false, 50 'reports_to' => null, 51 'reports_to_name' => null, 52 'email' => 'jim@example.com' 53 ); 54 55 //west team 56 $sugar_demodata['users'][] = array( 57 'id' => 'seed_sarah_id', 58 'last_name' => '韩', 59 'first_name' => '云', 60 'user_name' => 'sarah', 61 'title' => '西区销售经理', 62 'is_admin' => false, 63 'reports_to' => 'seed_jim_id', 64 'reports_to_name' => '金, 丽', 65 'email' => 'sarah@example.com' 66 ); 67 68 $sugar_demodata['users'][] = array( 69 'id' => 'seed_sally_id', 70 'last_name' => '王', 71 'first_name' => '欣', 72 'user_name' => 'sally', 73 'title' => '资深销售代表', 74 'is_admin' => false, 75 'reports_to' => 'seed_sarah_id', 76 'reports_to_name' => '韩, 云', 77 'email' => 'sally@example.com' 78 ); 79 80 $sugar_demodata['users'][] = array( 81 'id' => 'seed_max_id', 82 'last_name' => '马', 83 'first_name' => '建军', 84 'user_name' => 'max', 85 'title' => '资深销售代表', 86 'is_admin' => false, 87 'reports_to' => 'seed_sarah_id', 88 'reports_to_name' => '韩, 云', 89 'email' => 'tom@example.com' 90 ); 91 92 //east team 93 $sugar_demodata['users'][] = array( 94 'id' => 'seed_will_id', 95 'last_name' => '王', 96 'first_name' => '伟', 97 'user_name' => 'will', 98 'title' => '东区销售经理', 99 'is_admin' => false, 100 'reports_to' => 'seed_jim_id', 101 'reports_to_name' => '金, 丽', 102 'email' => 'will@example.com' 103 ); 104 105 $sugar_demodata['users'][] = array( 106 'id' => 'seed_chris_id', 107 'last_name' => '徐', 108 'first_name' => '健', 109 'user_name' => 'chris', 110 'title' => '资深销售代表', 111 'is_admin' => false, 112 'reports_to' => 'seed_will_id', 113 'reports_to_name' => '王, 伟', 114 'email' => 'chris@example.com' 115 ); 116 117 118 //teams demodata 119 $sugar_demodata['teams'][] = array( 120 'name' => '东区', 121 'description' => '东区团队', 122 'team_id' => 'East', 123 ); 124 125 $sugar_demodata['teams'][] = array( 126 'name' => '西区', 127 'description' => '西区团队', 128 'team_id' => 'West', 129 ); 130 131 //contacts accounts 132 $sugar_demodata['first_name_array'] = array( 133 "伟", 134 "刚", 135 "勇", 136 "毅", 137 "俊", 138 "峰", 139 "强", 140 "军", 141 "平", 142 "保", 143 "东", 144 "文", 145 "辉", 146 "力", 147 "明", 148 "永", 149 "健", 150 "世", 151 "广", 152 "志", 153 "义", 154 "兴", 155 "良", 156 "海", 157 "山", 158 "仁", 159 "波", 160 "宁", 161 "贵", 162 "福", 163 "生", 164 "龙", 165 "元", 166 "全", 167 "国", 168 "胜", 169 "学", 170 "祥", 171 "才", 172 "发", 173 "武", 174 "新", 175 "利", 176 "清", 177 "飞", 178 "彬", 179 "富", 180 "顺", 181 "信", 182 "子", 183 "杰", 184 "涛", 185 "昌", 186 "成", 187 "康", 188 "星", 189 "光", 190 "天", 191 "达", 192 "安", 193 "岩", 194 "中", 195 "茂", 196 "进", 197 "林", 198 "有", 199 "坚", 200 "和", 201 "彪", 202 "博", 203 "诚", 204 "先", 205 "敬", 206 "震", 207 "振", 208 "壮", 209 "会", 210 "思", 211 "群", 212 "豪", 213 "心", 214 "邦", 215 "承", 216 "乐", 217 "绍", 218 "功", 219 "松", 220 "善", 221 "厚", 222 "庆", 223 "磊", 224 "民", 225 "友", 226 "裕", 227 "河", 228 "哲", 229 "江", 230 "超", 231 "浩", 232 "亮", 233 "政", 234 "谦", 235 "亨", 236 "奇", 237 "固", 238 "之", 239 "轮", 240 "翰", 241 "朗", 242 "伯", 243 "宏", 244 "言", 245 "若", 246 "鸣", 247 "朋", 248 "斌", 249 "梁", 250 "栋", 251 "维", 252 "启", 253 "克", 254 "伦", 255 "翔", 256 "旭", 257 "鹏", 258 "泽", 259 "晨", 260 "辰", 261 "士", 262 "以", 263 "建", 264 "家", 265 "致", 266 "树", 267 "炎", 268 "德", 269 "行", 270 "时", 271 "泰", 272 "盛", 273 "雄", 274 "琛", 275 "钧", 276 "冠", 277 "策", 278 "腾", 279 "楠", 280 "榕", 281 "风", 282 "航", 283 "弘", 284 "秀", 285 "娟", 286 "英", 287 "华", 288 "慧", 289 "巧", 290 "美", 291 "娜", 292 "静", 293 "淑", 294 "惠", 295 "珠", 296 "翠", 297 "雅", 298 "芝", 299 "玉", 300 "萍", 301 "红", 302 "娥", 303 "玲", 304 "芬", 305 "芳", 306 "燕", 307 "彩", 308 "春", 309 "菊", 310 "兰", 311 "凤", 312 "洁", 313 "梅", 314 "琳", 315 "素", 316 "云", 317 "莲", 318 "真", 319 "环", 320 "雪", 321 "荣", 322 "爱", 323 "妹", 324 "霞", 325 "香", 326 "月", 327 "莺", 328 "媛", 329 "艳", 330 "瑞", 331 "凡", 332 "佳", 333 "嘉", 334 "琼", 335 "勤", 336 "珍", 337 "贞", 338 "莉", 339 "桂", 340 "娣", 341 "叶", 342 "璧", 343 "璐", 344 "娅", 345 "琦", 346 "晶", 347 "妍", 348 "茜", 349 "秋", 350 "珊", 351 "莎", 352 "锦", 353 "黛", 354 "青", 355 "倩", 356 "婷", 357 "姣", 358 "婉", 359 "娴", 360 "瑾", 361 "颖", 362 "露", 363 "瑶", 364 "怡", 365 "婵", 366 "雁", 367 "蓓", 368 "纨", 369 "仪", 370 "荷", 371 "丹", 372 "蓉", 373 "眉", 374 "君", 375 "琴", 376 "蕊", 377 "薇", 378 "菁", 379 "梦", 380 "岚", 381 "苑", 382 "婕", 383 "馨", 384 "瑗", 385 "琰", 386 "韵", 387 "融", 388 "园", 389 "艺", 390 "咏", 391 "卿", 392 "聪", 393 "澜", 394 "纯", 395 "毓", 396 "悦", 397 "昭", 398 "冰", 399 "爽", 400 "琬", 401 "茗", 402 "羽", 403 "希", 404 "宁", 405 "欣", 406 "飘", 407 "育", 408 "滢", 409 "馥", 410 "筠", 411 "柔", 412 "竹", 413 "霭", 414 "凝", 415 "晓", 416 "欢", 417 "霄", 418 "枫", 419 "芸", 420 "菲", 421 "寒", 422 "伊", 423 "亚", 424 "宜", 425 "可", 426 "姬", 427 "舒", 428 "影", 429 "荔", 430 "枝", 431 "思", 432 "丽 ", 433 ); 434 435 $sugar_demodata['last_name_array'] = array( 436 "李", 437 "王", 438 "张", 439 "刘", 440 "陈", 441 "杨", 442 "赵", 443 "黄", 444 "周", 445 "吴", 446 "徐", 447 "孙", 448 "胡", 449 "朱", 450 "高", 451 "林", 452 "何", 453 "郭", 454 "马", 455 "罗", 456 "梁", 457 "宋", 458 "郑", 459 "谢", 460 "韩", 461 "唐", 462 "冯", 463 "于", 464 "董", 465 "肖", 466 "程", 467 "曹", 468 "袁", 469 "邓", 470 "许", 471 "傅", 472 "沈", 473 "曾", 474 "彭", 475 "吕", 476 "苏", 477 "卢", 478 "蒋", 479 "蔡", 480 "贾", 481 "丁", 482 "魏", 483 "薛", 484 "叶", 485 "阎", 486 "余", 487 "潘", 488 "杜", 489 "戴", 490 "夏", 491 "钟", 492 "田", 493 "任", 494 "姜", 495 "范", 496 "方", 497 "石", 498 "姚", 499 "谭", 500 "廖", 501 "邹", 502 "熊", 503 "金", 504 "陆", 505 "郝", 506 "孔", 507 "白", 508 "崔", 509 "康", 510 "毛", 511 "邱", 512 "秦", 513 "江", 514 "史", 515 "顾", 516 "邵", 517 "候", 518 "孟", 519 "龙", 520 "万", 521 "段", 522 "雷", 523 "钱", 524 "汤", 525 "尹", 526 "黎", 527 "易", 528 "武", 529 "乔", 530 "贺", 531 "赖", 532 "龚", 533 "文", 534 ); 535 536 537 $sugar_demodata['company_name_array'] = array( 538 "华新书局", 539 "北京阳光友谊商城", 540 "国际华侨大厦", 541 "上海联合汽车", 542 "出口信贷保险公司", 543 "中青宾馆", 544 "中国联合影业公司", 545 "中国糖果银行", 546 "世格软件", 547 "山东通用机械厂", 548 "青岛造船厂", 549 "东方科学仪器公司", 550 "海青航运公司", 551 "联合石油公司", 552 "长江集装箱海运公司", 553 ); 554 555 556 $sugar_demodata['street_address_array'] = array( 557 "中山路75号", 558 "中山环路345号", 559 "湖南路99号", 560 "南京东路234号", 561 "淮海西路22号", 562 "居里路865号", 563 "北京东路789号", 564 "太平路827号", 565 "五棵松路324号", 566 "长寿路545", 567 "和平路659", 568 "永福路975", 569 "一德路3号2-5", 570 "珠江路54号6楼F", 571 "上海路46号7楼", 572 "中山二路1454号", 573 "连胜路47号8楼", 574 "文园路647号", 575 ); 576 577 578 $sugar_demodata['city_array'] = array ( 579 "上海", 580 "北京", 581 "西安", 582 "南昌", 583 "苏州", 584 "杭州", 585 "南京", 586 "天津", 587 "海口", 588 "青岛", 589 "大连", 590 "广州", 591 "济南", 592 "太原", 593 "长沙", 594 "武汉", 595 "厦门", 596 ); 597 598 599 //cases demo data 600 $sugar_demodata['case_seed_names'] = array( 601 '集成的问题', 602 '系统太快了', 603 '很多地方需要定制', 604 '我要购买序列号', 605 '用Firefox时错误的消息提示' 606 ); 607 $sugar_demodata['note_seed_names_and_Descriptions'] = array( 608 array('更多客户信息','300多个潜在客户'), 609 array('电话信息','我们有个电话,看上去不错'), 610 array('生日信息','出生于10月'), 611 array('节日礼物','节日礼物非常棒,放在列表中以备以后选择') 612 ); 613 $sugar_demodata['call_seed_data_names'] = array( 614 '获得更多的信息', 615 '留个口信', 616 '感觉不好,继续联系', 617 '讨论工作流程' 618 ); 619 620 //titles 621 $sugar_demodata['titles'] = array( 622 "董事长", 623 "业务副总裁", 624 "销售副总裁", 625 "业务总监", 626 "销售总监", 627 "业务经理", 628 "软件开发工程师", 629 ""); 630 631 //tasks 632 $sugar_demodata['task_seed_data_names'] = array( 633 '整理产品目录', 634 '安排行程', 635 '发送邮件', 636 '发送合同', 637 '传真', 638 '发送跟踪邮件', 639 '发送资料', 640 '投标', 641 '发送报价', 642 '安排会议', 643 '评估', 644 '获得样品反馈', 645 '安排介绍', 646 '提供技术支持', 647 '结束技术支持', 648 '海运产品', 649 '安排培训', 650 '发送本地用户组信息', 651 '添加至邮件列表', 652 ); 653 654 //meetings 655 $sugar_demodata['meeting_seed_data_names'] = array( 656 '报价的后续行动', 657 '初次讨论', 658 '审查需求', 659 '讨论报价', 660 '演示', 661 '介绍成员', 662 ); 663 $sugar_demodata['meeting_seed_data_descriptions'] = '讨论项目的计划以及罗列实施的细节'; 664 665 666 //emails 667 $sugar_demodata['email_seed_data_subjects'] = array( 668 '报价的后续行动', 669 '初次讨论', 670 '审查需求', 671 '讨论报价', 672 '演示', 673 '介绍成员', 674 ); 675 $sugar_demodata['email_seed_data_descriptions'] = '讨论项目的计划以及罗列实施的细节'; 676 677 //leads 678 $sugar_demodata['primary_address_state'] = '上海'; 679 $sugar_demodata['billing_address_state']['east'] = '上海'; 680 $sugar_demodata['billing_address_state']['west'] = '昆明'; 681 $sugar_demodata['primary_address_country'] = '中国'; 682 683 //manufacturers 684 $sugar_demodata['manufacturer_seed_data_names'] = array( 685 '塔奇克玩具有限公司', 686 '华仪配件制造有限公司', 687 ); 688 689 //Shippers 690 $sugar_demodata['shipper_seed_data_names'] = array( 691 'FedEx', 692 'USPS Ground' 693 ); 694 695 //productcategories 696 $sugar_demodata['category_ext_name'] = '氏系列产品'; 697 $sugar_demodata['product_ext_name'] = '氏小配件'; 698 699 $sugar_demodata['productcategory_seed_data_names'] = array( 700 '台式机', 701 '笔记本', 702 '紧固件', 703 '其他配件' 704 ); 705 706 //producttype 707 $sugar_demodata['producttype_seed_data_names']= array( 708 '其他配件', 709 '硬件', 710 '技术支持合同' 711 ); 712 713 //taxrate 714 $sugar_demodata['taxrate_seed_data'][] = array( 715 'name' => '增值税', 716 'value' => '17', 717 ); 718 719 $sugar_demodata['currency_seed_data'][] = array( 720 'name' => 'USD', 721 'conversion_rate' => 0.146, 722 'iso4217' => 'USD', 723 'symbol' => '$', 724 ); 725 726 //producttemplate 727 $sugar_demodata['producttemplate_seed_data'][] = array( 728 'name' => 'TK 1000 台式机', 729 'tax_class' => 'Taxable', 730 'cost_price' => 500.00, 731 'cost_usdollar' => 500.00, 732 'list_price' => 800.00, 733 'list_usdollar' => 800.00, 734 'discount_price' => 800.00, 735 'discount_usdollar' => 800.00, 736 'pricing_formula' => 'IsList', 737 'mft_part_num' => 'XYZ7890122222', 738 'pricing_factor' => '1', 739 'status' => 'Available', 740 'weight' => 20.0, 741 'date_available' => '2004-10-15', 742 'qty_in_stock' => '72', 743 ); 744 745 $sugar_demodata['producttemplate_seed_data'][] = array( 746 'name' => 'TK 1000 台式机', 747 'tax_class' => 'Taxable', 748 'cost_price' => 600.00, 749 'cost_usdollar' => 600.00, 750 'list_price' => 900.00, 751 'list_usdollar' => 900.00, 752 'discount_price' => 900.00, 753 'discount_usdollar' => 900.00, 754 'pricing_formula' => 'IsList', 755 'mft_part_num' => 'XYZ7890123456', 756 'pricing_factor' => '1', 757 'status' => 'Available', 758 'weight' => 20.0, 759 'date_available' => '2004-10-15', 760 'qty_in_stock' => '65', 761 ); 762 763 $sugar_demodata['producttemplate_seed_data'][] = array( 764 'name' => 'TK m30 台式机', 765 'tax_class' => 'Taxable', 766 'cost_price' => 1300.00, 767 'cost_usdollar' => 1300.00, 768 'list_price' => 1700.00, 769 'list_usdollar' => 1700.00, 770 'discount_price' => 1625.00, 771 'discount_usdollar' => 1625.00, 772 'pricing_formula' => 'ProfitMargin', 773 'mft_part_num' => 'ABCD123456890', 774 'pricing_factor' => '20', 775 'status' => 'Available', 776 'weight' => 5.0, 777 'date_available' => '2004-10-15', 778 'qty_in_stock' => '12', 779 ); 780 781 $sugar_demodata['producttemplate_seed_data'][] = array( 782 'name' => '反射镜组件', 783 'tax_class' => 'Taxable', 784 'cost_price' => 200.00, 785 'cost_usdollar' => 200.00, 786 'list_price' => 325.00, 787 'list_usdollar' => 325.00, 788 'discount_price' => 266.50, 789 'discount_usdollar' => 266.50, 790 'pricing_formula' => 'PercentageDiscount', 791 'mft_part_num' => '2.0', 792 'pricing_factor' => '20', 793 'status' => 'Available', 794 'weight' => 20.0, 795 'date_available' => '2004-10-15', 796 'qty_in_stock' => '65', 797 ); 798 799 $sugar_demodata['contract_seed_data'][] = array( 800 'name' => '给月球基地的IT技术支持', 801 'reference_code' => 'EMP-9802', 802 'total_contract_value' => '500600.01', 803 'start_date' => '2010-05-15', 804 'end_date' => '2020-05-15', 805 'company_signed_date' => '2010-03-15', 806 'customer_signed_date' => '2010-03-16', 807 'description' => '在月球基地上进行的秘密项目', 808 ); 809 810 $sugar_demodata['contract_seed_data'][] = array( 811 'name' => '离子发动机', 812 'reference_code' => 'EMP-7277', 813 'total_contract_value' => '333444.34', 814 'start_date' => '2010-05-15', 815 'end_date' => '2020-05-15', 816 'company_signed_date' => '2010-03-15', 817 'customer_signed_date' => '2010-03-16', 818 'description' => '应用于深空973号探测器', 819 ); 820 821 $sugar_demodata['project_seed_data']['audit'] = array( 822 'name' => '为审计所创建的项目', 823 'description' => '六月份的年审', 824 'estimated_start_date' => '2007-11-01', 825 'estimated_end_date' => '2007-12-31', 826 'status' => 'Draft', 827 'priority' => 'medium', 828 ); 829 830 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array( 831 'name' => '和股东进行沟通', 832 'date_start' => '2007/11/1', 833 'date_finish' => '2007/11/8', 834 'description' => '与马东和刘伟单独会面', 835 'duration' => '6', 836 'duration_unit' => 'Days', 837 'percent_complete' => 100, 838 ); 839 840 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array( 841 'name' => '创建计划草案', 842 'date_start' => '2007/11/5', 843 'date_finish' => '2007/11/20', 844 'description' => '与马东和刘伟单独会面', 845 'duration' => '12', 846 'duration_unit' => 'Days', 847 'percent_complete' => 38, 848 ); 849 850 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array( 851 'name' => '外勤工作收集数据', 852 'date_start' => '2007/11/5', 853 'date_finish' => '2007/11/13', 854 'description' => '我们需要获得股东的支持', 855 'duration' => '17', 856 'duration_unit' => 'Days', 857 'percent_complete' => 75, 858 ); 859 860 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array( 861 'name' => '创建计划草案', 862 'date_start' => '2007/11/12', 863 'date_finish' => '2007/11/19', 864 'description' => 'Schedule the meeting with the head of business units to solicit help.', 865 'duration' => '6', 866 'duration_unit' => 'Days', 867 'percent_complete' => 0, 868 ); 869 870 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array( 871 'name' => '收集会议资料', 872 'date_start' => '2007/11/20', 873 'date_finish' => '2007/11/20', 874 'description' => '收集组织会议资料并归档', 875 'duration' => '1', 876 'duration_unit' => 'Days', 877 'percent_complete' => 0, 878 ); 879 880 881 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
|
|
|
|