New filter for Signed+Billed in proposals

New filter for Signed+Billed in proposals
This commit is contained in:
Josep Lluís 2022-12-21 13:17:18 +01:00 committed by GitHub
parent 4dc9583607
commit c033a4778e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,14 @@ class FormPropal
print '</option>';
$i++;
}
//Option for Signed+Billed
if ($selected != '' && $selected == "2,4") {
print '<option value="2,4" selected>';
} else {
print '<option value="2,4">';
}
print ($langs->trans($prefix.'Signed'.($short ? 'Short' : '')).'+'.$langs->trans($prefix.'Billed'.($short ? 'Short' : '')));
print '</option>';
print '</select>';
print ajax_combobox($htmlname, array(), 0, 0, 'resolve', ($showempty < 0 ? (string) $showempty : '-1'), $morecss);