Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
295f10e43b
@ -614,7 +614,7 @@ if (!empty($date_start) && !empty($date_stop)) {
|
|||||||
|
|
||||||
echo dol_print_date($date_start, 'day', 'tzuserrel')." - ".dol_print_date($date_stop, 'day', 'tzuserrel');
|
echo dol_print_date($date_start, 'day', 'tzuserrel')." - ".dol_print_date($date_stop, 'day', 'tzuserrel');
|
||||||
|
|
||||||
print '<a class="marginleftonly small'.(empty($TData) ? ' butActionRefused' : ' butAction').'" href="'.$_SERVER["PHP_SELF"].'?action=dl&token='.newToken().'&output=file&file='.urlencode($filename).$param.'"';
|
print '<a class="marginleftonly small'.(empty($TData) ? ' butActionRefused' : ' butAction').'" href="'.$_SERVER["PHP_SELF"].'?action=dl&token='.currentToken().'&output=file&file='.urlencode($filename).$param.'"';
|
||||||
if (empty($TData)) {
|
if (empty($TData)) {
|
||||||
print " disabled";
|
print " disabled";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1006,7 +1006,7 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
if (empty($conf->multicurrency->enabled) && empty($conf->dynamicprices->enabled)) {
|
if (empty($conf->multicurrency->enabled) && empty($conf->dynamicprices->enabled)) {
|
||||||
// Price
|
// Price
|
||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
print '<input id="pu'.$suffix.'" name="pu'.$suffix.'" type="text" size="8" value="'.price((GETPOST('pu'.$suffix) != '' ? GETPOST('pu'.$suffix) : $up_ht_disc)).'">';
|
print '<input id="pu'.$suffix.'" name="pu'.$suffix.'" type="text" size="8" value="'.price((GETPOST('pu'.$suffix) != '' ? price2num(GETPOST('pu'.$suffix)) : $up_ht_disc)).'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Discount
|
// Discount
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user