";
- print '| '.$langs->trans("DatePayment").' | ';
+ print ' | '.$langs->trans("DatePayment").' | ';
print $form->select_date($datep,"datep",'','','','add',1,1);
print ' |
';
@@ -263,7 +263,7 @@ if ($action == 'create')
if (! empty($conf->banque->enabled))
{
- print '';
print "";
- print '| '.$langs->trans("Ref").' | ';
+ print ' | '.$langs->trans("Ref").' | ';
print $object->ref;
print ' |
';
@@ -325,19 +319,19 @@ if ($id)
print '| '.$langs->trans("Label").' | '.$object->label.' |
';
print "";
- print '| '.$langs->trans("DatePayment").' | ';
+ print ' | '.$langs->trans("DatePayment").' | ';
print dol_print_date($object->datep,'day');
print ' |
';
print '| ';
print $form->editfieldkey("DateValue", 'datev', $object->datev, $object, $user->rights->tax->charges->creer, 'day');
- print ' | ';
+ print ' | ';
print $form->editfieldval("DateValue", 'datev', $object->datev, $object, $user->rights->tax->charges->creer, 'day');
//print dol_print_date($object->datev,'day');
print ' |
';
- print '| '.$langs->trans("Amount").' | '.price($object->amount).' |
';
+ print '| '.$langs->trans("Amount").' | '.price($object->amount).' |
';
if (! empty($conf->banque->enabled))
{
@@ -348,7 +342,7 @@ if ($id)
print '';
print '| '.$langs->trans('BankTransactionLine').' | ';
- print '';
+ print ' | ';
print $bankline->getNomUrl(1,0,'showall');
print ' | ';
print '
';
@@ -356,14 +350,12 @@ if ($id)
}
// Other attributes
- $parameters=array('colspan' => ' colspan="3"');
- $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
+ $reshook=$hookmanager->executeHooks('formObjectOptions','',$object,$action); // Note that $action and $object may have been modified by hook
print '
';
dol_fiche_end();
-
/*
* Action buttons
*/
diff --git a/htdocs/core/lib/loan.lib.php b/htdocs/core/lib/loan.lib.php
index fa80fe31a2b..f1748a0dfb9 100644
--- a/htdocs/core/lib/loan.lib.php
+++ b/htdocs/core/lib/loan.lib.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2015 Frederic France