FIX #15849
This commit is contained in:
parent
e17d4b8220
commit
9e8c6eb0a1
@ -386,10 +386,10 @@ if ($nolinesbefore) {
|
|||||||
<td class="nobottom margininfos linecolmargin right">
|
<td class="nobottom margininfos linecolmargin right">
|
||||||
<!-- For predef product -->
|
<!-- For predef product -->
|
||||||
<?php if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) { ?>
|
<?php if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) { ?>
|
||||||
<select id="fournprice_predef" name="fournprice_predef" class="flat minwidth75imp" style="display: none;"></select>
|
<select id="fournprice_predef" name="fournprice_predef" class="flat minwidth75imp maxwidth150" style="display: none;"></select>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- For free product -->
|
<!-- For free product -->
|
||||||
<input type="text" id="buying_price" name="buying_price" class="flat maxwidth75 right" value="<?php echo (GETPOSTISSET("buying_price") ? GETPOST("buying_price", 'alpha', 2) : ''); ?>">
|
<input type="text" id="buying_price" name="buying_price" class="flat maxwidth75 maxwidth150 right" value="<?php echo (GETPOSTISSET("buying_price") ? GETPOST("buying_price", 'alpha', 2) : ''); ?>">
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
if (!empty($conf->global->DISPLAY_MARGIN_RATES))
|
if (!empty($conf->global->DISPLAY_MARGIN_RATES))
|
||||||
|
|||||||
@ -490,9 +490,9 @@ if ($id > 0 || $ref)
|
|||||||
if ($rowid)
|
if ($rowid)
|
||||||
{
|
{
|
||||||
print '<input type="hidden" name="ref_fourn_old" value="'.$object->ref_supplier.'">';
|
print '<input type="hidden" name="ref_fourn_old" value="'.$object->ref_supplier.'">';
|
||||||
print '<input class="flat" name="ref_fourn" size="12" value="'.$object->ref_supplier.'">';
|
print '<input class="flat width150" maxlength="30" name="ref_fourn" value="'.$object->ref_supplier.'">';
|
||||||
} else {
|
} else {
|
||||||
print '<input class="flat" name="ref_fourn" size="12" value="'.(GETPOST("ref_fourn") ?GETPOST("ref_fourn") : '').'">';
|
print '<input class="flat width150" maxlength="30" name="ref_fourn" value="'.(GETPOST("ref_fourn") ? GETPOST("ref_fourn") : '').'">';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user