diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php index da07472719b..91cf572b9c6 100755 --- a/htdocs/compta/tva/card.php +++ b/htdocs/compta/tva/card.php @@ -415,11 +415,6 @@ if ($action == 'create') { print '
| '.$langs->trans("DatePayment").' | '; - print $form->selectDate($datep, "datep", '', '', '', 'add', 1, 1); - print ' | ||||||||
| '.$form->textwithpicto($langs->trans("PeriodEndDate"), $langs->trans("LastDayTaxIsRelatedTo")).' | '; print $form->selectDate((GETPOST("datevmonth", 'int') ? $datev : -1), "datev", '', '', '', 'add', 1, 1); print ' | ||||||||
| '.$langs->trans("Amount").' | |||||||||
| '.$langs->trans('AutomaticCreationPayment').' | '; + print '|||||||||
| '.$langs->trans("DatePayment").' | '; + print $form->selectDate($datep, "datep", '', '', '', 'add', 1, 1); + print ' | ||||||||
| '.$langs->trans("PaymentMode").' | '; $form->select_types_paiements(GETPOST("type_payment"), "type_payment"); @@ -448,10 +454,6 @@ if ($action == 'create') { print ' | ||||||||
| '.$langs->trans('AutomaticCreationPayment').' | '; - print '|||||||||
| '.$langs->trans('Numero');
print ' ('.$langs->trans("ChequeOrTransferNumber").')';
@@ -473,9 +475,11 @@ if ($action == 'create') {
print dol_get_fiche_end();
print ' ';
- print '';
+ print ' ';
print ' '.$langs->trans("ClosePaidVATAutomatically").'';
- print ' ';
+
print '';
print ' ';
print '';
diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php
index b9042ca6c21..ad28bcca999 100755
--- a/htdocs/salaries/card.php
+++ b/htdocs/salaries/card.php
@@ -492,7 +492,7 @@ if ($action == 'create') {
// Bank
if (!empty($conf->banque->enabled)) {
print ''; + print ' '; + print ' ';
- print $form->editfieldkey('DefaultBankAccount', 'selectaccountid', '', $object, 0, 'string', '', 1).' | ';
+ print $form->editfieldkey('BankAccount', 'selectaccountid', '', $object, 0, 'string', '', 1).' | ';
print img_picto('', 'bank_account', 'class="paddingrighonly"');
$form->select_comptes($accountid, "accountid", 0, '', 1); // Affiche liste des comptes courant
print ' | ';
- print $form->editfieldkey('DefaultPaymentMode', 'selectpaymenttype', '', $object, 0, 'string', '', 1).' | ';
+ print $form->editfieldkey('PaymentMode', 'selectpaymenttype', '', $object, 0, 'string', '', 1).' | ';
$form->select_types_paiements(GETPOST("paymenttype", 'aZ09'), "paymenttype", '');
print ' | ';
+/* print ' | ';
print $langs->trans("ClosePaidSalaryAutomatically");
print ' | ';
+
+ print ' ';
+ print ''.$langs->trans("ClosePaidSalaryAutomatically");
+ print ' ';
+
print '';
print ' ';
print '';
'; + print ' | |