Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
commit
feabb34a42
@ -333,10 +333,6 @@ if (empty($reshook)) {
|
|||||||
$filter['t.numero_compte<='] = $search_accountancy_code_end;
|
$filter['t.numero_compte<='] = $search_accountancy_code_end;
|
||||||
$param .= '&search_accountancy_code_end='.urlencode($search_accountancy_code_end);
|
$param .= '&search_accountancy_code_end='.urlencode($search_accountancy_code_end);
|
||||||
}
|
}
|
||||||
if (!empty($search_accountancy_aux_code)) {
|
|
||||||
$filter['t.subledger_account'] = $search_accountancy_aux_code;
|
|
||||||
$param .= '&search_accountancy_aux_code='.urlencode($search_accountancy_aux_code);
|
|
||||||
}
|
|
||||||
if (!empty($search_accountancy_aux_code_start)) {
|
if (!empty($search_accountancy_aux_code_start)) {
|
||||||
$filter['t.subledger_account>='] = $search_accountancy_aux_code_start;
|
$filter['t.subledger_account>='] = $search_accountancy_aux_code_start;
|
||||||
$param .= '&search_accountancy_aux_code_start='.urlencode($search_accountancy_aux_code_start);
|
$param .= '&search_accountancy_aux_code_start='.urlencode($search_accountancy_aux_code_start);
|
||||||
@ -533,14 +529,12 @@ if (count($filter) > 0) {
|
|||||||
$sqlwhere[] = $key.'=\''.$db->idate($value).'\'';
|
$sqlwhere[] = $key.'=\''.$db->idate($value).'\'';
|
||||||
} elseif ($key == 't.doc_date>=' || $key == 't.doc_date<=') {
|
} elseif ($key == 't.doc_date>=' || $key == 't.doc_date<=') {
|
||||||
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
|
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
|
||||||
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=') {
|
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=' || $key == 't.subledger_account>=' || $key == 't.subledger_account<=') {
|
||||||
$sqlwhere[] = $key.'\''.$db->escape($value).'\'';
|
$sqlwhere[] = $key.'\''.$db->escape($value).'\'';
|
||||||
} elseif ($key == 't.fk_doc' || $key == 't.fk_docdet' || $key == 't.piece_num') {
|
} elseif ($key == 't.fk_doc' || $key == 't.fk_docdet' || $key == 't.piece_num') {
|
||||||
$sqlwhere[] = $key.'='.$value;
|
$sqlwhere[] = $key.'='.$value;
|
||||||
} elseif ($key == 't.numero_compte') {
|
} elseif ($key == 't.subledger_account' || $key == 't.numero_compte') {
|
||||||
$sqlwhere[] = $key.' LIKE \''.$db->escape($value).'%\'';
|
$sqlwhere[] = $key.' LIKE \''.$db->escape($value).'%\'';
|
||||||
} elseif ($key == 't.subledger_account') {
|
|
||||||
$sqlwhere[] = natural_search($key, $value, 0, 1);
|
|
||||||
} elseif ($key == 't.date_creation>=' || $key == 't.date_creation<=') {
|
} elseif ($key == 't.date_creation>=' || $key == 't.date_creation<=') {
|
||||||
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
|
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
|
||||||
} elseif ($key == 't.tms>=' || $key == 't.tms<=') {
|
} elseif ($key == 't.tms>=' || $key == 't.tms<=') {
|
||||||
|
|||||||
@ -8,12 +8,12 @@ FONTFORPDF=helvetica
|
|||||||
FONTSIZEFORPDF=10
|
FONTSIZEFORPDF=10
|
||||||
SeparatorDecimal=,
|
SeparatorDecimal=,
|
||||||
SeparatorThousand=Space
|
SeparatorThousand=Space
|
||||||
FormatDateShort=%m/%d/%Y
|
FormatDateShort=%d-%m-%Y
|
||||||
FormatDateShortInput=%m/%d/%Y
|
FormatDateShortInput=%d-%m-%Y
|
||||||
FormatDateShortJava=MM/dd/yyyy
|
FormatDateShortJava=dd-MM-yyyy
|
||||||
FormatDateShortJavaInput=MM/dd/yyyy
|
FormatDateShortJavaInput=dd-MM-yyyy
|
||||||
FormatDateShortJQuery=mm/dd/yy
|
FormatDateShortJQuery=dd-mm-yy
|
||||||
FormatDateShortJQueryInput=mm/dd/yy
|
FormatDateShortJQueryInput=dd-mm-yy
|
||||||
FormatHourShortJQuery=HH:MI
|
FormatHourShortJQuery=HH:MI
|
||||||
FormatHourShort=%I:%M %p
|
FormatHourShort=%I:%M %p
|
||||||
FormatHourShortDuration=%H:%M
|
FormatHourShortDuration=%H:%M
|
||||||
|
|||||||
@ -233,7 +233,7 @@ if (empty($reshook)) {
|
|||||||
if ($user->rights->produit->creer || $user->rights->service->creer) {
|
if ($user->rights->produit->creer || $user->rights->service->creer) {
|
||||||
print '<a class="butAction" href="' . DOL_URL_ROOT . '/product/traduction.php?action=add&token='.newToken().'&id=' . $object->id . '">' . $langs->trans("Add") . '</a>';
|
print '<a class="butAction" href="' . DOL_URL_ROOT . '/product/traduction.php?action=add&token='.newToken().'&id=' . $object->id . '">' . $langs->trans("Add") . '</a>';
|
||||||
if ($cnt_trans > 0) {
|
if ($cnt_trans > 0) {
|
||||||
print '<a class="butAction" href="' . DOL_URL_ROOT . '/product/traduction.php?action=edit&token='.newToken().'&id=' . $object->id . '">' . $langs->trans("Update") . '</a>';
|
print '<a class="butAction" href="' . DOL_URL_ROOT . '/product/traduction.php?action=edit&token='.newToken().'&id=' . $object->id . '">' . $langs->trans("Modify") . '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -768,7 +768,7 @@ function ModalBox(ModalID)
|
|||||||
|
|
||||||
function DirectPayment(){
|
function DirectPayment(){
|
||||||
console.log("DirectPayment");
|
console.log("DirectPayment");
|
||||||
$("#poslines").load("invoice.php?place="+place+"&action=valid&pay=<?php echo $langs->trans("cash"); ?>", function() {
|
$("#poslines").load("invoice.php?place="+place+"&action=valid&pay=LIQ", function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -568,7 +568,7 @@ if (empty($reshook)) {
|
|||||||
if ($ret > 0) {
|
if ($ret > 0) {
|
||||||
$log_action = $langs->trans('TicketInitialMessageModified')." \n";
|
$log_action = $langs->trans('TicketInitialMessageModified')." \n";
|
||||||
// include the Diff class
|
// include the Diff class
|
||||||
dol_include_once('/ticket/class/utils_diff.class.php');
|
dol_include_once('/core/class/utils_diff.class.php');
|
||||||
// output the result of comparing two files as plain text
|
// output the result of comparing two files as plain text
|
||||||
$log_action .= Diff::toString(Diff::compare(strip_tags($oldvalue_message), strip_tags($object->message)));
|
$log_action .= Diff::toString(Diff::compare(strip_tags($oldvalue_message), strip_tags($object->message)));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user