diff --git a/ChangeLog b/ChangeLog index f8193c0ce1dcd4a56a2b8145d65c6ff4fe0444b5..4871c8ce58b5c4bd53f40576a2884759486b6ac4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,14 +5,16 @@ English Dolibarr ChangeLog ***** ChangeLog for 3.6.1 compared to 3.6.* ***** For users: - Fix: Can upload files on services. -- Fix: sql errors on updat fichinter -- Fix: debian script syntax error +- Fix: sql errors on updat fichinter. +- Fix: debian script syntax error. - Fix: error "menu param is not inside list" into pos module. -- Fix: Salary payments are not reflected on the reporting sheets -- Fix: Unsubscribe emailing not working -- Fix: Trigger on create category call failed because user is not passed on card -- Fix: list event view lost type event filter -- Fix: Save also code event +- Fix: Salary payments are not reflected on the reporting sheets. +- Fix: Unsubscribe emailing not working. +- Fix: Trigger on create category call failed because user is not passed on card. +- Fix: list event view lost type event filter. +- Fix: Save also code event. +- Fix: VAT payment - Add control on field date value. +- Fix: Salaries payment - Field date value is now required and add control on it. - Fix: Iban was used instead of Bic into SEPA file. - Fix: Must unaccent strings into SEPA file. diff --git a/htdocs/compta/salaries/fiche.php b/htdocs/compta/salaries/fiche.php index ae74344ccf8289968059a8cb0a440775f1949ad4..c46f83dd6fbe5e2af45897ab2c66c2025fc3bec6 100644 --- a/htdocs/compta/salaries/fiche.php +++ b/htdocs/compta/salaries/fiche.php @@ -80,7 +80,7 @@ if ($action == 'add' && $_POST["cancel"] <> $langs->trans("Cancel")) $sal->num_payment=GETPOST("num_payment"); $sal->fk_user_creat=$user->id; - if (empty($datep) || empty($datesp) || empty($dateep)) + if (empty($datep) || empty($datev) || empty($datesp) || empty($dateep)) { setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Date")),'errors'); $error++; @@ -219,7 +219,7 @@ if ($action == 'create') print $form->select_date((empty($datep)?-1:$datep),"datep",'','','','add',1,1); print '</td></tr>'; - print '<tr><td>'.$langs->trans("DateValue").'</td><td>'; + print '<tr><td class="fieldrequired">'.$langs->trans("DateValue").'</td><td>'; print $form->select_date((empty($datev)?-1:$datev),"datev",'','','','add',1,1); print '</td></tr>'; diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php index 65c4285d7d1d3324f5c3053d05cf7b0f415c8b7d..a4a5a8831c47ffa40e035e9fc993407767580b9c 100644 --- a/htdocs/compta/tva/fiche.php +++ b/htdocs/compta/tva/fiche.php @@ -72,6 +72,16 @@ if ($action == 'add' && $_POST["cancel"] <> $langs->trans("Cancel")) $tva->label=GETPOST("label"); $tva->note=GETPOST("note"); + if (empty($tva->datev)) + { + setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("DateValue")),'errors'); + $error++; + } + if (empty($tva->datep)) + { + setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("DatePayment")),'errors'); + $error++; + } if (empty($tva->type_payment) || $tva->type_payment < 0) { setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("PaymentMode")),'errors');