Suppliers invoice payment list
This commit is contained in:
parent
e48350fdc1
commit
64b9299eb6
@ -458,6 +458,15 @@ if (empty($action))
|
|||||||
$search_paymenttype=GETPOST('search_paymenttype');
|
$search_paymenttype=GETPOST('search_paymenttype');
|
||||||
$search_amount=GETPOST('search_amount');
|
$search_amount=GETPOST('search_amount');
|
||||||
$search_company=GETPOST('search_company');
|
$search_company=GETPOST('search_company');
|
||||||
|
|
||||||
|
if (GETPOST("button_removefilter"))
|
||||||
|
{
|
||||||
|
$search_ref="";
|
||||||
|
$search_account="";
|
||||||
|
$search_paymenttype="";
|
||||||
|
$search_amount="";
|
||||||
|
$search_company="";
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT p.rowid as pid, p.datep as dp, p.amount as pamount, p.num_paiement,';
|
$sql = 'SELECT p.rowid as pid, p.datep as dp, p.amount as pamount, p.num_paiement,';
|
||||||
$sql.= ' s.rowid as socid, s.nom as name,';
|
$sql.= ' s.rowid as socid, s.nom as name,';
|
||||||
@ -548,8 +557,9 @@ if (empty($action))
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<input class="fat" type="text" size="4" name="search_amount" value="'.$search_amount.'">';
|
print '<input class="fat" type="text" size="4" name="search_amount" value="'.$search_amount.'">';
|
||||||
print '<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" alt="'.$langs->trans("Search").'">';
|
print '<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">';
|
||||||
print '</td>';
|
print '<input type="image" class="liste_titre" name="button_removefilter" src="'.img_picto($langs->trans("Search"),'searchclear.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'" title="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'">';
|
||||||
|
print '</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
while ($i < min($num,$limit))
|
while ($i < min($num,$limit))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user