Added function - using list of location_incoterms
Added function to call for list of location_incoterms from the existing order records or table of location_incoterms. Accordingly, an dditional ajex file namely "locationincoterms.php" and a database table namely c_location_incoterms are required.
This commit is contained in:
parent
0d0b147261
commit
b2252106c3
@ -1055,8 +1055,12 @@ class Form
|
||||
}
|
||||
}
|
||||
$out .= '</select>';
|
||||
|
||||
$out .= '<input id="location_incoterms" class="maxwidth100onsmartphone nomargintop nomarginbottom" name="location_incoterms" value="'.$location_incoterms.'">';
|
||||
|
||||
if ($conf->use_javascript_ajax && empty($disableautocomplete = 0)) {
|
||||
$out .= ajax_multiautocompleter('location_incoterms', '', DOL_URL_ROOT.'/core/ajax/locationincoterms.php')."\n";
|
||||
$moreattrib .= ' autocomplete="off"';
|
||||
}
|
||||
$out .= '<input id="location_incoterms" class="maxwidthonsmartphone type="text" name="location_incoterms" value="'.$location_incoterms.'">'."\n";
|
||||
|
||||
if (!empty($page)) {
|
||||
$out .= '<input type="submit" class="button valignmiddle smallpaddingimp nomargintop nomarginbottom" value="'.$langs->trans("Modify").'"></form>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user