diff --git a/htdocs/compta/sociales/card.php b/htdocs/compta/sociales/card.php
index 2fba1288b75..e4ac225a624 100644
--- a/htdocs/compta/sociales/card.php
+++ b/htdocs/compta/sociales/card.php
@@ -366,13 +366,13 @@ if ($action == 'create') {
}
// Payment Mode
- print '
| '.$langs->trans('PaymentMode').' | ';
+ print ' |
| '.$langs->trans('DefaultPaymentMode').' | ';
$form->select_types_paiements(GETPOST('mode_reglement_id', 'int'), 'mode_reglement_id');
print ' |
';
// Bank Account
if (!empty($conf->banque->enabled)) {
- print '| '.$langs->trans('BankAccount').' | ';
+ print ' |
| '.$langs->trans('DefaultBankAccount').' | ';
print img_picto('', 'bank_account', 'class="pictofixedwidth"').$form->select_comptes(GETPOST('fk_account', 'int'), 'fk_account', 0, '', 2, '', 0, '', 1);
print ' |
';
}
@@ -557,7 +557,7 @@ if ($id > 0) {
// Mode of payment
print '';
print '| ';
- print $langs->trans('PaymentMode');
+ print $langs->trans('DefaultPaymentMode');
print ' | ';
if ($action != 'editmode') {
print 'id.'">'.img_edit($langs->trans('SetMode'), 1).' | ';
@@ -575,7 +575,7 @@ if ($id > 0) {
if (!empty($conf->banque->enabled)) {
print ' ';
print '| ';
- print $langs->trans('BankAccount');
+ print $langs->trans('DefaultBankAccount');
print ' | ';
if ($action != 'editbankaccount' && $user->rights->tax->charges->creer) {
print ' | id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
@@ -731,7 +731,7 @@ if ($id > 0) {
* Actions buttons
*/
if ($action != 'edit') {
- print "\n";
+ print ' '."\n";
// Reopen
if ($object->paye && $user->rights->tax->charges->creer) {
diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php
index d1ec270fd8b..0ecdaee87a5 100644
--- a/htdocs/compta/sociales/list.php
+++ b/htdocs/compta/sociales/list.php
@@ -110,13 +110,13 @@ $arrayfields = array(
'cs.periode' =>array('label'=>"PeriodEndDate", 'checked'=>1, 'position'=>50),
'p.ref' =>array('label'=>"ProjectRef", 'checked'=>1, 'position'=>60, 'enable'=>(!empty($conf->projet->enabled))),
'cs.fk_user' =>array('label'=>"Employee", 'checked'=>1, 'position'=>70),
- 'cs.fk_mode_reglement' =>array('checked'=>1, 'position'=>80, 'label'=>"DefaultPaymentMode"),
+ 'cs.fk_mode_reglement' =>array('checked'=>-1, 'position'=>80, 'label'=>"DefaultPaymentMode"),
'cs.amount' =>array('label'=>"Amount", 'checked'=>1, 'position'=>100),
'cs.paye' =>array('label'=>"Status", 'checked'=>1, 'position'=>110),
);
if (!empty($conf->banque->enabled)) {
- $arrayfields['cs.fk_account'] = array('checked'=>1, 'position'=>90, 'label'=>"DefaultBankAccount");
+ $arrayfields['cs.fk_account'] = array('checked'=>-1, 'position'=>90, 'label'=>"DefaultBankAccount");
}
$arrayfields = dol_sort_array($arrayfields, 'position');
@@ -419,7 +419,7 @@ if (!empty($arrayfields['cs.fk_account']['checked'])) {
// Filter: Amount
if (!empty($arrayfields['cs.amount']['checked'])) {
- print ' ';
+ print ' | ';
print '';
print ' | ';
}
|
|