Add restriction to combo box
This commit is contained in:
parent
5258c522ce
commit
0450498e2b
@ -1398,9 +1398,11 @@ if ($action == 'create') {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Shipping Method
|
// Shipping Method
|
||||||
|
if (! empty($conf->expedition->enabled)) {
|
||||||
print '<tr><td>' . $langs->trans('SendingMethod') . '</td><td colspan="2">';
|
print '<tr><td>' . $langs->trans('SendingMethod') . '</td><td colspan="2">';
|
||||||
print $form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1);
|
print $form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
}
|
||||||
|
|
||||||
// Delivery date (or manufacturing)
|
// Delivery date (or manufacturing)
|
||||||
print '<tr><td>' . $langs->trans("DeliveryDate") . '</td>';
|
print '<tr><td>' . $langs->trans("DeliveryDate") . '</td>';
|
||||||
@ -1865,6 +1867,7 @@ if ($action == 'create') {
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Shipping Method
|
// Shipping Method
|
||||||
|
if (! empty($conf->expedition->enabled)) {
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print '<table width="100%" class="nobordernopadding"><tr><td>';
|
print '<table width="100%" class="nobordernopadding"><tr><td>';
|
||||||
print $langs->trans('SendingMethod');
|
print $langs->trans('SendingMethod');
|
||||||
@ -1880,6 +1883,7 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
// Origin of demand
|
// Origin of demand
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
|
|||||||
@ -1530,9 +1530,11 @@ if ($action == 'create' && $user->rights->commande->creer) {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Shipping Method
|
// Shipping Method
|
||||||
|
if (! empty($conf->expedition->enabled)) {
|
||||||
print '<tr><td>' . $langs->trans('SendingMethod') . '</td><td colspan="2">';
|
print '<tr><td>' . $langs->trans('SendingMethod') . '</td><td colspan="2">';
|
||||||
print $form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1);
|
print $form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
}
|
||||||
|
|
||||||
// What trigger creation
|
// What trigger creation
|
||||||
print '<tr><td>' . $langs->trans('Source') . '</td><td colspan="2">';
|
print '<tr><td>' . $langs->trans('Source') . '</td><td colspan="2">';
|
||||||
@ -1990,6 +1992,7 @@ if ($action == 'create' && $user->rights->commande->creer) {
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Shipping Method
|
// Shipping Method
|
||||||
|
if (! empty($conf->expedition->enabled)) {
|
||||||
print '<tr><td height="10">';
|
print '<tr><td height="10">';
|
||||||
print '<table width="100%" class="nobordernopadding"><tr><td>';
|
print '<table width="100%" class="nobordernopadding"><tr><td>';
|
||||||
print $langs->trans('SendingMethod');
|
print $langs->trans('SendingMethod');
|
||||||
@ -2005,6 +2008,7 @@ if ($action == 'create' && $user->rights->commande->creer) {
|
|||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
// Terms of payment
|
// Terms of payment
|
||||||
print '<tr><td height="10">';
|
print '<tr><td height="10">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user