diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 97ed49f5f36..80b71d1d919 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -64,8 +64,8 @@ $page=GETPOST('page','int'); $negpage=GETPOST('negpage','int'); if ($negpage) { - $page=$_GET["nbpage"] - $negpage; - if ($page > $_GET["nbpage"]) $page = $_GET["nbpage"]; + $page=GETPOST("nbpage") - $negpage; + if ($page > GETPOST("nbpage")) $page = GETPOST("nbpage"); } $mesg=''; @@ -269,6 +269,7 @@ if ($id > 0 || ! empty($ref)) $head=bank_prepare_head($object); dol_fiche_head($head,'journal',$langs->trans("FinancialAccount"),0,'account'); + print '
| '.$langs->trans("AddBankRecordLong").' | '; print ''; print ' | '; print "\n"; - print " |
| trans("Source"); ?> | -trans("Company"); ?> | -trans("Contacts"); ?> | -trans("ContactType"); ?> | -- | ||||
| trans("Users"); ?> | -global->MAIN_INFO_SOCIETE_NOM; ?> | -select_users($user->id,'userid',0,(! empty($userAlreadySelected)?$userAlreadySelected:'')); ?> | -selectTypeContact($object, '', 'type','internal'); ?> | -"> | -||||
| trans("ThirdPartyContacts"); ?> | +
+
'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php',1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled'));
print $form->select_company($object->socid,'socid','',1,0,0,$events);
?>
- |
-
+
+
select_contacts($object->socid, '', 'contactid'); ?>
- |
+
-
+
socid; ?>
selectCompaniesForNewContact($object, 'id', $selectedCompany, 'newcompany'); ?>
- |
-
+
+
select_contacts($selectedCompany, '', 'contactid'); ?>
- |
+
-
+
selectTypeContact($object, '', 'type','external'); ?>
- |
-
+
+
">
- |
- ||
| trans("Source"); ?> | -trans("Company"); ?> | -trans("Contacts"); ?> | -trans("ContactType"); ?> | -trans("Status"); ?> | -- | |||
|
+
trans("User"); ?>
trans("ThirdPartyContact"); ?>
- |
-
+
+
0)
{
@@ -151,8 +149,8 @@ $userstatic=new User($db);
echo ' ';
}
?>
- |
-
+
+
getNomUrl(1);
}
?>
- |
- - |
+
+
+
statut >= 0) echo ''; ?>
LibStatut($tab[$i]['status'],3); ?>
statut >= 0) echo ''; ?>
- |
- + + | -|||