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


PHP FormCompany::select_forme_juridique方法代码示例

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


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

示例1:

        // 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
        {
            print $countrynotdefined;
        }
        print '</td></tr>';

        // Capital
        print '<tr><td>'.$langs->trans('Capital').'</td><td colspan="3"><input type="text" name="capital" size="10" value="'.$object->capital.'"> '.$langs->trans("Currency".$conf->currency).'</td></tr>';

        // Local Taxes
        // TODO add specific function by country
        if($mysoc->country_code=='ES')
        {
            if($mysoc->localtax1_assuj=="1" && $mysoc->localtax2_assuj=="1")
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:soc.php

示例2:

 print '</table>';
 print '<br>';
 // Identifiants de la societe (propre au pays)
 print '<table class="noborder" width="100%">';
 print '<tr class="liste_titre"><td>' . $langs->trans("CompanyIds") . '</td><td>' . $langs->trans("Value") . '</td></tr>';
 $var = true;
 $langs->load("companies");
 // Capital
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Capital") . '</td><td>';
 print '<input name="capital" size="20" value="' . $conf->global->MAIN_INFO_CAPITAL . '"></td></tr>';
 // Forme juridique
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td>' . $langs->trans("JuridicalStatus") . '</td><td>';
 if ($mysoc->country_code) {
     $formcompany->select_forme_juridique($conf->global->MAIN_INFO_SOCIETE_FORME_JURIDIQUE, $mysoc->country_code);
 } else {
     print $countrynotdefined;
 }
 print '</td></tr>';
 // ProfID1
 if ($langs->transcountry("ProfId1", $mysoc->country_code) != '-') {
     $var = !$var;
     print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->transcountry("ProfId1", $mysoc->country_code) . '</td><td>';
     if (!empty($mysoc->country_code)) {
         print '<input name="siren" size="20" value="' . (!empty($conf->global->MAIN_INFO_SIREN) ? $conf->global->MAIN_INFO_SIREN : '') . '">';
     } else {
         print $countrynotdefined;
     }
     print '</td></tr>';
 }
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:company.php

示例3:

		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_id);
		} else {
			print $countrynotdefined;
		}
		print '</td></tr>';

		// Capital
		print '<tr><td>' . $langs->trans('Capital') . '</td><td colspan="3"><input type="text" name="capital" size="10" value="' . $object->capital . '"> ' . $langs->trans("Currency" . $conf->currency) . '</td></tr>';

		// Local Taxes
		// TODO add specific function by country
		if ($mysoc->country_id == 'ES') {
			if ($mysoc->localtax1_assuj == "1" && $mysoc->localtax2_assuj == "1") {
				print '<tr><td>' . $langs->trans("LocalTax1IsUsedES") . '</td><td>';
				print $form->selectyesno('localtax1assuj_value', 0, 1);
				print '</td><td>' . $langs->trans("LocalTax2IsUsedES") . '</td><td>';
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:fiche.php

示例4:

        // 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->pays_id)
        {
            $formcompany->select_forme_juridique($object->forme_juridique_code,$object->pays_code);
        }
        else
        {
            print $countrynotdefined;
        }
        print '</td></tr>';

        // Capital
        print '<tr><td>'.$langs->trans('Capital').'</td><td colspan="3"><input type="text" name="capital" size="10" value="'.$object->capital.'"> '.$langs->trans("Currency".$conf->monnaie).'</td></tr>';

        // Local Taxes
        // TODO add specific function by country
        if($mysoc->pays_code=='ES')
        {
            if($mysoc->localtax1_assuj=="1" && $mysoc->localtax2_assuj=="1")
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:soc.php


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