当前位置: 首页>>代码示例>>PHP>>正文


PHP FormCompany::typent_array方法代码示例

本文整理汇总了PHP中FormCompany::typent_array方法的典型用法代码示例。如果您正苦于以下问题:PHP FormCompany::typent_array方法的具体用法?PHP FormCompany::typent_array怎么用?PHP FormCompany::typent_array使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FormCompany的用法示例。


在下文中一共展示了FormCompany::typent_array方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: empty

 // Zip
 if (!empty($arrayfields['s.zip']['checked'])) {
     print '<td class="liste_titre">';
     print '<input class="flat" size="4" type="text" name="search_zip" value="' . dol_escape_htmltag($search_zip) . '">';
     print '</td>';
 }
 // Country
 if (!empty($arrayfields['country.code_iso']['checked'])) {
     print '<td class="liste_titre" align="center">';
     print $form->select_country($search_country, 'search_country', '', 0, 'maxwidth100');
     print '</td>';
 }
 // Company type
 if (!empty($arrayfields['typent.code']['checked'])) {
     print '<td class="liste_titre maxwidthonsmartphone" align="center">';
     print $form->selectarray("search_type_thirdparty", $formcompany->typent_array(0), $search_type_thirdparty, 0, 0, 0, '', 0, 0, 0, empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT);
     print '</td>';
 }
 if (!empty($arrayfields['s.siren']['checked'])) {
     // IdProf1
     print '<td class="liste_titre">';
     print '<input class="flat" size="4" type="text" name="search_idprof1" value="' . dol_escape_htmltag($search_idprof1) . '">';
     print '</td>';
 }
 if (!empty($arrayfields['s.siret']['checked'])) {
     // IdProf2
     print '<td class="liste_titre">';
     print '<input class="flat" size="4" type="text" name="search_idprof2" value="' . dol_escape_htmltag($search_idprof2) . '">';
     print '</td>';
 }
 if (!empty($arrayfields['s.ape']['checked'])) {
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:list.php

示例2: CheckVAT

                print "\n";
                $s.='<a href="#" onclick="javascript: CheckVAT(document.formsoc.tva_intra.value);">'.$langs->trans("VATIntraCheck").'</a>';
                $s = $form->textwithpicto($s,$langs->trans("VATIntraCheckDesc",$langs->trans("VATIntraCheck")),1);
            }
            else
            {
                $s.='<a href="'.$langs->transcountry("VATIntraCheckURL",$object->id_pays).'" target="_blank">'.img_picto($langs->trans("VATIntraCheckableOnEUSite"),'help').'</a>';
            }
        }
        print $s;
        print '</td>';
        print '</tr>';

        // Type - Size
        print '<tr><td>'.$langs->trans("ThirdPartyType").'</td><td>'."\n";
        print $form->selectarray("typent_id",$formcompany->typent_array(0), $object->typent_id);
        if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
        print '</td>';
        print '<td>'.$langs->trans("Staff").'</td><td>';
        print $form->selectarray("effectif_id",$formcompany->effectif_array(0), $object->effectif_id);
        if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
        print '</td></tr>';

        // Legal Form
        print '<tr><td>'.$langs->trans('JuridicalStatus').'</td>';
        print '<td colspan="3">';
        if ($object->country_id)
        {
            $formcompany->select_forme_juridique($object->forme_juridique_code,$object->country_code);
        }
        else
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:soc.php

示例3: CheckVAT

         print "newpopup('" . DOL_URL_ROOT . "/societe/checkvat/checkVatPopup.php?vatNumber='+a,'" . dol_escape_js($langs->trans("VATIntraCheckableOnEUSite")) . "',500,300);\n";
         print "}\n";
         print '</script>';
         print "\n";
         $s .= '<a href="#" class="hideonsmartphone" onclick="javascript: CheckVAT(document.formsoc.tva_intra.value);">' . $langs->trans("VATIntraCheck") . '</a>';
         $s = $form->textwithpicto($s, $langs->trans("VATIntraCheckDesc", $langs->trans("VATIntraCheck")), 1);
     } else {
         $s .= '<a href="' . $langs->transcountry("VATIntraCheckURL", $object->country_id) . '" target="_blank">' . img_picto($langs->trans("VATIntraCheckableOnEUSite"), 'help') . '</a>';
     }
 }
 print $s;
 print '</td>';
 print '</tr>';
 // Type - Size
 print '<tr><td><label for="typent_id">' . $langs->trans("ThirdPartyType") . '</label></td><td>' . "\n";
 print $form->selectarray("typent_id", $formcompany->typent_array(0), $object->typent_id, 0, 0, 0, '', 0, 0, 0, empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT);
 if ($user->admin) {
     print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
 }
 print '</td>';
 print '<td><label for="effectif_id">' . $langs->trans("Staff") . '</label></td><td>';
 print $form->selectarray("effectif_id", $formcompany->effectif_array(0), $object->effectif_id);
 if ($user->admin) {
     print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
 }
 print '</td></tr>';
 // Legal Form
 print '<tr><td><label for="legal_form">' . $langs->trans('JuridicalStatus') . '</label></td>';
 print '<td colspan="3" class="maxwidthonsmartphone">';
 if ($object->country_id) {
     print $formcompany->select_juridicalstatus($object->forme_juridique_code, $object->country_code);
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:soc.php


注:本文中的FormCompany::typent_array方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。