Update list.php
This commit is contained in:
parent
800c08e539
commit
a43beaecf4
@ -1387,19 +1387,19 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
// Project ref
|
// Project ref
|
||||||
if (!empty($arrayfields['p.ref']['checked'])) {
|
if (!empty($arrayfields['p.ref']['checked'])) {
|
||||||
print '<td class="liste_titre"><input class="flat maxwidth50imp" type="text" name="search_project_ref" value="'.$search_project_ref.'"></td>';
|
print '<td class="liste_titre"><input class="flat maxwidth50imp" type="text" name="search_project_ref" value="'.dol_escape_htmltag($search_project_ref).'"></td>';
|
||||||
}
|
}
|
||||||
// Project label
|
// Project label
|
||||||
if (!empty($arrayfields['p.title']['checked'])) {
|
if (!empty($arrayfields['p.title']['checked'])) {
|
||||||
print '<td class="liste_titre"><input class="flat maxwidth50imp" type="text" name="search_project" value="'.$search_project.'"></td>';
|
print '<td class="liste_titre"><input class="flat maxwidth50imp" type="text" name="search_project" value="'.dol_escape_htmltag($search_project).'"></td>';
|
||||||
}
|
}
|
||||||
// Thirdparty
|
// Thirdparty
|
||||||
if (!empty($arrayfields['s.nom']['checked'])) {
|
if (!empty($arrayfields['s.nom']['checked'])) {
|
||||||
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company" value="'.$search_company.'"'.($socid > 0 ? " disabled" : "").'></td>';
|
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company" value="'.dol_escape_htmltag($search_company).'"'.($socid > 0 ? " disabled" : "").'></td>';
|
||||||
}
|
}
|
||||||
// Alias
|
// Alias
|
||||||
if (!empty($arrayfields['s.name_alias']['checked'])) {
|
if (!empty($arrayfields['s.name_alias']['checked'])) {
|
||||||
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company_alias" value="'.$search_company_alias.'"></td>';
|
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company_alias" value="'.dol_escape_htmltag($search_company_alias).'"></td>';
|
||||||
}
|
}
|
||||||
// Parent company
|
// Parent company
|
||||||
if (!empty($arrayfields['s2.nom']['checked'])) {
|
if (!empty($arrayfields['s2.nom']['checked'])) {
|
||||||
@ -1409,7 +1409,7 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
// Customer Code
|
// Customer Code
|
||||||
if (!empty($arrayfields['s.code_client']['checked'])) {
|
if (!empty($arrayfields['s.code_client']['checked'])) {
|
||||||
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company_code_client" value="'.$search_company_code_client.'"></td>';
|
print '<td class="liste_titre"><input class="flat maxwidth75imp" type="text" name="search_company_code_client" value="'.dol_escape_htmltag($search_company_code_client).'"></td>';
|
||||||
}
|
}
|
||||||
// Town
|
// Town
|
||||||
if (!empty($arrayfields['s.town']['checked'])) {
|
if (!empty($arrayfields['s.town']['checked'])) {
|
||||||
@ -1476,13 +1476,13 @@ if ($resql) {
|
|||||||
if (!empty($arrayfields['f.total_localtax1']['checked'])) {
|
if (!empty($arrayfields['f.total_localtax1']['checked'])) {
|
||||||
// Localtax1
|
// Localtax1
|
||||||
print '<td class="liste_titre right">';
|
print '<td class="liste_titre right">';
|
||||||
print '<input class="flat" type="text" size="4" name="search_montant_localtax1" value="'.$search_montant_localtax1.'">';
|
print '<input class="flat" type="text" size="4" name="search_montant_localtax1" value="'.dol_escape_htmltag($search_montant_localtax1).'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['f.total_localtax2']['checked'])) {
|
if (!empty($arrayfields['f.total_localtax2']['checked'])) {
|
||||||
// Localtax2
|
// Localtax2
|
||||||
print '<td class="liste_titre right">';
|
print '<td class="liste_titre right">';
|
||||||
print '<input class="flat" type="text" size="4" name="search_montant_localtax2" value="'.$search_montant_localtax2.'">';
|
print '<input class="flat" type="text" size="4" name="search_montant_localtax2" value="'.dol_escape_htmltag($search_montant_localtax2).'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['f.total_ttc']['checked'])) {
|
if (!empty($arrayfields['f.total_ttc']['checked'])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user