';
// Ref
print ''.$langs->trans("Ref").' ';
- print ' ref).'"> ';
+ print ' ref).'"> ';
// Label
print ''.$langs->trans("Label").' ';
- print ' label).'"> ';
+ print ' label).'"> ';
// Type
print ''.$langs->trans("AccountType").' ';
- print '';
+ print ' ';
$formbank->selectTypeOfBankAccount((isset($_POST["type"])?$_POST["type"]:$object->type),"type");
print ' ';
@@ -854,7 +858,7 @@ else
print ''.$langs->trans("Currency");
print ' ';
print ' ';
- print '';
+ print ' ';
$selectedcode=$object->currency_code;
if (! $selectedcode) $selectedcode=$conf->currency;
print $form->selectCurrency((isset($_POST["account_currency_code"])?$_POST["account_currency_code"]:$selectedcode), 'account_currency_code');
@@ -864,7 +868,7 @@ else
// Status
print ' '.$langs->trans("Status").' ';
- print '';
+ print ' ';
print $form->selectarray("clos", $object->status,(isset($_POST["clos"])?$_POST["clos"]:$object->clos));
print ' ';
@@ -876,13 +880,13 @@ else
$object->country_code = getCountry($selectedcode, 2); // Force country code on account to have following field on bank fields matching country rules
print ''.$langs->trans("Country").' ';
- print '';
+ print ' ';
print $form->select_country($selectedcode,'account_country_id');
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
print ' ';
// State
- print ''.$langs->trans('State').' ';
+ print ' '.$langs->trans('State').' ';
if ($selectedcode)
{
print $formcompany->select_state(isset($_POST["account_state_id"])?$_POST["account_state_id"]:$object->state_id,$selectedcode,'account_state_id');
@@ -895,7 +899,7 @@ else
// Conciliable
print ' '.$langs->trans("Conciliable").' ';
- print '';
+ print ' ';
$conciliate=$object->canBeConciliated();
if ($conciliate == -2) print $langs->trans("No").' ('.$langs->trans("CashAccount").')';
else if ($conciliate == -3) print $langs->trans("No").' ('.$langs->trans("Closed").')';
@@ -904,20 +908,20 @@ else
// Balance
print ' '.$langs->trans("BalanceMinimalAllowed").' ';
- print ' min_allowed).'"> ';
+ print ' min_allowed).'"> ';
print ''.$langs->trans("BalanceMinimalDesired").' ';
- print ' min_desired).'"> ';
+ print ' min_desired).'"> ';
// Web
print ''.$langs->trans("Web").' ';
- print ' url).'">';
+ print ' url).'">';
print ' ';
// Tags-Categories
if ($conf->categorie->enabled)
{
- print ''.$langs->trans("Categories").' ';
+ print ' '.$langs->trans("Categories").' ';
$cate_arbo = $form->select_all_categories(Categorie::TYPE_ACCOUNT, '', 'parent', 64, 0, 1);
$c = new Categorie($db);
$cats = $c->containing($object->id,Categorie::TYPE_ACCOUNT);
@@ -930,7 +934,7 @@ else
// Comment
print ' '.$langs->trans("Comment").' ';
- print '';
+ print ' ';
// Editor wysiwyg
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
$doleditor=new DolEditor('account_comment',(GETPOST("account_comment")?GETPOST("account_comment"):$object->comment),'',90,'dolibarr_notes','',false,true,$conf->global->FCKEDITOR_ENABLE_SOCIETE,4,70);
@@ -947,13 +951,48 @@ else
print '
';
print '';
- print '