FIX #11466
This commit is contained in:
parent
ea349de081
commit
fb5af65f4d
@ -1711,20 +1711,18 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES))
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Update all child soc
|
|
||||||
print '<tr><td width="15%">';
|
|
||||||
print $langs->trans('ForceUpdateChildPriceSoc');
|
|
||||||
print '</td>';
|
|
||||||
print '<td>';
|
|
||||||
print '<input type="checkbox" name="updatechildprice" value="1">';
|
|
||||||
print '</td>';
|
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
print '<div class="center">';
|
print '<div class="center">';
|
||||||
|
|
||||||
|
// Update all child soc
|
||||||
|
print '<div class="marginbottomonly">';
|
||||||
|
print '<input type="checkbox" name="updatechildprice" value="1"> ';
|
||||||
|
print $langs->trans('ForceUpdateChildPriceSoc');
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
print '<input type="submit" class="button" value="' . $langs->trans("Save") . '">';
|
print '<input type="submit" class="button" value="' . $langs->trans("Save") . '">';
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<input type="submit" class="button" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
print '<input type="submit" class="button" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
||||||
@ -1804,10 +1802,8 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES))
|
|||||||
|
|
||||||
// Update all child soc
|
// Update all child soc
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print $langs->trans('ForceUpdateChildPriceSoc');
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input type="checkbox" name="updatechildprice" value="1">';
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
@ -1816,6 +1812,11 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES))
|
|||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
print '<div class="center">';
|
print '<div class="center">';
|
||||||
|
print '<div class="marginbottomonly">';
|
||||||
|
print '<input type="checkbox" name="updatechildprice" value="1"> ';
|
||||||
|
print $langs->trans('ForceUpdateChildPriceSoc');
|
||||||
|
print "</div>";
|
||||||
|
|
||||||
print '<input type="submit" class="button" value="' . $langs->trans("Save") . '">';
|
print '<input type="submit" class="button" value="' . $langs->trans("Save") . '">';
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<input type="submit" class="button" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
print '<input type="submit" class="button" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
||||||
@ -2162,7 +2163,7 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES))
|
|||||||
// Action
|
// Action
|
||||||
if ($user->rights->produit->supprimer || $user->rights->service->supprimer)
|
if ($user->rights->produit->supprimer || $user->rights->service->supprimer)
|
||||||
{
|
{
|
||||||
print '<td class="right">';
|
print '<td class="right nowraponall">';
|
||||||
print '<a href="' . $_SERVER["PHP_SELF"] . '?action=showlog_customer_price&id=' . $object->id . '&socid=' . $line->fk_soc . '">';
|
print '<a href="' . $_SERVER["PHP_SELF"] . '?action=showlog_customer_price&id=' . $object->id . '&socid=' . $line->fk_soc . '">';
|
||||||
print img_info($langs->trans('PriceByCustomerLog'));
|
print img_info($langs->trans('PriceByCustomerLog'));
|
||||||
print '</a>';
|
print '</a>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user