Merge pull request #8321 from atm-maxime/7.0

Fix required field + space in dispatch
This commit is contained in:
Maxime Kohlhaas 2018-03-09 23:50:51 +01:00 committed by GitHub
commit 7b0119aee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2453,7 +2453,7 @@ elseif (! empty($object->id))
print $form->select_date('','',1,1,'',"commande",1,1,1);
print "</td></tr>\n";
print "<tr><td>".$langs->trans("Delivery")."</td><td>\n";
print "<tr><td class=\"fieldrequired\">".$langs->trans("Delivery")."</td><td>\n";
$liv = array();
$liv[''] = '&nbsp;';
$liv['tot'] = $langs->trans("CompleteOrNoMoreReceptionExpected");

View File

@ -457,7 +457,7 @@ if ($id > 0 || ! empty($ref)) {
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<input type="hidden" name="action" value="dispatch">';
print '<div class="div-table-responsive">';
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder" width="100%">';
// Set $products_dispatched with qty dispatched for each product id