2
0
forked from Wavyzz/dolibarr

Debug v20

This commit is contained in:
Laurent Destailleur
2024-04-24 21:15:45 +02:00
parent ef2ad8b59b
commit a65b31c4cf

View File

@@ -469,15 +469,15 @@ if ($modecompta == 'CREANCES-DETTES') {
// type filter (produit/service) // type filter (produit/service)
$form->select_type_of_lines(isset($selected_type) ? $selected_type : -1, 'search_type', $langs->trans("Type"), 1, 1); $form->select_type_of_lines(isset($selected_type) ? $selected_type : -1, 'search_type', $langs->trans("Type"), 1, 1);
//select thirdparty // Third party filter
print '<br>'; print '<br>';
print img_picto('', 'category', 'class="pictofixedwidth"'); print img_picto('', 'category', 'class="pictofixedwidth"');
print $formother->select_categories(Categorie::TYPE_CUSTOMER, $selected_catsoc, 'search_categ_soc', 0, $langs->trans("CustomersProspectsCategoriesShort")); print $formother->select_categories(Categorie::TYPE_CUSTOMER, $selected_catsoc, 'search_categ_soc', 0, $langs->trans("CustomersProspectsCategoriesShort"));
// type of thirdparty
print '&nbsp;&nbsp;'; // Type of third party filter
print $langs->trans("Type").': '; print '&nbsp; &nbsp;';
$formcompany = new FormCompany($db); $formcompany = new FormCompany($db);
print $form->selectarray("typent_id", $formcompany->typent_array(0), $typent_id, 1); print $form->selectarray("typent_id", $formcompany->typent_array(0), $typent_id, $langs->trans("ThirdPartyType"));
print '<br>'; print '<br>';
print img_picto('', 'company', 'class="pictofixedwidth"'); print img_picto('', 'company', 'class="pictofixedwidth"');